Reputation: 11
I want to execute queries which are stored in text file on OrientDB console.
I am currently referring to https://github.com/sslavic/orientdb-wiki/blob/master/Console-Commands.md Batch Mode, but getting unrecognized command error.
Upvotes: 1
Views: 317
Reputation: 245
I've tryed with the last snapshot and i've no problem with this console command. In your file.txt make sure you dont miss any semicolon, probably you have some parsing problem in your file or any othter sintaxt/typo issue, so orient can not find a suitable command for some string, dont know if you can post your code.. but at least update with the full console output.
Upvotes: 1
Reputation: 3570
from the terminal you must go in the folder "bin" of your version of OrientDb and you must give the command console.bat path of your file.txt
Upvotes: 2