Skip to content

Commit 3010e95

Browse files
committed
Merge branch 'joshthoward/do-docs' of github.com:cloudflare/cloudflare-docs into joshthoward/do-docs
2 parents a8cc386 + 76f073c commit 3010e95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/content/docs/durable-objects/api/alarms.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ Alarms can be used to build distributed primitives, like queues or batching of w
3939

4040
- <code>getAlarm()</code>: <Type text ='number | null' />
4141

42-
- If there is an alarm set, then return the currently set alarm time in number of milliseconds elapsed since the UNIX epoch. Otherwise, return `null`.
42+
- If there is an alarm set, then return the currently set alarm time as the number of milliseconds elapsed since the UNIX epoch. Otherwise, return `null`.
4343

4444
### setAlarm
4545

4646
- <code> setAlarm(scheduledTimeMs <Type text="number" />)</code>: <Type text="void" />
4747

48-
- Set the time for the alarm to run at in number of milliseconds elapsed since the UNIX epoch.
48+
- Set the time for the alarm to run. Specify the time as the number of milliseconds elapsed since the UNIX epoch.
4949

5050
### deleteAlarm
5151

src/content/docs/durable-objects/api/storage-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Each method is implicitly wrapped inside a transaction, such that its results ar
100100

101101
* <code>deleteAll(options <Type text='Object' /> <MetaInfo text='optional' />)</code>: <Type text='Promise' />
102102

103-
* Deletes all stored data, effectively deallocating all storage used by the Durable Object. For Durable Objects with a key-value storage backend, `deleteAll()` removes all keys and associated values for an individual Durable Object. For Durable Objects with a [SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend), `deleteAll()` removes the entire contents of a Durable Object's private SQLite database.
103+
* Deletes all stored data, effectively deallocating all storage used by the Durable Object. For Durable Objects with a key-value storage backend, `deleteAll()` removes all keys and associated values for an individual Durable Object. For Durable Objects with a [SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend), `deleteAll()` removes the entire contents of a Durable Object's private SQLite database, including both SQL data and key-value data.
104104
* For Durable Objects with a key-value storage backend, an in-progress `deleteAll()` operation can fail, which may leave a subset of data undeleted. Durable Objects with a SQLite storage backend do not have a partial `deleteAll()` issue because `deleteAll()` operations are atomic (all or nothing).
105105
* `deleteAll()` does not proactively delete [Alarms](/durable-objects/api/alarms/). Use [`deleteAlarm()`](/durable-objects/api/alarms/#deletealarm) to delete an alarm.
106106

0 commit comments

Comments
 (0)