Hello,

I created a class named "Content", and I have a lot of problems with it, 
maybe because of its name.

> create vertex Content
Error: com.orientechnologies.orient.core.sql.OCommandSQLParsingException: 
Error on parsing command at position #13: Content not provided. Example: CON
TENT { "name": "Jay" }. Use CREATE VERTEX [<class>] [CLUSTER <cluster>] 
[SET <field> = <expression>[,]*]
Command: create vertex Content
---------------------^

> create vertex Content set name = 'toto'
Error: com.orientechnologies.orient.core.exception.OSerializationException: 
Error on unmarshalling JSON content 'set': content must be between { }

> create vertex Content content {name:"toto"}
Error: com.orientechnologies.orient.core.exception.OSerializationException: 
Error on unmarshalling JSON content 'content': content must be between { }

> create vertex Content {name:"toto"}
OK

Thanks

-- 

--- 
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