On 09/25/2010 01:33 PM, [Ricardo Rodriguez] eBioTIC. wrote:
> Please, could you tell me what the "," means in this query string? Thanks!
>
> $query = ", BaseObject as obj where..."
>
> Ricardo
>

$xwiki.searchDocuments is a "safe" search method, which only returns 
document names. As such, the first part of the query is fixed:

"select doc.space, doc.name from XWikiDocument as doc "

The first argument of the searchDocuments method is then appended to 
this stub. Thus, the comma separates the two "from" components, 
resulting in:

"select doc.space, doc.name from XWikiDocument as doc , Base Object as 
obj where..."

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to