Hai,

This is my update query

 *$sql = "update #266:0 set sms_credit = 25 return after 
\$current.include('sms_credit')";*

after updated, i printed 

*print_r($res);* 

and am getting  this array,

Array ( [0] => OrientDBRecord Object ( [isParsed:OrientDBRecord:private] => 
[className:OrientDBRecord:private] => [type] => d 
[clusterID:OrientDBRecord:private] => -1 [recordPos:OrientDBRecord:private] 
=> -1 [recordID:OrientDBRecord:private] => [version] => 0 
[content:OrientDBRecord:private] => sms_credit:25 [data] => OrientDBData 
Object ( [data:OrientDBData:private] => Array ( ) 
[record:OrientDBData:private] => OrientDBRecord Object *RECURSION* ) ) )

>From this i can get *content* value by,

*print_r($res[0]->content);*  using this am getting,

*sms_credit:25*

now i want to get that sms_credit value.

How can i get that value?


Thanks and Regards,
T.Pugazharasan

-- 

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