Time, Timez, Timestamp, Timestampz, Date column types added.
This commit is contained in:
parent
7b89caa7e0
commit
7f5ba98819
20 changed files with 620 additions and 60 deletions
|
|
@ -192,10 +192,8 @@ func ArgToString(value interface{}) string {
|
|||
case string:
|
||||
return `'` + bindVal + `'`
|
||||
case []byte:
|
||||
return string(bindVal)
|
||||
return `'` + string(bindVal) + `'`
|
||||
//TODO: implement
|
||||
//case time.Time:
|
||||
// return bindVal.String())
|
||||
default:
|
||||
return "[Unknown type]"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue