[Developers] tree mqlwrite operations?

augusto callejas acallejas at appliedminds.com
Tue Nov 25 21:18:42 UTC 2008


hi-

is there a way in mql to perform an operation across a set of nodes?
for instance "XX1" person has two children, and i'd like to update
their "name" properties all at once without haven't to specify each
child's id.

===
{
   "children" : {
     "name" : {
       "connect" : "update",
       "lang" : "/lang/en",
       "value" : "XX4"
     }
   },
   "name" : "XX1",
   "type" : "/people/person"
}
---
"Unique query may have at most one result. Got 2"
===

thanks,
augusto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20081125/bef3e484/attachment.htm 


More information about the Developers mailing list