From c010ea3d871ac4013df2540f009779efe5f5687c Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Tue, 1 Sep 2020 20:47:56 +0800 Subject: [PATCH] RowsColumnTypeNullable not implemented --- sqlite3_type.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlite3_type.go b/sqlite3_type.go index 437bf0a4..b4128db4 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 {