Revert go version change and mariadb.

This commit is contained in:
go-jet 2025-03-09 18:22:31 +01:00
parent 950b33191e
commit 97f1b46352
9 changed files with 19 additions and 16 deletions

View file

@ -61,6 +61,7 @@ func (s *SQLBuilder) WriteProjections(statement StatementType, projections []Pro
s.DecreaseIdent()
}
// WriteRowToJsonProjections serializes slice of projections intended for row_to_json json aggregation
func (s *SQLBuilder) WriteRowToJsonProjections(statement StatementType, projections []Projection) {
for i, projection := range projections {
if i > 0 {
@ -109,6 +110,7 @@ func (s *SQLBuilder) WriteString(str string) {
s.write([]byte(str))
}
// WriteJsonObjKey serializes json object key
func (s *SQLBuilder) WriteJsonObjKey(key string) {
s.WriteString(fmt.Sprintf(`'%s', `, key))
}