You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can declare some members of a table class as "foreign keys", i.e. instead of an actual column in a table they're references to another relation-table. For example:
We can declare some members of a table class as "foreign keys", i.e. instead of an actual column in a table they're references to another relation-table. For example:
A
persons
table:A
Person
class:Here,
photos
is a reference topersons_photos
relation table:So expressing this relation would look like:
This way, whenever we do
Person.table.get(personId)
- it also queries all photos.The text was updated successfully, but these errors were encountered: