node.js - Dynamic ORM in MySQL and other databases? -
the problem have various orm modules available databases mysql , mongodb inability keep model information coupled database itself.
i want able add model orm setup @ runtime via administrative http interface , give fields may ascribed various predefined data types (like 'email' or 'telephone number'). possibly contentious feature i'm after ability cast field data type has been defined user model.
is me trying have cake , eat it? can see way of implementing this? orm modules i've seen far require instantiating models @ application level, before runtime.
it's worth mentioning i'm hoping implement in node environment (not classic lamp setup).
edit:
i take lack of community bite may have stumbled object-relational impedance mismatch issue here?
if solution depends on multiple drivers, can try light-orm. simple wrapper relations dbs.
Comments
Post a Comment