-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
Description
Some incremental improvements to the Adapter:
- Logical operators in
find(Adapter find options additions #186). -
Add support for singular IDs, just a small opt-in improvement to aid usability.no longer needed due to new instance methods. - Add support for update & delete queries.
Regarding the last point, it could be like:
adapter.update(type, [ {
// If ID is missing, expect options.
options: {
// Re-use `find` method options.
},
replace: { ... },
push: { ... },
pull: { ... },
operate: { ... }
} ])Delete API:
adapter.delete(type, [ {
// Re-use `find` method options.
} ])