Documentation ¶
Index ¶
Constants ¶
View Source
const ( Regex = "$regex" Equals = "$eq" GreaterThan = "$gt" LessThan = "$lt" GreaterThanOrEqualTo = "$gte" LessThanOrEqualTo = "$lte" In = "$in" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is a helper struct for building query strings.
func (*Builder) BuildQuery ¶
BuildQuery composes a query string from provided args for the specified storage type.
type Param ¶
Param is a single field's parameter for the query.
func (*Param) IsValidOperator ¶
IsValidOperator returns true if the operator is valid for the field type.
Click to show internal directories.
Click to hide internal directories.