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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...