[chore]: Bump github.com/uptrace/bun/dialect/pgdialect

Bumps [github.com/uptrace/bun/dialect/pgdialect](https://github.com/uptrace/bun) from 1.2.8 to 1.2.9.
- [Release notes](https://github.com/uptrace/bun/releases)
- [Changelog](https://github.com/uptrace/bun/blob/v1.2.9/CHANGELOG.md)
- [Commits](https://github.com/uptrace/bun/compare/v1.2.8...v1.2.9)

---
updated-dependencies:
- dependency-name: github.com/uptrace/bun/dialect/pgdialect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2025-01-27 06:14:31 +00:00 committed by GitHub
commit 84b4539b0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 745 additions and 205 deletions

View file

@ -31,8 +31,7 @@ func NewInsertQuery(db *DB) *InsertQuery {
q := &InsertQuery{
whereBaseQuery: whereBaseQuery{
baseQuery: baseQuery{
db: db,
conn: db.DB,
db: db,
},
},
}
@ -64,12 +63,12 @@ func (q *InsertQuery) Apply(fns ...func(*InsertQuery) *InsertQuery) *InsertQuery
return q
}
func (q *InsertQuery) With(name string, query schema.QueryAppender) *InsertQuery {
func (q *InsertQuery) With(name string, query Query) *InsertQuery {
q.addWith(name, query, false)
return q
}
func (q *InsertQuery) WithRecursive(name string, query schema.QueryAppender) *InsertQuery {
func (q *InsertQuery) WithRecursive(name string, query Query) *InsertQuery {
q.addWith(name, query, true)
return q
}