Description
Hi, I don't know what I'm doing wrong but when attempting to use this query:
const result = await req.env.cosmos.queryDocuments<Listing>({ collId: "listings", query: `SELECT * FROM c` });
I am getting this result:
{
"response": {
"webSocket": null,
"url": "https://REDACTED.documents.azure.com/dbs/REDACTED/colls/listings/docs",
"redirected": false,
"ok": false,
"headers": {},
"statusText": "Bad Request",
"status": 400,
"bodyUsed": false,
"body": {
"locked": false
}
},
"itemsProperty": "Documents"
}
Note: I replaced sensitive info with REDACTED.
Is this a bug with this sdk or is there something I am doing wrong?
Metadata
Metadata
Assignees
Labels
No labels