bumps our uptrace/bun dependencies to v1.2.10

This commit is contained in:
kim 2025-03-03 10:08:51 +00:00
commit a6bda668bb
37 changed files with 518 additions and 225 deletions

View file

@ -1475,3 +1475,16 @@ func (q *orderLimitOffsetQuery) appendLimitOffset(fmter schema.Formatter, b []by
return b, nil
}
func IsReadOnlyQuery(query Query) bool {
sel, ok := query.(*SelectQuery)
if !ok {
return false
}
for _, el := range sel.with {
if !IsReadOnlyQuery(el.query) {
return false
}
}
return true
}