-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature: "createdAt" and "updatedAt" fields in documents #3011
Comments
+99 |
Having such fields help developers from the need of creating functions and avoid recursion issue. |
As mentioned here #3018 We are also thinking about supporting some syntax similar to All is still just an idea on paper, and anything can change. To keep up to date, join our Discord as we post weekly updates in there about what we work on. |
This is an excellent idea. I highly recommend doing this. |
Hi @dedonnodev , This feature is now supported with the latest release 0.15 . |
Please also allow us to edit/modify $createdAt attribute because it is very painful when we migrate from another database like firebase, supabase...etc |
I am so disappointed because Appwrite account.createOAuth2Session('google'); is not supported in react native. Any plan for future. I was migrating to Appwrite but because of incompatibility I am again switching to firebase 馃ゲ |
馃敄 Feature description
Two timestamp fields for every document for know when this was created or was updated.
馃帳 Pitch
I started to use a function to handle this, triggering it with document.create and document.update.
But it goes in loop when has to update the "updatedAt" field, because every time it updates the field, triggers itself.
So, since i think this two fields are often used (for sort from most recent/updated for example), i think it would be an awesome idea have them "defaults" and handled by appwrite.
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: