|
@@ -322,7 +322,7 @@ Output:
|
322
|
322
|
|
323
|
323
|
## Relations
|
324
|
324
|
|
325
|
|
-The explanation of this feature is based on the data structure from the ```blog.sql``` database file. This database is a very simple blog data structure with corresponding foreign key relations between the tables.
|
|
325
|
+The explanation of this feature is based on the data structure from the ```blog.sql``` database file. This database is a very simple blog data structure with corresponding foreign key relations between the tables. These foreign key constraints are required as the relationship detection is based on them, not on column naming.
|
326
|
326
|
|
327
|
327
|
You can get the "post" that has "id" equal to "1" with it's corresponding "categories", "tags" and "comments" using:
|
328
|
328
|
|