Got some questions that involve the developer experience with collections. Does Appwrite have support for Object relation mapping (ORM) or are there examples that help you work with your database more easily by automating the process of translating data between your code and the database. Or Is there a way to make type-safe queries to catch errors early on, making it easier to write and maintain code, and ensuring that your queries are accurate and have the right data types for each field.
You would need to create the types yourself.
There isn't any custom type checking for queries yet. Feel free to 👍 https://github.com/appwrite/sdk-generator/issues/581
Done
oh and for creating types, I usually use this as a starting point: https://app.quicktype.io/
[SOLVED] DX for database collections
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...