1

The documentation for Casbah does not mention play framework.

What is the format of scala domain model for Casbah in Play framework 1.2.2RC1+ and how do I make queries ?

ace
  • 11,526
  • 39
  • 113
  • 193

1 Answers1

1

I would say - the same as in Casbah without Play. There's little magic going on between the "C" and "M" parts of Play, so you can just implement your model as you like. Queries you typically trigger from the controller, and in the Scala case, I'd wrap them in domain model companion objects.

cdegroot
  • 1,765
  • 11
  • 12