Skip to content

Commit

Permalink
Update dart_sqlite3.
Browse files Browse the repository at this point in the history
 - Type.Double --> Type.Float
  • Loading branch information
bsjung committed Feb 3, 2020
1 parent 6b6ce6d commit 7db951a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class Row {
switch (dynamicType) {
case Type.Integer:
return readColumnByIndexAsInt(columnIndex);
case Type.Double:
case Type.Fload:
return readColumnByIndexAsDouble(columnIndex);
case Type.Text:
return readColumnByIndexAsText(columnIndex);
Expand Down Expand Up @@ -251,7 +251,7 @@ class Row {
return readColumnByIndexAsDouble(_columnIndices[columnName]);
}

/// Reads column [columnIndex] and converts to [Type.Integer] if not an
/// Reads column [columnIndex] and converts to [Type.Double] if not an
/// integer.
double readColumnByIndexAsDouble(int columnIndex) {
_checkIsCurrentRow();
Expand Down

0 comments on commit 7db951a

Please sign in to comment.