mysql - How to use join query in node-orm2? -
have join query fetch data 2 tables based on join condition,
select * table1 join table2 on table1.id = table2.id col2>20;
- id not primary key.
how convert orm statement in node-orm2? sequence of select queries may make it, want join operation optimal.
thanks.
Comments
Post a Comment