From 720a685f668f75f8de11fbd9ad2b74d6d5dba0bc Mon Sep 17 00:00:00 2001 From: Jun Lee Date: Wed, 23 Apr 2025 09:28:26 +0100 Subject: [PATCH] Removing docs where it said raw() can also return one(), which is incorrect. --- src/content/docs/durable-objects/api/storage-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/durable-objects/api/storage-api.mdx b/src/content/docs/durable-objects/api/storage-api.mdx index 359925ced69b9f3..d63abdadbadab04 100644 --- a/src/content/docs/durable-objects/api/storage-api.mdx +++ b/src/content/docs/durable-objects/api/storage-api.mdx @@ -125,7 +125,7 @@ A cursor (`SqlStorageCursor`) to iterate over query row results as objects. `Sql * 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. * `raw()`: * 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. - * Returned Iterator supports `next()`, `toArray()`, and `one()` methods above. + * Returned Iterator supports `next()` and `toArray()` methods above. * Returned cursor and `raw()` iterator iterate over the same query results and can be combined. For example: ```ts