sqllite 1.1.0 sqllite: ^1.1.0 copied to clipboard
A dart wrapper for kipken/sql.js
sqllite-dart #
A dart wrapper for kipken/sql.js
Usage #
import 'package:sqllite/sqllite.dart';
main() {
var db = new Database();
var statement = """
CREATE TABLE hello (a int, b char);
INSERT INTO hello VALUES (0, 'hello');
INSERT INTO hello VALUES (1, 'world');
""";
db.run(statement);
var res = db.exec("SELECT * FROM hello");
for (var value in res.first.values) {
print('row: ${value[0]} ${value[1]}');
}
}
Features and bugs #
Please file feature requests and bugs at the issue tracker.