title: How to get a CouchDB _list result with Cradle
body: <p>In Node, using Express and Cradle, I have a call to a _list that does not work. Other calls go to _view and work fine. The <a href="http://cloudhead.io/cradle" rel="nofollow">Cradle documentation</a> does not include a section on _list but it seems from <a href="https://github.com/cloudhead/cradle/commit/c4b7deb182a150a2f46696364c9b68c9fb56f852" rel="nofollow">this GitHub readme</a> that it is supposed to work just like _view.</p>
  
  <p>My code looks like:</p>
  
  <pre><code>if(isList){
      db.list(couch_url, function (err, res) {
          if(err){
              console.log("error couchdb list", err);
          }else{
              //console.log(res);
              callback(JSON.stringify(res));
          }
      });     
  }
  </code></pre>
  
  <p>The <code>couch_url</code> variable is just the regular http request and looks like: <code>myCouch/_design/Model3D/_list/convert/All</code> except the path designators (_design, _view, _list) have been removed to get <code>Model3D/convert/All</code> for Cradle (it looks like they are put back in the Cradle function). That full path represented by <code>couch_url</code> will work in other CouchDB connections, and like I said, the Cradle view function works fine.</p>
  
  <p>The error object I get is:</p>
  
  <pre><code>{ stack: [Getter/Setter],
      arguments: [ 'ILLEGAL' ],
      type: 'unexpected_token',
      message: [Getter/Setter] }
  </code></pre>