Hi! ππ»
I have like 800 documents in a collection. Let's say I'd like to get the document at index 271, without having to retrieve all documents. Is that possible by using built in Appwrite SDK functionality? Or should a make an integer attribute storing an index number?
Thanks for reading! π
I don't believe appwrite uses an incrementing id for the documents. So there wouldn't be a way to get the 271st document out of the box. You can add your own id column and use something like a function to set that column on document insertion. You can then put an index on that column so you can filter down to it using appwrite queries.
Thanks for confirming! ππ» I thought maybe I'm overlooking something. I'll go that route. π
Recommended threads
- IMPORTANT! SOC-2 Request Failing
Issue requesting SOC-2. If tried other/private browser as well as filling in optional fields.
- Can you suppress row $meta data?
When using listRows with a 'select' query to limit the response [for performance], I'm still getting extra columns (eg. `$id`, `$sequence`, `$createdAt`, `$upda...
- CLI - get Database Totals
Is there a way with the Appwrite CLI to get table row totals (count)β