com.sksamuel.scruffy.mongo

MongoOps

trait MongoOps extends AnyRef

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

Abstract Value Members

  1. implicit abstract val executor: ExecutionContext

  2. abstract val mongoDB: mongodb.casbah.Imports.MongoDB

Concrete 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 collectionExists[T](implicit arg0: Manifest[T]): Future[Boolean]

  7. def collectionExists(name: String): Future[Boolean]

  8. def collectionName[T](implicit arg0: Manifest[T]): String

    Attributes
    protected
  9. def count[T](query: MongoDBObject)(implicit arg0: Manifest[T]): Future[Int]

  10. def count(query: MongoDBObject, col: String): Future[Int]

  11. def dropCollection(name: String): Future[Unit]

  12. def dropCollection[T](implicit arg0: Manifest[T]): Future[Unit]

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

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

    Definition Classes
    AnyRef → Any
  15. def exists[T](query: MongoDBObject)(implicit arg0: Manifest[T]): Future[Boolean]

  16. def exists(query: MongoDBObject, col: String): Future[Boolean]

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def find[T](dbo: MongoDBObject)(implicit arg0: Manifest[T]): Future[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.

  19. def findById[T](id: String)(implicit arg0: Manifest[T]): Future[T]

  20. def findOne[T](query: MongoDBObject)(implicit arg0: Manifest[T]): Future[Option[T]]

  21. def findOne[T](elems: (String, Any)*)(implicit arg0: Manifest[T]): Future[Option[T]]

    Returns the first document matching the given query or returns a failed future if no matching document was found.

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

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

    Definition Classes
    AnyRef → Any
  24. def insert[T](t: T, col: String): Future[T]

  25. def insert[T](t: T)(implicit arg0: Manifest[T]): Future[T]

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. val mapper: ObjectMapper with ScalaObjectMapper

    Attributes
    protected
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. def remove[T](t: T)(implicit arg0: Manifest[T]): Future[mongodb.casbah.Imports.WriteResult]

    Removes the document matching the given object in the collection for the objects type.

  32. def remove[T](id: String)(implicit arg0: Manifest[T]): Future[mongodb.casbah.Imports.WriteResult]

    Removes the document matching the given id in the collection for the type parameter.

  33. def remove(id: String, col: String): Future[mongodb.casbah.Imports.WriteResult]

    Removes the document matching the given id in the specified collection

  34. def remove(col: String, elems: (String, Any)*): Future[mongodb.casbah.Imports.WriteResult]

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

  35. def remove[T](elems: (String, Any)*)(implicit arg0: Manifest[T]): Future[mongodb.casbah.Imports.WriteResult]

    Removes all objects that match the specified query in the collection for the type parameter.

  36. def remove(q: MongoDBObject, col: String): Future[mongodb.casbah.Imports.WriteResult]

    Removes all documents matching the query in the specified collection.

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

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def upsert[T](t: T)(implicit arg0: Manifest[T]): Future[T]

  40. def uuid: String

    Attributes
    protected
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped