-
Notifications
You must be signed in to change notification settings - Fork 49
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
Multiple joins in the same query #41
Labels
Comments
Not yet, but this should be pretty easy to add. I'll put this in the next update. |
Just pushed Just pass an array of join arguments into nSQL("users").query("select").join([
{
type: "inner",
table: "posts",
where: ["users.id", "=", "posts.author"]
},
{
type: "inner",
table: "comments",
where: ["users.id", "=", "comments.author"]
}
]).exec()... Let me know if that works as expected! |
Worked perfectly. Thank you for the rapid development. |
Sweet 😄 Marking this one resolved. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Is possible?
Thanks you
The text was updated successfully, but these errors were encountered: