Hi there,

OrientDB version: 1.7.4

I'm trying to execute a script using the command line, but for some reason, 
LET is giving me an error. I think it's my syntax, but I've even tried 
copying and pasting from here:
https://github.com/orientechnologies/orientdb/wiki/SQL-batch

I *can* seem to get LET working using Oriento on NODE.JS. But in the 
console, I can't seem to get it right.

I've been getting the error:
`!Unrecognized command: 'let var1 ..`


I'm on Mac, using console.sh, like this:

./console.sh test-script.txt



*test-script.txt:*
connect remote:localhost/XXXXX admin XXXXXXXXXXXXX;


begin;
let var1 = INSERT INTO SomeClass CONTENT {duration:20}
CREATE EDGE E FROM $var1 TO #5:32
commit;
exit; 



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to