From 66ff625f3454e7aedec717f8f360f61f537c806a Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Sat, 26 Dec 2020 22:07:28 +0800 Subject: [PATCH] RowsColumnTypeNullable not implemented (#848) --- sqlite3_type.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlite3_type.go b/sqlite3_type.go index 437bf0a..b4128db 100644 --- a/sqlite3_type.go +++ b/sqlite3_type.go @@ -31,12 +31,12 @@ func (rc *SQLiteRows) ColumnTypeLength(index int) (length int64, ok bool) { func (rc *SQLiteRows) ColumnTypePrecisionScale(index int) (precision, scale int64, ok bool) { return 0, 0, false } -*/ // ColumnTypeNullable implement RowsColumnTypeNullable. func (rc *SQLiteRows) ColumnTypeNullable(i int) (nullable, ok bool) { - return true, true + return false, false } +*/ // ColumnTypeScanType implement RowsColumnTypeScanType. func (rc *SQLiteRows) ColumnTypeScanType(i int) reflect.Type {