1602/express-on-railway — Issue #71: Pluggable full featured ORMs?
Author: arvindcr
Created: 2011-11-27 21:30:00+00:00
State: open

Could we have ability to use custom ORM? Define schema.js in custom format, and allow ORM to handle DB schema sync / queries etc?

This would break the write once / run on any DB philosophy, but people don't switch DBs often any way, and it would allow for use of full features of DB and not be constrained to least common denominator.

Just found a powerful ORM for MySql - Moose - build on top of node-mysql driver. It has support for transactions, custom sql, pre/post create/update/select/delete events (to for example update memcache, and much more.

Would be great to be able to use it with railway.