improve package gerror, add HasCode/HasError function for package gerror (#2006)

This commit is contained in:
John Guo
2022-07-15 10:49:04 +08:00
committed by GitHub
parent 2c70bb6a00
commit 5d51e9fa2c
17 changed files with 512 additions and 424 deletions

View File

@ -218,6 +218,7 @@ ORDER BY
c.relname`,
querySchema,
)
query, _ = gregex.ReplaceString(`[\n\r\s]+`, " ", gstr.Trim(query))
result, err = d.DoSelect(ctx, link, query)
if err != nil {
return