I have some documents being created every day.
How I could get all the documents created based on the day?
Hi ! I think you can do like this:
Compare the beginning of the $createdAt attribute with today's date, for example:
Query.startsWith("$createdAt", "2023-08-12")
I've thought createdAt wasn't an attribute...
Will check, thanks
Humm
Seems yes, will try
@XaFigg Thanks, it works perfectly as supposed. Thanks again! :appwritepeepo:
[SOLVED] Query all documents made a day
Perfect 😁
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...