1602 / jugglingdb

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

Composite primary keys / composite foreign keys #465

Open haroldo-ok opened 4 years ago

haroldo-ok commented 4 years ago

This does not seem to be mentioned in the documentation, and a quick Google search only points to an unanswered Stack Overflow question from 2014.

The question is: does JugglingDB support composite keys, both for PKs and for relations?

I'm making that question because we will have to connect to FB dialect 1 databases from a legacy system; in fact, the new system is meant to run alongside it, so, any major database refactorings are out of question.