Is there a .now() from the DB server time, possibility when creating a document on maybe an attribute (created_at) ?
Getting this from client is not reliable. Spinning a cloud function for this is not ok.
The underlying mysql DB has this option build in, just wanted to know if it can be used.
Every Document has a $createdAt
and $updatedAt
parameter
Did eventually found this. But this is not available to sort elements into the console (admin) right ?
Also could not really find the 2 in the docs. 👀
Found them on GitHub
You can’t currently sort in the Console, but you can have it sorted with listDocuments
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...