doctrine / couchdb-odm

A Document Mapper based on CouchDB

Home Page:http://www.doctrine-project.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Query by type

finchen opened this issue · comments

I had a simple findAll() which returned 0 docs.

$documentManager->getRepository('Item')->findAll()

it turns out to be the doctrine metadata.
It was

doc.doctrine_metadata.indexed

I changed it to

doc.doctrine_metadata.indexes

and now the view returns the Item

Not sure how it happened.. Hope it helps someone one day