-
Notifications
You must be signed in to change notification settings - Fork 38
How to make a join statement #72
Comments
so there's no way to make a relationship that's not based on the id colum of a table? |
I think you can specify the join columns
|
can you tell where it's explained? because it's not specified anywhere which are the acceptable arguments for the optional dictionary of the HASONE / HASMANY / etc class variables I used the line as shown in the example:
but I can't specify which is the column in the Comment class i want to join in the User class (named user_id as well) can I use this like shown in this ruby-on-rails example i found on Stackfoverflow?
Thanks for your support |
Hi, I read the documentation but there's no sign how to make a join statement (or using implicit notation, select from two different tables using a where clause). is there a proper way rather than directly with low level sql statements?
The text was updated successfully, but these errors were encountered: