Hi, If you use your own binary protocol, then you should send something like ' 'Users@first:'Test', num:5 So you set class name, class separator and then fields.
On Fri, Jan 17, 2014 at 6:06 PM, Giraldo Rosales <[email protected]> wrote: > To clarify... I am using the pre-compiled version of 1.7 Luca just posted. > Was assuming it wasn't a bug but just me not sending the correct > parameters. Could not find an example online. > > Thanks > > > On Friday, January 17, 2014 3:35:38 AM UTC-5, Giraldo Rosales wrote: >> >> Yes this is correct. I am using my own binary client. >> On Jan 17, 2014 2:24 AM, "Andrey Lomakin" <[email protected]> >> wrote: >> >>> Hi, >>> The first question do you use your own binary client, is it correct ? >>> >>> >>> On Fri, Jan 17, 2014 at 12:32 AM, Giraldo Rosales <[email protected]>wrote: >>> >>>> 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. >>>> >>> >>> >>> >>> -- >>> Best regards, >>> Andrey Lomakin. >>> >>> Orient Technologies >>> the Company behind OrientDB >>> >>> -- >>> >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "OrientDB" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>> topic/orient-database/6BqAQx4P4wk/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> -- > > --- > 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. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- 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.
