expo/entity

Throw error when more than one entity is deleted or updated

wschurman opened this issue · 0 comments

While deletes happen by entity ID, there's no way to guarantee at the framework level that the field specified in the entity definition is unique or an ID.

One way we could do this is by ensuring that updates and deletes only affect a single row in the database adapter, and throwing otherwise.