Documentation
¶
Index ¶
- func StringFromValue(value interface{}) string
- type Builder
- func (qb *Builder) And(queryBuilders ...*Builder) *Builder
- func (qb *Builder) AndContains(tag string, operand interface{}) *Builder
- func (qb *Builder) AndEquals(tag string, operand interface{}) *Builder
- func (qb *Builder) AndGreaterThanOrEqual(tag string, operand interface{}) *Builder
- func (qb *Builder) AndLessThanOrEqual(tag string, operand interface{}) *Builder
- func (qb *Builder) AndStrictlyGreaterThan(tag string, operand interface{}) *Builder
- func (qb *Builder) AndStrictlyLessThan(tag string, operand interface{}) *Builder
- func (qb *Builder) Query() (pubsub.Query, error)
- func (qb *Builder) String() string
- type Empty
- type Query
- type Queryable
- type String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringFromValue ¶
func StringFromValue(value interface{}) string
Types ¶
type Builder ¶
type Builder struct { // reusable buffer for building queryString bytes.Buffer // contains filtered or unexported fields }
A fluent query builder
func NewBuilder ¶
Creates a new query builder with a base query that is the conjunction of all queries passed
func (*Builder) AndContains ¶
func (*Builder) AndGreaterThanOrEqual ¶
func (*Builder) AndLessThanOrEqual ¶
func (*Builder) AndStrictlyGreaterThan ¶
func (*Builder) AndStrictlyLessThan ¶
type Queryable ¶
func MatchAllQueryable ¶
func MatchAllQueryable() Queryable
Click to show internal directories.
Click to hide internal directories.