jxmono / crud

:fork_and_knife: CRUD for mono
MIT License
0 stars 1 forks source link

Crud object format mismatch #23

Closed gabipetrovay closed 10 years ago

gabipetrovay commented 11 years ago

There are the following use cases:

  1. Create - this requires a document
  2. Update - this requires an object with update operators.

The documentation does not specify:

ottiker commented 11 years ago

For both, insert and update, the data must be sent in "d". A insert object is saved as it comes only for updating a sub-document the keys must be flatten.

gabipetrovay commented 11 years ago

We should specify these in the Readme. And this means that this is an issue in bind-form.