scope

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Integer

func Integer(params ...string) presto.ScopeFunc

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

func ObjectID(params ...string) presto.ScopeFunc

ObjectID generates a presto.ScoperFunc using the values provided. It will attempt to convert every context parameter into a mongodb primitive.ObjectId

func String

func String(params ...string) presto.ScopeFunc

String generates a presto.ScoperFunc using the values provided. Every context parameter will be compared with an "equals" comparison scope.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL