<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I find a number of documents ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318407#M5408</link>
    <description>&lt;P&gt;Please ask questions as new questions or updates to your original questions, not in the answers section.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Feb 2013 19:14:28 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2013-02-16T19:14:28Z</dc:date>
    <item>
      <title>How can I find a number of documents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318403#M5404</link>
      <description>&lt;P&gt;Hello,
In nuxeo studio, after execution of nxql query, how can I get a number of results ?&lt;/P&gt;
&lt;P&gt;ex :
Execution of nxql query :&lt;/P&gt;
&lt;P&gt;fetch &amp;gt; query : SELECT * FROM Document WHERE  mydocumenttype:variable= DATE '@{CurrentDate.format("yyyy-MM-dd")}' and ecm:path='@{Document.parent.path}/'&lt;/P&gt;
&lt;P&gt;And then,&lt;/P&gt;
&lt;P&gt;number of results ?&lt;/P&gt;
&lt;P&gt;Sincerely yours&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2013 16:08:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318403#M5404</guid>
      <dc:creator>pwer21c_</dc:creator>
      <dc:date>2013-02-08T16:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find a number of documents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318404#M5405</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;after the query operation operation, the input for the next operation is a document list. So if you use for instance the Execution Context &amp;gt; Set Context Variable , you can put this as value: @{This.size()}
This being the input of the operation.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2013 17:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318404#M5405</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2013-02-13T17:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find a number of documents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318405#M5406</link>
      <description>&lt;P&gt;Note that this is going to be quite slow as it returns all the documents. It would be better to use an operation based on the &lt;CODE&gt;CoreSession.queryAndFetch&lt;/CODE&gt; API, but there isn't one today.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2013 17:55:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318405#M5406</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-02-13T17:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find a number of documents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318406#M5407</link>
      <description>&lt;P&gt;thanks.
Another question about this.
If a query has not the result (NULL), nuxeo give me a error message or 0 ?&lt;/P&gt;
&lt;P&gt;The last question is about convert string.
How can I convert this integer type(this.size()) to string type in nuxeo studio ?&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2013 09:11:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318406#M5407</guid>
      <dc:creator>pwer21c_</dc:creator>
      <dc:date>2013-02-16T09:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I find a number of documents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318407#M5408</link>
      <description>&lt;P&gt;Please ask questions as new questions or updates to your original questions, not in the answers section.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2013 19:14:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-find-a-number-of-documents/m-p/318407#M5408</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2013-02-16T19:14:28Z</dc:date>
    </item>
  </channel>
</rss>

