Skip to content

Commit 720a685

Browse files
committed
Removing docs where it said raw() can also return
one(), which is incorrect.
1 parent 9b2f820 commit 720a685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ A cursor (`SqlStorageCursor`) to iterate over query row results as objects. `Sql
125125
* Returns a row object if query result has exactly one row. If query result has zero rows or more than one row, `one()` throws an exception.
126126
* `raw()`: <Type text='Iterator' />
127127
* Returns an Iterator over the same query results, with each row as an array of column values (with no column names) rather than an object.
128-
* Returned Iterator supports `next()`, `toArray()`, and `one()` methods above.
128+
* Returned Iterator supports `next()` and `toArray()` methods above.
129129
* Returned cursor and `raw()` iterator iterate over the same query results and can be combined. For example:
130130

131131
```ts

0 commit comments

Comments
 (0)