Documentation ¶
Index ¶
- func And(params ...presto.ScopeFunc) presto.ScopeFunc
- func Integer(params ...string) presto.ScopeFunc
- func NotDeleted(ctx presto.Context) (expression.Expression, *derp.Error)
- func ObjectID(params ...string) presto.ScopeFunc
- func Or(params ...presto.ScopeFunc) presto.ScopeFunc
- func String(params ...string) presto.ScopeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func And ¶ added in v0.8.0
And generates a presto.ScopeFunc that concatenates a set of other ScopeFunc's into a single expression
func Integer ¶
Integer generates a presto.ScoperFunc using the values provided. Every context parameter will be compared with an "equals" comparison scope.
func NotDeleted ¶
func NotDeleted(ctx presto.Context) (expression.Expression, *derp.Error)
NotDeleted filters out all records that have not been "virtually deleted" from the database.
func ObjectID ¶
ObjectID generates a presto.ScoperFunc using the values provided. It will attempt to convert every context parameter into a mongodb primitive.ObjectId
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.