Skip to content

Commit 9d37df2

Browse files
committed
Adding type for bookmark
1 parent c07415e commit 9d37df2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/docs/d1/worker-api/d1-database.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,4 +281,5 @@ return { bookmark } = session.getBookmark();
281281

282282
#### Return values
283283

284-
-
284+
- <code>bookmark</code>: <Type text="String | null"/>
285+
- A [`bookmark`](/d1/reference/time-travel/#bookmarks) which identifies the latest version of the database seen by the write query.

0 commit comments

Comments
 (0)