light-orm
light-orm copied to clipboard
Simple ORM node.js wrapper for relational databases. It do not depends on any specific driver, so you can connect to mysql, ms server and so on
I would like to be able to extend another collections and models. YoutubeCollection = VideoCollection.extend({ });
I should be able to configure driver. ORM.configure({ connection: connection, autoReconnect: true });
Add reconnect option. function handleDisconnect() { connection = mysql.createConnection(db_config); // Recreate the connection, since // the old one cannot be reused. connection.connect(function(err) { // The server is either down if(err)...