Fixed computed columns

This commit is contained in:
Hein
2025-11-11 12:28:53 +02:00
parent 006dc4a2b2
commit 0cef0f75d3
5 changed files with 34 additions and 0 deletions

View File

@@ -119,6 +119,12 @@ func (b *BunSelectQuery) Column(columns ...string) common.SelectQuery {
return b
}
func (b *BunSelectQuery) ColumnExpr(query string, args ...interface{}) common.SelectQuery {
b.query = b.query.ColumnExpr(query, args)
return b
}
func (b *BunSelectQuery) Where(query string, args ...interface{}) common.SelectQuery {
b.query = b.query.Where(query, args...)
return b