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
Have this library any tools for protecting sql injections?
If no, maybe somebody recommends how you solve this problem
Thx!
The text was updated successfully, but these errors were encountered:
asyncpg supports native PostgreSQL syntax for parameter substitution:
asyncpg
v = await conn.fetchrow("SELECT * FROM table WHERE id = $1", my_id)
As long as you pass your parameters like that and never build a query string from user inputs, you should be safe from SQL injection.
Sorry, something went wrong.
Thx a lot!
Is this possible for preprared statements?
No branches or pull requests
Have this library any tools for protecting sql injections?
If no, maybe somebody recommends how you solve this problem
Thx!
The text was updated successfully, but these errors were encountered: