How do we modify the @class property?

Trying to add a record using the binary. The record is added successfully 
with the following:
cluster id: 10
record content: "first:'Test', num:5"

Lets say cluster id #10 is a class called, "Users".

The record is added as #10:1 but the class field is empty. So in OrientDB 
Studio, when querying, "SELECT FROM Users" is executed, it will not show 
up. It will show up with, "SELECT FROM #10:1".

I would expect when calling RECORD_CREATE and adding the cluster id, it 
would also add the associated class automatically. If not, is there a way 
to add a property to the record content (ie. "'@class':'Users', 
first:'Test', num:5")? Am I doing something wrong?

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/groups/opt_out.

Reply via email to