aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_type.go
diff options
context:
space:
mode:
authorJinzhu <wosmvp@gmail.com>2020-12-26 22:07:28 +0800
committerGitHub <noreply@github.com>2020-12-26 23:07:28 +0900
commit66ff625f3454e7aedec717f8f360f61f537c806a (patch)
treefbcdfc21d4e1131752e620d786ab01321a3b970e /sqlite3_type.go
parentAdd ?_cache_size=[..] to connection parameters (#894) (diff)
downloadgolite-66ff625f3454e7aedec717f8f360f61f537c806a.tar.gz
golite-66ff625f3454e7aedec717f8f360f61f537c806a.tar.xz
RowsColumnTypeNullable not implemented (#848)
Diffstat (limited to 'sqlite3_type.go')
-rw-r--r--sqlite3_type.go4
1 files 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 {