Hi Charles,
if you have already created the database with classes and want to do only
the insertion through the file .osql, then you must create the file
myscritp.osql in the bin folder of OrientDB like this:
connect remote:localhost/testScript admin admin;
insert into User(name, emailAddress) values ("Joe","[email protected]);
insert into User(name, emailAddress) values ("Bob","[email protected]);
insert into User(name, emailAddress) values ("Mike","[email protected]);
...
Then, after you create this file, access to the bin folder from the command
line and run the following command:
console.bat myscript.osql
and this automatically performs the insertion of data.
Regards,
Giulia
--
---
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.