[development] Flex API, XML API modules are they needed?

Andrew Berry andrewberry at sentex.net
Mon Feb 9 17:16:12 UTC 2009


On 9-Feb-09, at 12:40 AM, David Metzler wrote:

> XML-enabled DB Binding:  Write sql binding syntax that looks like  
> SELECT * from table where name={xpathtofield}.  The XPATH entry can  
> also be an index to a field array.  I find this more intuitive than  
> the %1, %2 ,etc syntax that's used in drupal, cause you can  
> reference the same bind variable more than once in an SQL statement.

I believe this is solved in DB:TNG, now in Drupal 7. Calls to  
db_query() now have array keys, which can be used instead of the  
traditional ordered placeholders.

http://api.drupal.org/api/function/db_query/7

--Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2672 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/development/attachments/20090209/147ec2b4/attachment.bin 


More information about the development mailing list