0

I started working on lithium and couchdb using their blog tutorial. One thing i noticed is that find:all is not working properly: Posts:find('all', array('conditions' => array('title' => 'title')) The conditions are not working. It all queries the documents and designs. Any experience about it?

hakre
  • 193,403
  • 52
  • 435
  • 836
John Laniba
  • 435
  • 3
  • 12

1 Answers1

0

CouchDB doesn't support ad-hoc queries (i.e. queries with arbitrary conditions). You need to create a view and query that.

Nate Abele
  • 5,771
  • 32
  • 27