File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 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"
55// JSON returns a value that can be used as an argument to
66// [database/sql.DB.Exec], [database/sql.Row.Scan] and similar methods to
77// 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].
910func JSON (value any ) any {
1011 return util.JSON {Value : value }
1112}
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import "github.com/ncruces/go-sqlite3/internal/util"
44
55// Pointer returns a pointer to a value that can be used as an argument to
66// [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].
89//
910// https://sqlite.org/bindptr.html
1011func Pointer [T any ](value T ) any {
You can’t perform that action at this time.
0 commit comments