sqfEntity
sqfEntity copied to clipboard
Querying data from two different tables
I have two tables table a and table b with same primary Key.
while writing select() query, i need to fetch data from both the tables and show all the data as a single output.
How can i do this?
Why don't you try using a one-to-one relationship from table b to a if they have the same primary keys?
So, you can reach the table b fields through table a like this: tableA.tableB.field