The only feature missing is delete/update with filter. If you would like to let say delete all messages older than certain date you have to fetch the list of messages then delete them one per request base on their id. I know you can write a function that takes an array and do it in the background but why
i am getting this error - Uncaught TypeError: Failed to resolve module specifier "appwrite". Relative references must start with either "/", "./", or "../".
I'm frontend developer i didn't know about backend recently I'm working with appwrite I just face one and huge problem i have create db and collection my all data access able to all user who login but i don't want it i want just who create post that user can be access their own post not everyone's post how I can do it?
You would need to set document level permissions when creating documents. So in your collection settings you would need to set "Permissions" to "Users", and only give users "create" and maybe "read" access if you want others to still be able to read post. Then, when creating each post, you would need to give only selected users permission to access the post, this can be done as the 4th parameter in the "createDocument" method. For example: import {Permissions} from 'appwrite' databases.createDocument( DATABASE_ID, COLLECTION_ID, ID.unique(), payload, [Permission.write(Role.user(user.$id))] ) I plan on creating a video on this soon for the channel but you can find an example of me implementing this in this video (timestamped to section): ua-cam.com/video/t7S0I78sloI/v-deo.htmlfeature=shared&t=7610 Please let me know if this helps - Dennis Ivy
Appwrite is a backend as a service platform. Basically, all of your backend needs such as a database, file storage, authentication, etc. If you are familiar with firebase you can compare us to that, only we are fully open source. You're question gives me an idea for a video - Dennis Ivy
What are you doing here man? I am glad you joined!!
Started at Appwrite this September. I'll be making a lot of videos here :)
Thanks😊 please publish more vídeos. For example how to run function with python scripts
That's on the schedule already :)
thank s bro.this video made me very obviously to master appwrite CRUD in very fast fast fast way thank again brother
love it! appwrite looks fine as hell..
The only feature missing is delete/update with filter. If you would like to let say delete all messages older than certain date you have to fetch the list of messages then delete them one per request base on their id. I know you can write a function that takes an array and do it in the background but why
Great ❤
Going to try it on my next personal project 🎉🎉🎉
Love it! - Dennis Ivy
@@Appwrite thanks for this amazing crisp clear and short tutorial. ❤️
Waiting for more🎉🎉🎉
you are the best
Much appreciated 😁- Dennis Ivy
How to get in one request data that united with relations?
i am getting this error - Uncaught TypeError: Failed to resolve module specifier "appwrite". Relative references must start with either "/", "./", or "../".
如何让数据库拥有typescript类型支持?
I'm frontend developer i didn't know about backend recently I'm working with appwrite I just face one and huge problem i have create db and collection my all data access able to all user who login but i don't want it i want just who create post that user can be access their own post not everyone's post how I can do it?
You would need to set document level permissions when creating documents.
So in your collection settings you would need to set "Permissions" to "Users", and only give users "create" and maybe "read" access if you want others to still be able to read post. Then, when creating each post, you would need to give only selected users permission to access the post, this can be done as the 4th parameter in the "createDocument" method. For example:
import {Permissions} from 'appwrite'
databases.createDocument(
DATABASE_ID,
COLLECTION_ID,
ID.unique(),
payload,
[Permission.write(Role.user(user.$id))]
)
I plan on creating a video on this soon for the channel but you can find an example of me implementing this in this video (timestamped to section): ua-cam.com/video/t7S0I78sloI/v-deo.htmlfeature=shared&t=7610
Please let me know if this helps - Dennis Ivy
@@Appwrite Thank you, sir ❤️❤️ You should also create videos with collection-level and document-level permissions.
Can you please make video on Appwrite integration with Flutterflow
That’s. Good suggestion, I’ll have to look into it - Dennis Ivy
@Appwrite thanks. Flutterflow recently launched custom backend integration option. For non-developers, Appwrite + Flutterflow, will be highly beneficial.
What exactly is appwrite?
Appwrite is a backend as a service platform. Basically, all of your backend needs such as a database, file storage, authentication, etc. If you are familiar with firebase you can compare us to that, only we are fully open source.
You're question gives me an idea for a video - Dennis Ivy