Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ISearchCount ¶
type ISearchCount interface { bsonx.Bson Total() TotalSearchCount LowerBound() LowerBoundSearchCount Of(count bsonx.Bson) SearchCount }
type LowerBoundSearchCount ¶
type LowerBoundSearchCount interface { ISearchCount }
type SearchCollector ¶
type SearchCount ¶
type SearchCount struct { }
func (SearchCount) BsonDocument ¶
func (s SearchCount) BsonDocument() *bsonx.BsonDocument
func (SearchCount) Document ¶
func (s SearchCount) Document() bson.D
func (SearchCount) LowerBound ¶
func (s SearchCount) LowerBound() LowerBoundSearchCount
func (SearchCount) Of ¶
func (s SearchCount) Of(count bsonx.Bson) SearchCount
func (SearchCount) Total ¶
func (s SearchCount) Total() TotalSearchCount
type SearchHighlight ¶
type SearchHighlight interface { }
type SearchOperator ¶
type SearchOptions ¶
type SearchOptions interface { bsonx.Bson Index(name string) SearchOptions Highlight(option SearchHighlight) SearchOptions Count(option SearchCount) SearchOptions ReturnStoredSource(returnStoredSource bool) SearchOptions Option(name string, value any) SearchOptions }
func DefaultSearchOptions ¶
func DefaultSearchOptions() SearchOptions
type TotalSearchCount ¶
type TotalSearchCount struct {
SearchCount
}
Click to show internal directories.
Click to hide internal directories.