mirror of
https://gitee.com/johng/gf.git
synced 2024-12-02 20:28:17 +08:00
commit
9a757acc88
@ -829,6 +829,10 @@ func FormatSqlWithArgs(sql string, args []interface{}) string {
|
||||
if args[index] == nil {
|
||||
return "null"
|
||||
}
|
||||
// Parameters of type Raw do not require special treatment
|
||||
if v, ok := args[index].(Raw); ok {
|
||||
return gconv.String(v)
|
||||
}
|
||||
var (
|
||||
reflectInfo = utils.OriginValueAndKind(args[index])
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user