dresende / node-orm2

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

about model get why if model not existed return error? #559

Open lonso opened 10 years ago

lonso commented 10 years ago

In my work,i see many times of find by id has no model, then orm throw err; why we don't return null or {} if the orm find by id not existed?