JanxSpirit / mycotrack_mongo

A Scala Lift application for tracking mycological cultures.
4 stars 2 forks source link

How the hell do we query with mongo-record on particular fields. #5

Closed ctcarrier closed 13 years ago

ctcarrier commented 13 years ago

We need to figure out how to query mongo-record on specific fields. I tried:

Species.findAll("commonName" -> "shiitake")

But got an error that this was an ambiguous param. Can't really find any examples of doing this.