Documentation ¶
Index ¶
- func IsComparable(val interface{}) bool
- func IsDateTime(val interface{}) bool
- func IsNumeric(val interface{}) bool
- func IsObjectID(val interface{}) bool
- func IsString(val interface{}) bool
- func Max(vals []interface{}) interface{}
- func Min(vals []interface{}) interface{}
- func Sort(vals []interface{}) []interface{}
- type Operator
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsComparable ¶
func IsComparable(val interface{}) bool
IsComparable returns true if a val is comparable.
func IsDateTime ¶
func IsDateTime(val interface{}) bool
IsDateTime returns true if a val is datetime.
func IsObjectID ¶
func IsObjectID(val interface{}) bool
IsObjectID returns true if a val is ObjectID.
func Max ¶
func Max(vals []interface{}) interface{}
Max returns the maximum value in vals if each elements in vals is comparable, otherwise returns nil.
Types ¶
Click to show internal directories.
Click to hide internal directories.