com.sksamuel.scruffy.mongo

MongoDao

Related Doc: package mongo

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

  7. def count: Int

  8. def cursor(query: DBObject): MongoCursor

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

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

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

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

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

  14. 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.

  15. def findAll: Seq[T]

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

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

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

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

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

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

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

    Definition Classes
    Any
  22. val logger: Logger

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  30. def toString(): String

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

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped