CodeIgniter Forums

Full Version: Database relationships
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

When using one of the following relationships between models ;
  • one to one
  • many to one
  • one to many

If I would like my query to return all records including the relations is this statement true or false?

Statement:
All three types use a single JOIN clause to return all records including the relations
True (IMHO)