johnlemon
johnlemon

Reputation: 21479

Qcubed Left Join

How Can I make a left join in qcode/qcubed and select fields from both tables. ( no FK exists but there are fields that are logical to join ).

Upvotes: 0

Views: 171

Answers (1)

Alex Weinstein
Alex Weinstein

Reputation: 9891

You can define foreign key relationships without explicit foreign keys in the database - see http://examples.qcu.be/assets/_core/php/examples/code_generator/script_path.php.

If the above is not possible, I'd write a custom SQL query in that case.

Upvotes: 2

Related Questions