Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
 - example
  • Loading branch information
bsjung committed Feb 3, 2020
1 parent edd8d98 commit 6b6ce6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void main() {
date text not null,
trans text not null,
symbol text not null,
qty real,
qty integer,
price real
);""");
d.execute("""
Expand All @@ -44,8 +44,8 @@ void main() {
String date = r.readColumn("date");
String trans = r.readColumn("trans");
String symbol = r.readColumn("symbol");
double qty = r.readColumnAsReal("qty");
double price = r.readColumnasReal("price");
int qty = r.readColumnAsInt("qty");
double price = r.readColumnasDouble("price");
print("$date $trans $symbol $qty $price");
}
Expand Down

0 comments on commit 6b6ce6d

Please sign in to comment.