Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WhereDocument ¶
func WhereDocument(operation WhereDocumentOperation) (map[string]interface{}, error)
Types ¶
type Builder ¶
type Builder struct { WhereClause map[string]interface{} // contains filtered or unexported fields }
func NewWhereDocumentBuilder ¶
func NewWhereDocumentBuilder() *Builder
func (*Builder) NotContains ¶
type InvalidWhereDocumentValueError ¶
type InvalidWhereDocumentValueError struct {
Value interface{}
}
func (*InvalidWhereDocumentValueError) Error ¶
func (e *InvalidWhereDocumentValueError) Error() string
type WhereDocumentOperation ¶
func And ¶
func And(ops ...WhereDocumentOperation) WhereDocumentOperation
func Contains ¶
func Contains(value interface{}) WhereDocumentOperation
func NotContains ¶
func NotContains(value interface{}) WhereDocumentOperation
func Or ¶
func Or(ops ...WhereDocumentOperation) WhereDocumentOperation
Click to show internal directories.
Click to hide internal directories.