2
0

Add simple protocol suuport with (Query|Exec)Ex

This commit is contained in:
Jack Christensen
2017-04-10 08:58:51 -05:00
parent 54d9cbc743
commit 7b1f461ec3
16 changed files with 999 additions and 326 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ func (dst *Json) Scan(src interface{}) error {
func (src Json) Value() (driver.Value, error) {
switch src.Status {
case Present:
return src.Bytes, nil
return string(src.Bytes), nil
case Null:
return nil, nil
default: