abstract class DBCollection[T <: ModelObject] extends Implicits
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DBCollection
- Implicits
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DBCollection(collectionName: String, db: MongoDatabase)
Type Members
- implicit class EnhancedFuture[Result] extends AnyRef
-
implicit
class
AggregateInstructions extends AnyRef
- Definition Classes
- Implicits
-
implicit
class
FieldExtras[T] extends AnyRef
- Definition Classes
- Implicits
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val aggregate: AggregateBuilder[T, T]
- def all(limit: Int = 1000): Future[List[T]]
-
def
and(conditions: MatchCondition*): MatchCondition
- Definition Classes
- Implicits
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val batch: Batch[T]
- def byIds(ids: Seq[String]): Future[List[T]]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- lazy val collection: MongoCollection[Document]
- val collectionName: String
- def count(): Future[Long]
- def create(): Future[Unit]
- val db: MongoDatabase
- def delete(ids: Seq[String]): Future[Either[DBFailure, Int]]
- def delete(id: String): Future[Either[DBFailure, Unit]]
- def drop(): Future[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
field[T](name: String): Field[T]
- Definition Classes
- Implicits
-
implicit
def
field2String[T](field: Field[T]): String
- Definition Classes
- Implicits
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def get(id: String): Future[Option[T]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def insert(value: T): Future[Either[DBFailure, T]]
- def insert(values: Seq[T]): Future[Either[DBFailure, Seq[T]]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def largeSample(size: Int, groupSize: Int, retries: Int = 2, samples: Set[T] = Set.empty): Future[Either[DBFailure, Set[T]]]
- lazy val monitor: CollectionMonitor[T]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
or(conditions: MatchCondition*): MatchCondition
- Definition Classes
- Implicits
- def sample(size: Int, retries: Int = 2): Future[Either[DBFailure, List[T]]]
-
def
sum(name: String): ProjectField
- Definition Classes
- Implicits
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def update(values: Seq[T]): Future[BulkWriteResult]
- def update(value: T): Future[Either[DBFailure, T]]
- def upsert(values: Seq[T]): Future[BulkWriteResult]
- def upsert(value: T): Future[Either[DBFailure, T]]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )