mosql icon indicating copy to clipboard operation
mosql copied to clipboard

How to implement Foreign Key?

Open ShipraShalini opened this issue 8 years ago • 2 comments

I have two collections in same mongo db. I wish to create two PostgreSQL tables using those (using the contents from both collections in both tables) and I want _id of the first as foreign key in the other table. Can it be done? Can you please share sample .YAML file for this?

ShipraShalini avatar Feb 26 '16 10:02 ShipraShalini

@ShipraShalini I have the same query, did you find a solution?

aligajani avatar Apr 04 '16 18:04 aligajani

There appears to be no support for Foreign Keys.

stewart-hector-whoknows avatar Apr 22 '16 20:04 stewart-hector-whoknows