Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Grakn Console

Grabl Slack Status Discussion Forum Stack Overflow Stack Overflow

Command line arguments

  • --server=<address> Server address to which the console will connect to.

  • -V, --version Print version information and exit.

  • -h, --help Show 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 list List the databases on the server
  • database create <db> Create a database with name <db> on the server
  • database delete <db> Delete a database with name <db> on the server
  • transaction <db> schema|data read|write Start a transaction to database <db> with schema or data session, with read or write transaction
  • help Print help menu
  • clear Clear console screen
  • exit Exit console

Transaction querying commands

  • <query> Run Graql query
  • source <file> Run Graql queries in file
  • commit Commit the transaction changes and close transaction
  • rollback Rollback the transaction to the beginning state
  • close Close the transaction without committing changes
  • help Print this help menu
  • clear Clear console screen
  • exit Exit console
You can’t perform that action at this time.