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
- How to use appwrite types
I am using appwrite types --language ts ./types to generate the types yielding something like: ``` import type { Models } from 'node-appwrite'; // This file i...
 - Invalid query: Attribute not found in sc...
Hiya. I'm trying to use the REST API with documents and doing a simple select with query: https://<mydomain>/v1/databases/<database>/collections/<collection>/d...
 - Query.contains not supported on Cloud?
I try to filter a row which contain a string inside a string array column, however I get the following error: ``` {"name":"AppwriteException","code":400,"type"...