coresmart / persistencejs

persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
http://persistencejs.org
1.73k stars 240 forks source link

Delete on cascade #171

Open lereibol opened 9 years ago

lereibol commented 9 years ago

Hi everybody,

I would like to know if it is possible using "On delete cascade" with persistence.js. So if you delete an entity, the related entities are also deleted automatically.

Thanks in advance.

Mikel

nixoschu commented 9 years ago

I was searching for the same thing, waiting patiently for an answer :)