We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5997a2 commit 24c0d52Copy full SHA for 24c0d52
README.md
@@ -223,7 +223,7 @@ async fn main() -> Result<(), sqlx::Error> {
223
.max_connections(5)
224
.connect("postgres://postgres:password@localhost/test").await?;
225
226
- // Make a simple query to return the given parameter
+ // Make a simple query to return the given parameter (use a question mark `?` instead of `$1` for MySQL)
227
let row: (i64,) = sqlx::query_as("SELECT $1")
228
.bind(150_i64)
229
.fetch_one(&pool).await?;
0 commit comments