File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ import "github.com/ncruces/go-sqlite3/internal/util"
5
5
// JSON returns a value that can be used as an argument to
6
6
// [database/sql.DB.Exec], [database/sql.Row.Scan] and similar methods to
7
7
// store value as JSON, or decode JSON into value.
8
- // JSON should NOT be used with [BindJSON] or [ResultJSON].
8
+ // JSON should NOT be used with [Stmt.BindJSON], [Stmt.ColumnJSON],
9
+ // [Value.JSON], or [Context.ResultJSON].
9
10
func JSON (value any ) any {
10
11
return util.JSON {Value : value }
11
12
}
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import "github.com/ncruces/go-sqlite3/internal/util"
4
4
5
5
// Pointer returns a pointer to a value that can be used as an argument to
6
6
// [database/sql.DB.Exec] and similar methods.
7
- // Pointer should NOT be used with [BindPointer] or [ResultPointer].
7
+ // Pointer should NOT be used with [Stmt.BindPointer],
8
+ // [Value.Pointer], or [Context.ResultPointer].
8
9
//
9
10
// https://sqlite.org/bindptr.html
10
11
func Pointer [T any ](value T ) any {
You can’t perform that action at this time.
0 commit comments