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

INSERT queries with inline QUERY does not correctly identify parameters #11

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

Comments

@isuru89
Copy link
Contributor

isuru89 commented Apr 18, 2017

Consider below query.

$DSL.insert {
    TARGET (Film.alias("f"))
    DATA (
        "film_id": QUERY {
                        TARGET (Film.alias("f"))
                        WHERE {
                            EQ (f.film_id, PARAM("id"))
                        }
                    },
        "title": PARAM("title")
    )
    RETURN_KEYS()
}

There must be two parameters, but query generator finds only one parameter.

@isuru89 isuru89 added the bug label Apr 18, 2017
@isuru89 isuru89 added this to the v1.1.3 milestone Apr 18, 2017
@isuru89 isuru89 self-assigned this Apr 18, 2017
@isuru89 isuru89 closed this as completed Apr 25, 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