dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

use keyProperties in removeInstance to keep column names when using mapsTo #734

Open vas3a opened 7 years ago

vas3a commented 7 years ago

instance.remove does not work when using mapsTo, here's a pull request to fix it.

dxg commented 7 years ago

Cool. Could you please add some tests?