You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to offload the task of querying items in a collection and then performing batch delete operations to ElectroDB. In a multi-tenant application, I model the tenant as a collection of entities (tenant-metadata, tenant-members, tenant-invitations, etc...), all of which would be deleted to remove a tenant. A simple helper would be a nice-to-have feature.
The text was updated successfully, but these errors were encountered:
The library avoid performing two part fetch/act actions (in this case query then batchWrite) to avoid abstractions that obscure atomic/non-atomic operations. DynamoDB is already a difficult database to build abstractions on top of, due to the wide variety of implementations seen in the wild, so with ElectroDB I try to focus on improving the DX of the core functionality so folks can use the library as a more effective building block.
It would be nice to offload the task of querying items in a collection and then performing batch delete operations to ElectroDB. In a multi-tenant application, I model the tenant as a collection of entities (tenant-metadata, tenant-members, tenant-invitations, etc...), all of which would be deleted to remove a tenant. A simple helper would be a nice-to-have feature.
The text was updated successfully, but these errors were encountered: