Chore: add/update sqlstore-related helper functions (#77408)

* add/update sqlstore-related helper functions

* add documentation & tests for InsertQuery and UpdateQuery, make generated SQL deterministic by sorting columns

* remove old log line
This commit is contained in:
Dan Cech
2023-11-03 10:30:52 -04:00
committed by GitHub
parent 6b729389b5
commit 67b2972052
9 changed files with 237 additions and 11 deletions
@@ -69,6 +69,9 @@ func (db *MySQLDialect) SQLType(c *Column) string {
c.Length = 64
case DB_NVarchar:
res = DB_Varchar
case DB_Uuid:
res = DB_Char
c.Length = 36
default:
res = c.Type
}