feat(sql): Add common whitespace characters, ASCII, HTML, backslashes to literal escaping
This commit is contained in:
@@ -2,7 +2,6 @@ package build
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"git.secnex.io/secnex/pgson/schema"
|
||||
"git.secnex.io/secnex/pgson/sql"
|
||||
@@ -23,6 +22,6 @@ func Delete(s *schema.Table, where map[string]any) (*string, error) {
|
||||
}
|
||||
|
||||
ddl := fmt.Sprintf(sql.DML_DELETE, sql.QuoteIdent(s.Name), whereClause)
|
||||
log.Printf("DDL: %s", ddl)
|
||||
|
||||
return &ddl, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user