sqllite 1.1.0 copy "sqllite: ^1.1.0" to clipboard
sqllite: ^1.1.0 copied to clipboard

discontinued
Dart 1 only

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.

0
likes
25
pub points
67%
popularity

Publisher

verified publisherjpryan.me

A dart wrapper for kipken/sql.js

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

js, resource

More

Packages that depend on sqllite