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

Cross Join does not work #15

Closed
isuru89 opened this issue Apr 25, 2017 · 0 comments
Closed

Cross Join does not work #15

isuru89 opened this issue Apr 25, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@isuru89
Copy link
Contributor

isuru89 commented Apr 25, 2017

Cross joins does not work in NyQL.

$DSL.select {
    TARGET(Film.alias("f"))
    JOIN (TARGET()) {
        JOIN (Actor.alias("ac"))
    }
}

Expected SQL:

SELECT * FROM `Film` f CROSS JOIN `Actor` ac

But NyQL always generates it as an INNER JOIN.

@isuru89 isuru89 added the bug label Apr 25, 2017
@isuru89 isuru89 added this to the v1.1.3 milestone Apr 25, 2017
@isuru89 isuru89 self-assigned this Apr 25, 2017
isuru89 added a commit that referenced this issue Apr 25, 2017
default join clause now belongs to cross join.
@isuru89 isuru89 closed this as completed Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant