This commit is contained in:
Nuno Cruces
2023-11-23 09:54:18 +00:00
parent 9bb01d1f8b
commit f2d6bdb8b7
11 changed files with 349 additions and 16 deletions

View File

@@ -97,7 +97,7 @@ func (c *cursor) Column(ctx *sqlite3.Context, n int) error {
case k == reflect.String:
ctx.ResultText(v.String())
case (k == reflect.Slice || k == reflect.Array) &&
case (k == reflect.Slice || k == reflect.Array && v.CanAddr()) &&
v.Type().Elem().Kind() == reflect.Uint8:
ctx.ResultBlob(v.Bytes())