platform/packages/rethinkdb/test/bootstrap.dart
2024-07-03 00:13:02 +08:00

18 lines
371 B
Dart

import 'dart:io';
import 'package:belatuk_rethinkdb/belatuk_rethinkdb.dart';
void main() async {
var r = RethinkDb();
await r
.connect(
db: 'testDB',
host: "localhost",
port: 28015,
user: "admin",
password: "")
.then((conn) {
r.tableCreate('todos').run(conn);
print('Done');
exit(0);
});
}