[development] My first post: path_set_alias() and multiple aliases

Andrew Berry andrewberry at sentex.net
Thu Feb 19 14:36:42 UTC 2009


On 19-Feb-09, at 3:59 AM, Dipen wrote:

> As an API, I think it should return all aliases of a path or should  
> take an additional parameter like 'all','latest','oldest' depending  
> on how you want it. But yeah it returns the oldest alias and just  
> one entry.

I seem to remember that unless you do an ORDER BY that the order of  
returned results are implementation dependent. I can't seem to find  
anything to back that up other than a few old notes though. So while  
MySQL returns the first matched result in order of insertion, I think  
that could change when using some other RDBMS.

Anyone have any more info?

--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/20090219/f505f574/attachment.bin 


More information about the development mailing list