platform/packages/rethinkdb/test/bootstrap.dart

19 lines
371 B
Dart
Raw Normal View History

2024-06-30 01:44:37 +00:00
import 'dart:io';
import 'package:belatuk_rethinkdb/belatuk_rethinkdb.dart';
void main() async {
var r = RethinkDb();
2024-07-02 16:13:02 +00:00
await r
.connect(
db: 'testDB',
host: "localhost",
port: 28015,
user: "admin",
password: "")
.then((conn) {
2024-06-30 01:44:37 +00:00
r.tableCreate('todos').run(conn);
print('Done');
exit(0);
});
}