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
- Relations within the same table
Hello, I'm currently building a sort of dictionary (a literal one) and thus I need words (which is one single table of words in my database) to be able to have ...
- [SOLVED] Query.search() returning all ro...
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...