Skip to content

Commit 400b315

Browse files
authored
Fix exmaple -> example (2x) (#1046)
1 parent 8158364 commit 400b315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ binds arrays to the parameters in the INSERT statement.
540540
_, err = db.Exec("insert into my_table values (?, ?, ?, ?)", Array(&intArray), Array(&fltArray), Array(&boolArray), Array(&strArray))
541541
542542
If the array contains SQL NULL values, use slice []interface{}, which allows Golang nil values.
543-
This feature is available in version 1.6.12 (and later) of the driver. For exmaple,
543+
This feature is available in version 1.6.12 (and later) of the driver. For example,
544544
545545
// Define the arrays containing the data to insert.
546546
strArray := make([]interface{}, 3)
@@ -568,7 +568,7 @@ This feature is available in version 1.6.12 (and later) of the driver. For exmap
568568
}
569569
570570
For slices []interface{} containing time.Time values, a binding parameter flag is required for the preceding array variable in the Array() function.
571-
This feature is available in version 1.6.13 (and later) of the driver. For exmaple,
571+
This feature is available in version 1.6.13 (and later) of the driver. For example,
572572
573573
_, err = db.Exec("create or replace table my_table(c1 timestamp_ntz, c2 timestamp_ltz)")
574574
_, err = db.Exec("insert into my_table values (?,?)", Array(&ntzArray, sf.TimestampNTZType), Array(&ltzArray, sf.TimestampLTZType))

0 commit comments

Comments
 (0)