3 ms·
would it be possible to build an extension to expose a mongo compatible interface in postgres - essentially being able to use all the ORM/code built around mong
by sandGorgon 14y ago
would it be possible to build an extension to expose a mongo compatible interface in postgres - essentially being able to use all the ORM/code built around mongo for postgres, seamlessly.
- lucian1900 14y agoYes, but why bother? There are already so many good SQL clients out there, like SQLAlchemy.
- sandGorgon 14y agothere are many apps built around mongodb that it would be interesting to do a drop-in swap with postgres (assuming protocol compatibility). hell, ill personally pay a lot to have a mysql compliant interface just for WordPress!
- lucian1900 14y agoI see, that motivation makes more sense to me :-) I guess it should be possible to write a wrapper that executed at isolation level "single".
- grncdr 14y agoYes, I don't think it would even be that difficult if you used plv8js, but it would (probably?) be relatively slow.