Grakn Console
Command line arguments
-
--server=<address>Server address to which the console will connect to. -
-V, --versionPrint version information and exit. -
-h, --helpShow help message.
Console commands
Console implements database management commands and transation querying commands. These commands are separated into two level. Initially database management commands are available, and after opening a transaction, you can start using transaction querying commands.
Database management commands
database listList the databases on the serverdatabase create <db>Create a database with name<db>on the serverdatabase delete <db>Delete a database with name<db>on the servertransaction <db> schema|data read|writeStart a transaction to database<db>with schema or data session, with read or write transactionhelpPrint help menuclearClear console screenexitExit console
Transaction querying commands
<query>Run Graql querysource <file>Run Graql queries in filecommitCommit the transaction changes and close transactionrollbackRollback the transaction to the beginning statecloseClose the transaction without committing changeshelpPrint this help menuclearClear console screenexitExit console