<commands>Defines the commands you want to execute.
You can execute a command in just one line (
JSS print('Hello World!')) or enable the interactive input by just executing
end. Bear in mind, the
end here is case-sensitive.
Execute a query and display the result:
jss[Started multi-line command. Type just 'end' to finish and execute.] orientdb>
var r = db.query('select from ouser');orientdb>
for(var i=0;i orientdb> print( r[i] ); orientdb> } orientdb> end Server side script executed in 0.146000 sec(s). Value returned is: null
In this case the output will be displayed on the server console.