kongo
Toggle table of contents
0.8.0
jvm
Platform filter
jvm
Switch theme
Search in API
kongo
services
/
dev.stashy.kongo.builders
/
ProjectionBuilder
Projection
Builder
class
ProjectionBuilder
<
T
>
(
source
)
Members
Constructors
Projection
Builder
Link copied to clipboard
constructor
(
)
Functions
combine
Link copied to clipboard
fun
combine
(
vararg
projection
:
Bson
)
:
Bson
fun
combine
(
projections
:
List
<
Bson
>
)
:
Bson
computed
Link copied to clipboard
fun
<
TExpression
>
computed
(
field
:
KProperty1
<
T
,
*
>
,
expression
:
TExpression
&
Any
)
:
Bson
computed
Search
Meta
Link copied to clipboard
fun
computedSearchMeta
(
field
:
KProperty1
<
T
,
*
>
)
:
Bson
elem
Match
Link copied to clipboard
fun
elemMatch
(
field
:
KProperty1
<
T
,
*
>
)
:
Bson
fun
elemMatch
(
field
:
KProperty1
<
T
,
*
>
,
filter
:
FilterBuilder
<
T
>
.
(
)
->
Bson
)
:
Bson
exclude
Link copied to clipboard
fun
exclude
(
vararg
fields
:
KProperty1
<
T
,
*
>
)
:
Bson
fun
exclude
(
fields
:
Iterable
<
KProperty1
<
T
,
*
>
>
)
:
Bson
exclude
Id
Link copied to clipboard
fun
excludeId
(
)
:
Bson
include
Link copied to clipboard
fun
include
(
vararg
fields
:
KProperty1
<
T
,
*
>
)
:
Bson
fun
include
(
fields
:
Iterable
<
KProperty1
<
T
,
*
>
>
)
:
Bson
meta
Link copied to clipboard
fun
meta
(
field
:
KProperty1
<
T
,
*
>
,
metaFieldName
:
String
)
:
Bson
meta
Search
Highlights
Link copied to clipboard
fun
metaSearchHighlights
(
field
:
KProperty1
<
T
,
*
>
)
:
Bson
meta
Search
Score
Link copied to clipboard
fun
metaSearchScore
(
field
:
KProperty1
<
T
,
*
>
)
:
Bson
meta
Text
Score
Link copied to clipboard
fun
metaTextScore
(
field
:
KProperty1
<
T
,
*
>
)
:
Bson
meta
Vector
Search
Score
Link copied to clipboard
fun
metaVectorSearchScore
(
field
:
KProperty1
<
T
,
*
>
)
:
Bson
slice
Link copied to clipboard
fun
slice
(
field
:
KProperty1
<
T
,
*
>
,
skip
:
Int
=
0
,
limit
:
Int
)
:
Bson