ArcadeData / arcadedb-docs

ArcadeDB Documentation
Creative Commons Zero v1.0 Universal
5 stars 26 forks source link

Typo in the documentation in section 7.3.1 #261

Closed ShakeIQAdmin closed 4 months ago

ShakeIQAdmin commented 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");

image