<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for looking into this for me.<br>
<br>
David Flanagan wrote:
<blockquote cite="mid:48BD97E3.8010509@davidflanagan.com" type="cite">
<pre wrap="">
I'd like to be able to use the prefixes as named parameters
</pre>
<blockquote type="cite">
<pre wrap="">in my code so hopefully this syntax is possible.
</pre>
</blockquote>
<pre wrap=""><!---->
I'm not sure why you want to use prefixes in this query, since they're
not actually necessary here. Note that you can move the nndb_key prefix
from the value property out to the key property and your query should
work, if that helps at all.
        David Flanagan
</pre>
</blockquote>
I'm sorry if this is a bit off topic because it relates to a
third-party tool that I'm developing. In my application I take a
general query template like:<br>
<br>
{<br>
"person:id" : null,<br>
"key" : [{<br>
"connect" : "insert",<br>
"namespace" : "/guid/9202a8c04000641f8000000008e5719d",<br>
"nndb_key:value" : null<br>
}],<br>
"type" : {<br>
"connect" : "insert",<br>
"id" : "/user/narphorium/people/nndb_person"<br>
}<br>
}<br>
<br>
Then I use the rows from a spreadsheet to fill in the person &
nndb_key parameters and pass the completed queries to the write
service. I have a couple ideas of how to work around this quirk but I
just figured I'd check to make sure that I'm using valid MQL before I
make any changes.<br>
<br>
Shawn<br>
</body>
</html>