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

placeholder doesn't work #21

Closed
jfilali opened this issue Nov 6, 2013 · 2 comments
Closed

placeholder doesn't work #21

jfilali opened this issue Nov 6, 2013 · 2 comments

Comments

@jfilali
Copy link

jfilali commented Nov 6, 2013

i created a simple test : and the placeholder strings are not replaced and end up with {email} , {name} , {password} in the database

def create(user: User): User = {
Cypher(
"""
CREATE (n:User { email : " {email} ", name : "{name}", password : "{password}" })
""")
.on("email" -> user.email, "name" -> user.name, "password" -> user.password)
.execute()
user
}

@freeeve
Copy link
Member

freeeve commented Nov 6, 2013

Don't put the placeholder strings in quotes.

@jfilali
Copy link
Author

jfilali commented Nov 8, 2013

you are absolutely right, Thank you for this awesome project ;-)

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