Skip to content

Commit

Permalink
Correct comment.
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 c6e09cb commit 8a3f34c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/src/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ class Row {
return bindings.sqlite3_column_int(_statement, columnIndex);
}

/// Reads column [columnName] and converts to [Type.Double] if not an
/// Double.
/// Reads column [columnName] and converts to [Type.Float] if not an
/// double.
double readColumnAsDouble(String columnName) {
return readColumnByIndexAsDouble(_columnIndices[columnName]);
}

/// Reads column [columnIndex] and converts to [Type.Double] if not an
/// integer.
/// Reads column [columnIndex] and converts to [Type.Float] if not an
/// double.
double readColumnByIndexAsDouble(int columnIndex) {
_checkIsCurrentRow();
return bindings.sqlite3_column_double(_statement, columnIndex);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: dart_sqlite3
version: 0.1.0
version: 0.2.0
description: >-
Sqlite3 wrapper. Demo for dart:ffi.
Expand Down

0 comments on commit 8a3f34c

Please sign in to comment.