Closed ShakeIQAdmin closed 4 months ago
There is no example to create a new RemoteServer like:
RemoteServer server = new RemoteServer("localhost", 5432, "root", "playwithdata");
Then the exists method is actually on the server object
if (!server.exists("mydb")) { server.create("mydb"); }
and
List databases = server.databases(); assert(databases.contains("mydb"));
then you use:
RemoteDatabase database = new RemoteDatabase("localhost", 5432, "mydb", "root", "playwithdata");
There is no example to create a new RemoteServer like:
RemoteServer server = new RemoteServer("localhost", 5432, "root", "playwithdata");
Then the exists method is actually on the server object
if (!server.exists("mydb")) { server.create("mydb"); }
and
List databases = server.databases();
assert(databases.contains("mydb"));
then you use:
RemoteDatabase database = new RemoteDatabase("localhost", 5432, "mydb", "root", "playwithdata");