FeatureFuel
3

New collection functions for server side (CreateCollectionRule,UpdateCollectionRule,DeleteCollectionRule)

Source: appwrite/appwrite#1620 · opened by @mbos2
Hello everyone. I would like to propose new functions for collections on appwrite server side (node-appwrite). Recap of current update behaviour This is updateCollection function with all parameters except list And for example Currently, to update a collection that already has rules in place would require a user to insert currently existing rules along with new ones, like shown in the example, because function completelly rewrites a collection based on parameters. • Same or similar example code applies when user wants to delete a rule. • Same or similar example code applies when user wants to change a name of Collection as well. Use case With current behaviour user needs to constantly repeat rules he wants to keep in the collection when updating it in any way. This makes user write a lot of repetitive code when writing database migrations for collection(s) or just updating collection in general. In case of larger collections, writing such migrati…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests