Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joins #1047

Open
Forceres opened this issue Jul 7, 2024 · 2 comments
Open

Joins #1047

Forceres opened this issue Jul 7, 2024 · 2 comments

Comments

@Forceres
Copy link

Forceres commented Jul 7, 2024

Is it possible to use joins without fully raw query? Or is here a way to build raw queries without hard coding?

@dantownsend
Copy link
Member

Joins are handled automatically, but you can use join_on if you want to join on something without a primary key, or do a reverse join:

https://piccolo-orm.readthedocs.io/en/latest/piccolo/query_types/joins.html#join-on

@Forceres
Copy link
Author

Forceres commented Jul 8, 2024

Ended with implementing my own joins builder, the absence of reverse look up relationships forced to do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants