--
You received this message because you are subscribed to the Google Groups "rogue-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rogue-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
trait CRRatingModel[RATING <: MongoRecord[RATING] with CRRatingRecord[RATING] with MongoMetaRecord[RATING]] {
self: RATING =>
def getAllRatings() = {
val foo = self.where(_.rating eqs 5).fetch()
trait CRRatingModel[RATING <: MongoRecord[RATING] with CRRatingRecord[RATING], RATINGMETA <: RATING with MongoMetaRecord[RATING]] {
//trait CRRatingModel[RATING <: MongoRecord[RATING] with CRRatingRecord[RATING] with MongoMetaRecord[RATING]] {
def RecordType: RATINGMETA
def getAllRatings() = {
val foo = RecordType.where(_.rating eqs 5).fetch()
foo
}
}
Otto