Can I do
table.relationship.filter( column = value )
to get a subset of rows for relationships? and the same for order_by?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
According to the
relationship()documentation, you can useorder_bykeyword argument withrelationships, to set the order that will be returned. On the same page, it mentions that you can also useprimaryjoinkeyword argument to define extra join parameters. I think that can be used for the filter you want.Example: