OrientDB Console Modes - OrientDB

What are OrientDB Console Modes?

The OrientDB Console is a Java Application made to effort against OrientDB databases and Server instances. There are a number of console modes that OrientDB supports.

Interactive Mode

This is the default mode. Just launch the console by executing the following script bin/console.sh (or bin/console.bat in MS Windows systems). Make sure to include execution permission on it.
Once done, the console is ready to accept commands.

Batch Mode

To implement commands in batch mode run the following bin/console.sh (or bin/console.bat in MS Windows systems) script passing all the commands separated with semicolon ";".
Or call the console script passing the name of the file in text format containing the list of commands to execute. Commands must be separated with semicolon ";".

Example

Command.txt contains the list of commands which you want to execute through OrientDB console. The subsequent command accepts the batch of commands from the command.txt file.
In batch mode, you can ignore errors to let the script continue the execution by setting the "ignoreErrors" variable to true.

Enable Echo

When you run console commands in pipeline, you will require to display them. Enable "echo" of commands by setting it as belongings at the beginning. Following is the syntax to enable echo property in OrientDB console.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

OrientDB Topics