KtMongo
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
KtMongo
MongoDB driver for Kotlin (synchronous)
/
opensavvy.ktmongo.sync
/
MongoAggregationPipeline
Mongo
Aggregation
Pipeline
common
class
MongoAggregationPipeline
<
Output
:
Any
>
:
LazyMongoIterable
<
Output
>
(
source
)
Members
Members & Extensions
Functions
as
Iterable
Link copied to clipboard
common
open
override
fun
asIterable
(
documentType
:
Class
<
Output
>
)
:
MongoIterable
<
Output
>
as
Iterable
Link copied to clipboard
common
inline
fun
<
Document
:
Any
>
LazyMongoIterable
<
Document
>
.
asIterable
(
)
:
MongoIterable
<
Document
>
embed
In
Union
With
Link copied to clipboard
common
open
fun
embedInUnionWith
(
writer
:
<Error class: unknown class>
)
:
<Error class: unknown class>
first
Link copied to clipboard
common
inline
fun
<
Document
:
Any
>
LazyMongoIterable
<
Document
>
.
first
(
)
:
Document
first
Or
Null
Link copied to clipboard
common
inline
fun
<
Document
:
Any
>
LazyMongoIterable
<
Document
>
.
firstOrNull
(
)
:
Document
?
for
Each
Link copied to clipboard
common
inline
fun
<
Document
:
Any
>
LazyMongoIterable
<
Document
>
.
forEach
(
noinline
action
:
(
Document
)
->
Unit
)
limit
Link copied to clipboard
common
open
fun
limit
(
amount
:
Int
)
:
MongoAggregationPipeline
<
Output
>
open
fun
limit
(
amount
:
Long
)
:
MongoAggregationPipeline
<
Output
>
match
Link copied to clipboard
common
open
fun
match
(
filter
:
<Error class: unknown class>
<
Output
>
.
(
)
->
Unit
)
:
MongoAggregationPipeline
<
Output
>
project
Link copied to clipboard
common
open
fun
project
(
block
:
<Error class: unknown class>
<
Output
>
.
(
)
->
Unit
)
:
MongoAggregationPipeline
<
Output
>
reinterpret
Link copied to clipboard
common
open
fun
<
New
:
Any
>
reinterpret
(
)
:
MongoAggregationPipeline
<
New
>
sample
Link copied to clipboard
common
open
fun
sample
(
size
:
Int
)
:
MongoAggregationPipeline
<
Output
>
set
Link copied to clipboard
common
open
fun
set
(
block
:
<Error class: unknown class>
<
Output
>
.
(
)
->
Unit
)
:
MongoAggregationPipeline
<
Output
>
skip
Link copied to clipboard
common
open
fun
skip
(
amount
:
Int
)
:
MongoAggregationPipeline
<
Output
>
open
fun
skip
(
amount
:
Long
)
:
MongoAggregationPipeline
<
Output
>
sort
Link copied to clipboard
common
open
fun
sort
(
block
:
<Error class: unknown class>
<
Output
>
.
(
)
->
Unit
)
:
MongoAggregationPipeline
<
Output
>
to
List
Link copied to clipboard
common
inline
fun
<
Document
:
Any
>
LazyMongoIterable
<
Document
>
.
toList
(
)
:
List
<
Document
>
to
Set
Link copied to clipboard
common
inline
fun
<
Document
:
Any
>
LazyMongoIterable
<
Document
>
.
toSet
(
)
:
Set
<
Document
>
union
With
Link copied to clipboard
common
open
fun
unionWith
(
other
:
<Error class: unknown class>
<
Output
>
)
:
MongoAggregationPipeline
<
Output
>
unset
Link copied to clipboard
common
open
fun
unset
(
block
:
<Error class: unknown class>
<
Output
>
.
(
)
->
Unit
)
:
MongoAggregationPipeline
<
Output
>
with
Stage
Link copied to clipboard
common
open
fun
withStage
(
stage
:
<Error class: unknown class>
)
:
MongoAggregationPipeline
<
Output
>