Documentation ¶
Index ¶
- func Computed[E expression.AnyExpression](fieldName string, expression E) fields
- func ComputedSearchMeta(fieldName string) fields
- func ElemMatch(fieldName string) fields
- func ElemMatchWithFilter(fieldName string, filter bsonx.Bson) fields
- func ExcludeId() fields
- func Include(fieldNames ...string) fields
- func Meta(fieldName string, metaFieldName string) fields
- func MetaSearchHighlights(fieldName string) fields
- func MetaSearchScore(fieldName string) fields
- func MetaTextScore(fieldName string) fields
- func Slice(fieldName string, limit int32) fields
- func SliceWithSkip(fieldName string, limit, skip int32) fields
- type Projections
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Computed ¶
func Computed[E expression.AnyExpression](fieldName string, expression E) fields
func ComputedSearchMeta ¶
func ComputedSearchMeta(fieldName string) fields
func ElemMatchWithFilter ¶
func MetaSearchHighlights ¶
func MetaSearchHighlights(fieldName string) fields
func MetaSearchScore ¶
func MetaSearchScore(fieldName string) fields
func MetaTextScore ¶
func MetaTextScore(fieldName string) fields
func SliceWithSkip ¶
Types ¶
type Projections ¶
type Projections interface {
Pro() *bsonx.BsonDocument
}
func Fields ¶
func Fields(projections ...fields) Projections
Click to show internal directories.
Click to hide internal directories.