[Developers] /type/link/target_value doesn't support optional:true
Augusto Callejas
acallejas at appliedminds.com
Thu Oct 23 23:31:21 UTC 2008
hi-
it looks like "/type/link/target_value" doesn't support optional:true.
any idea if this will be removed in the future at all?
basically, what i would like to do is query for all "/type/link"s
but regardless if they are value properties (target_value) or
object properties (target). is there some way i can do this
without optional:true support in target_value?
thanks,
augusto.
===
[
{
"master_property" : null,
"operation" : null,
"sort" : "timestamp",
"source" : {
"guid" : null,
"type" : "/people/person"
},
"target_value" : {
"optional" : true,
"value" : null
},
"timestamp" : null,
"timestamp>=" : "2008-10-23T22:23:00.000Z",
"type" : "/type/link",
"valid" : null
}
]
---
{
"code" : "/api/status/ok",
"q1" : {
"code" : "/api/status/error",
"messages" : [
{
"code" : "/api/status/error/mql/parse",
"info" : {
"key" : "optional",
"value" : true
},
"message" : "Can't use optional on /type/link/target_value (this
limitation may be removed in the future)",
"path" : "target_value",
"query" : [
{
"master_property" : null,
"operation" : null,
"sort" : "timestamp",
"source" : {
"guid" : null,
"type" : "/people/person"
},
"target_value" : {
"error_inside" : ".",
"optional" : true,
"value" : null
},
"timestamp" : null,
"timestamp>=" : "2008-10-23T22:23:00.000Z",
"type" : "/type/link",
"valid" : null
}
]
}
]
},
"status" : "200 OK",
"transaction_id" : "cache;cache01.p01.sjc1:8101;2008-10-23T23:27:01Z;0005"
}
===
More information about the Developers
mailing list