com.sksamuel.scruffy.mongo

MongoDao

abstract class MongoDao[T] extends StrictLogging

Linear Supertypes
StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MongoDao
  2. StrictLogging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoDao(db: () ⇒ MongoDB)(implicit arg0: Manifest[T], serializer: BsonSerializer[T], deserializer: BsonDeserializer[T])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def count(query: DBObject): Int

  9. def count: Int

  10. def cursor(query: DBObject): MongoCursor

  11. def distinct(key: String, q: DBObject): Seq[T]

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def find(q: DBObject): Seq[T]

  16. def find(elems: (String, Any)*): Seq[T]

    Returns all documents matching the given query.

    Returns all documents matching the given query. If no documents match then an empty Seq will be returned.

  17. def findAll: Seq[T]

  18. def findById(id: String): Option[T]

  19. def findOne(query: DBObject): Option[T]

  20. def findOne(elems: (String, Any)*): Option[T]

    Returns the first document matching the given query or a None if the query returned nothing.

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. val logger: Logger

    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def remove(q: DBObject): mongodb.casbah.Imports.WriteResult

  29. def remove(elems: (String, Any)*): mongodb.casbah.Imports.WriteResult

    Removes all documents matching the given fields in the specified collection.

  30. def removeById(id: String): mongodb.casbah.Imports.WriteResult

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def upsert(t: T): T

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped