But From my experience the database module in client side is good for pure CURD methods and the only dynamic option you have is permission based
Maybe it has and I missed something
And I think CRUD is just probably the only thing needed for most use-cases
Wym?
That most apps, except for specific tasks, they just make CRUD. For example social networks or discord. Create/read/update/delete messages
Ohh I got it
What do happens is that any document created by any user get this
By default, only the current user is granted all permissions
So you be able to block other users edit of the document
But that is only from a permissions aspect and it won't be possible to prevent your userid being falsified
Yes, but for example, in discord how do you see who created the message. If you get the message and add a field where there is the user ID, I could create a message and put in such field your user ID so then it will appear as the message was created by you
https://appwrite.io/docs/client/databases?sdk=web-default#databasesListDocuments
I can't find anything related, maybe it's possible, but doesn't seems to
Hey @D5 seems like this could be a feature request - let me check if anything regarding this is already put up on our github, if not, do you mind opening a github issue? this way it gets prioritized more!
Ok, so confirmed that it's not possible to get the user that created it at this moment?
Created. Don't forget to 👍 if you think it's needed
thanks!
https://github.com/appwrite/appwrite/discussions/3773 That could solve it temporarily
Who is what @Binyamin said, making it through a function
Yep, was gonna send it to you - so, yeah no we dont have that right now but
also
take a look here: https://github.com/appwrite/appwrite/issues/3623
Didn't found that. I will close the other issue to prevent duplicate
You can just leave a comment closing because backlinking this - and probably upvote 3623 and leave a comment there?
That's what I've made
Liked the other issue
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- 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...