We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if you have a string "[email protected]" no matter how you insert it;
"sqlcall new_user(${email})" "sqlcall new_user(${sql(email)})"
call new_user(${email})
call new_user(${sql(email)})
I end up with the sql call new_user ("bonobo"."bob@bom"."com")
call new_user ("bonobo"."bob@bom"."com")
Why is this happening? im sure its me but I cant figure out why?
The text was updated successfully, but these errors were encountered:
If you put the email in an object and then insert it in the sql request, it should work:
const user = { email: '[email protected]' } await sql`insert into users ${ sql(user, 'email') }`
Sorry, something went wrong.
No branches or pull requests
if you have a string "[email protected]" no matter how you insert it;
"sql
call new_user(${email})
""sql
call new_user(${sql(email)})
"I end up with the sql
call new_user ("bonobo"."bob@bom"."com")
Why is this happening? im sure its me but I cant figure out why?
The text was updated successfully, but these errors were encountered: