Skip to content

Commit

Permalink
Fix typo in examples
Browse files Browse the repository at this point in the history
Signed-off-by: Levko Kravets <levko.ne@gmail.com>
  • Loading branch information
kravets-levko committed Oct 2, 2024
1 parent 5d8a59c commit eb84c78
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/parameters/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ func queryWithPositionalParameters(db *sql.DB) {

err := db.QueryRow(`
SELECT
:p_bool AS col_bool,
:p_int AS col_int,
:p_double AS col_double,
:p_float AS col_float,
:p_date AS col_date
? AS col_bool,
? AS col_int,
? AS col_double,
? AS col_float,
? AS col_date
`,
true,
int(1234),
Expand Down

0 comments on commit eb84c78

Please # to comment.