mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 11:12:26 -05:00
[chore] Bump database dependencies (#1164)
github.com/uptrace/bun v1.1.8 -> v1.1.9 github.com/uptrace/bun/pgdialect v1.1.8 -> v1.1.9 github.com/uptrace/bun/sqlitedialect v1.1.8 -> v1.1.9 modernc.org/sqlite v1.18.2 -> v1.19.5
This commit is contained in:
parent
fe39d50e09
commit
daf44ac2b7
529 changed files with 971879 additions and 1370194 deletions
9
vendor/github.com/uptrace/bun/query_insert.go
generated
vendored
9
vendor/github.com/uptrace/bun/query_insert.go
generated
vendored
|
|
@ -44,7 +44,7 @@ func (q *InsertQuery) Conn(db IConn) *InsertQuery {
|
|||
}
|
||||
|
||||
func (q *InsertQuery) Model(model interface{}) *InsertQuery {
|
||||
q.setTableModel(model)
|
||||
q.setModel(model)
|
||||
return q
|
||||
}
|
||||
|
||||
|
|
@ -54,7 +54,12 @@ func (q *InsertQuery) Apply(fn func(*InsertQuery) *InsertQuery) *InsertQuery {
|
|||
}
|
||||
|
||||
func (q *InsertQuery) With(name string, query schema.QueryAppender) *InsertQuery {
|
||||
q.addWith(name, query)
|
||||
q.addWith(name, query, false)
|
||||
return q
|
||||
}
|
||||
|
||||
func (q *InsertQuery) WithRecursive(name string, query schema.QueryAppender) *InsertQuery {
|
||||
q.addWith(name, query, true)
|
||||
return q
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue