title: A problem faced when trying to get all the documents in one collection in FaunaDB using javaScript
body: <p>I created database and one collection . Now I want to retrieve all the documents from this collection.</p>
  <p>I used this query method :</p>
  <pre><code>q.Map(
    q.Paginate(Documents(Collection('posts'))),
    q.Lambda(x =&gt; q.Get(x))
  ).then (x=&gt;console.log(x))
  </code></pre>
  <p>But every time I run this code, it sends me an error message telling that the Documents is not defined .
  Can anybody tell me what the problem is ?</p>