1602 / jugglingdb

Multi-database ORM for nodejs: redis, mongodb, mysql, sqlite3, postgresql, arango, in-memory...
http://1602.github.io/jugglingdb/
2.04k stars 242 forks source link

Added extend function #304

Closed coderbuzz closed 10 years ago

coderbuzz commented 11 years ago

In case we don't use underscore, extend purpose is merge two object attributes.

Used in my AbstractClass.findOrCreate proposal.

coderbuzz commented 11 years ago

Maybe you have a better implementation of the merge function please.