Better bootstrap

This commit is contained in:
thosakwe 2017-02-21 22:34:50 -05:00
parent 16cdd2c1bd
commit 228b413ef0

View file

@ -1,7 +1,11 @@
import 'dart:io';
import 'package:rethinkdb_driver/rethinkdb_driver.dart'; import 'package:rethinkdb_driver/rethinkdb_driver.dart';
main() async { main() async {
var r = new Rethinkdb(); var r = new Rethinkdb();
var conn = await r.connect(); r.connect().then((conn) {
await r.tableCreate('todos').run(conn); r.tableCreate('todos').run(conn);
print('Done');
exit(0);
});
} }