Skip to content

Commit 06116a5

Browse files
Add support for ulong
1 parent 0b23275 commit 06116a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SQLite.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3319,6 +3319,9 @@ object ReadCol (Sqlite3Statement stmt, int index, SQLite3.ColType type, Type clr
33193319
else if (clrType == typeof (Int64)) {
33203320
return SQLite3.ColumnInt64 (stmt, index);
33213321
}
3322+
else if (clrType == typeof (UInt64)) {
3323+
return (ulong)SQLite3.ColumnInt64 (stmt, index);
3324+
}
33223325
else if (clrType == typeof (UInt32)) {
33233326
return (uint)SQLite3.ColumnInt64 (stmt, index);
33243327
}

0 commit comments

Comments
 (0)