Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed logical error.

  • Loading branch information...
commit 8ce02ba2e54d3ac963bf77ab0b7499a74f4f9982 1 parent 1ac5819
@rajish rajish authored
View
2  salat-core/src/main/scala/com/novus/salat/dao/ModelCompanion.scala
@@ -151,7 +151,7 @@ trait ModelCompanion[ObjectType <: AnyRef, ID <: Any] extends BaseDAOMethods[Obj
* @return count of documents matching the search criteria
*/
def count(q: DBObject, fieldsThatMustExist: List[String] = Nil, fieldsThatMustNotExist: List[String] = Nil) =
- dao.count(q, fieldsThatMustExist, fieldsThatMustExist)
+ dao.count(q, fieldsThatMustExist, fieldsThatMustNotExist)
/** @param ref object for which to search
* @param keys fields to return
Please sign in to comment.
Something went wrong with that request. Please try again.