Aggregate

mongo4cats.operations.Aggregate$
See theAggregate companion trait
object Aggregate

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Aggregate.type

Members list

Type members

Classlikes

final case class Facet(name: String, pipeline: Aggregate)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def bucketAuto[TExpression](groupBy: TExpression, buckets: Int, options: BucketAutoOptions): Aggregate
def count(field: String): Aggregate
def facet(facets: List[Facet]): Aggregate
def facet(facets: Facet*): Aggregate
def graphLookup[TExpression](from: String, startWith: TExpression, connectFromField: String, connectToField: String, as: String, options: GraphLookupOptions): Aggregate
def group[TExpression](id: TExpression, fieldAccumulators: Accumulator): Aggregate
def limit(n: Int): Aggregate
def lookup(from: String, localField: String, foreignField: String, as: String): Aggregate
def lookup(from: String, pipeline: Aggregate, as: String): Aggregate
def matchBy(filter: Filter): Aggregate
def merge(collectionName: String, options: MergeOptions): Aggregate
def out(collectionName: String): Aggregate
def out(databaseName: String, collectionName: String): Aggregate
def project(projection: Projection): Aggregate
def replaceWith[TExpression](value: TExpression): Aggregate
def sample(size: Int): Aggregate
def skip(n: Int): Aggregate
def sort(sort: Sort): Aggregate
def sortByCount[TExpression](filter: TExpression): Aggregate
def unionWith(collection: String, pipeline: Aggregate): Aggregate
def unwind(fieldName: String, options: UnwindOptions): Aggregate