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
- 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...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly