mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
update go-sqlite3 to v0.18.0 (#3204)
This commit is contained in:
8
vendor/github.com/ncruces/go-sqlite3/value.go
generated
vendored
8
vendor/github.com/ncruces/go-sqlite3/value.go
generated
vendored
@ -201,6 +201,14 @@ func (v Value) NoChange() bool {
|
||||
return r != 0
|
||||
}
|
||||
|
||||
// FromBind returns true if value originated from a bound parameter.
|
||||
//
|
||||
// https://sqlite.org/c3ref/value_blob.html
|
||||
func (v Value) FromBind() bool {
|
||||
r := v.c.call("sqlite3_value_frombind", v.protected())
|
||||
return r != 0
|
||||
}
|
||||
|
||||
// InFirst returns the first element
|
||||
// on the right-hand side of an IN constraint.
|
||||
//
|
||||
|
Reference in New Issue
Block a user