mixinid

package
Version: v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the mixinid type in the database.
	Label = "mixin_id"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSomeField holds the string denoting the some_field field in the database.
	FieldSomeField = "some_field"
	// FieldMixinField holds the string denoting the mixin_field field in the database.
	FieldMixinField = "mixin_field"
	// Table holds the table name of the mixinid in the database.
	Table = "mixin_ids"
)

Variables

Columns holds all SQL columns for mixinid fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Functions

func And

func And(predicates ...predicate.MixinID) predicate.MixinID

And groups predicates with the AND operator between them.

func ID

func ID(id uuid.UUID) predicate.MixinID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.MixinID

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.MixinID

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.MixinID

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.MixinID

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.MixinID

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.MixinID

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.MixinID

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.MixinID

IDNotIn applies the NotIn predicate on the ID field.

func MixinField

func MixinField(v string) predicate.MixinID

MixinField applies equality check predicate on the "mixin_field" field. It's identical to MixinFieldEQ.

func MixinFieldContains

func MixinFieldContains(v string) predicate.MixinID

MixinFieldContains applies the Contains predicate on the "mixin_field" field.

func MixinFieldContainsFold

func MixinFieldContainsFold(v string) predicate.MixinID

MixinFieldContainsFold applies the ContainsFold predicate on the "mixin_field" field.

func MixinFieldEQ

func MixinFieldEQ(v string) predicate.MixinID

MixinFieldEQ applies the EQ predicate on the "mixin_field" field.

func MixinFieldEqualFold

func MixinFieldEqualFold(v string) predicate.MixinID

MixinFieldEqualFold applies the EqualFold predicate on the "mixin_field" field.

func MixinFieldGT

func MixinFieldGT(v string) predicate.MixinID

MixinFieldGT applies the GT predicate on the "mixin_field" field.

func MixinFieldGTE

func MixinFieldGTE(v string) predicate.MixinID

MixinFieldGTE applies the GTE predicate on the "mixin_field" field.

func MixinFieldHasPrefix

func MixinFieldHasPrefix(v string) predicate.MixinID

MixinFieldHasPrefix applies the HasPrefix predicate on the "mixin_field" field.

func MixinFieldHasSuffix

func MixinFieldHasSuffix(v string) predicate.MixinID

MixinFieldHasSuffix applies the HasSuffix predicate on the "mixin_field" field.

func MixinFieldIn

func MixinFieldIn(vs ...string) predicate.MixinID

MixinFieldIn applies the In predicate on the "mixin_field" field.

func MixinFieldLT

func MixinFieldLT(v string) predicate.MixinID

MixinFieldLT applies the LT predicate on the "mixin_field" field.

func MixinFieldLTE

func MixinFieldLTE(v string) predicate.MixinID

MixinFieldLTE applies the LTE predicate on the "mixin_field" field.

func MixinFieldNEQ

func MixinFieldNEQ(v string) predicate.MixinID

MixinFieldNEQ applies the NEQ predicate on the "mixin_field" field.

func MixinFieldNotIn

func MixinFieldNotIn(vs ...string) predicate.MixinID

MixinFieldNotIn applies the NotIn predicate on the "mixin_field" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.MixinID) predicate.MixinID

Or groups predicates with the OR operator between them.

func SomeField

func SomeField(v string) predicate.MixinID

SomeField applies equality check predicate on the "some_field" field. It's identical to SomeFieldEQ.

func SomeFieldContains

func SomeFieldContains(v string) predicate.MixinID

SomeFieldContains applies the Contains predicate on the "some_field" field.

func SomeFieldContainsFold

func SomeFieldContainsFold(v string) predicate.MixinID

SomeFieldContainsFold applies the ContainsFold predicate on the "some_field" field.

func SomeFieldEQ

func SomeFieldEQ(v string) predicate.MixinID

SomeFieldEQ applies the EQ predicate on the "some_field" field.

func SomeFieldEqualFold

func SomeFieldEqualFold(v string) predicate.MixinID

SomeFieldEqualFold applies the EqualFold predicate on the "some_field" field.

func SomeFieldGT

func SomeFieldGT(v string) predicate.MixinID

SomeFieldGT applies the GT predicate on the "some_field" field.

func SomeFieldGTE

func SomeFieldGTE(v string) predicate.MixinID

SomeFieldGTE applies the GTE predicate on the "some_field" field.

func SomeFieldHasPrefix

func SomeFieldHasPrefix(v string) predicate.MixinID

SomeFieldHasPrefix applies the HasPrefix predicate on the "some_field" field.

func SomeFieldHasSuffix

func SomeFieldHasSuffix(v string) predicate.MixinID

SomeFieldHasSuffix applies the HasSuffix predicate on the "some_field" field.

func SomeFieldIn

func SomeFieldIn(vs ...string) predicate.MixinID

SomeFieldIn applies the In predicate on the "some_field" field.

func SomeFieldLT

func SomeFieldLT(v string) predicate.MixinID

SomeFieldLT applies the LT predicate on the "some_field" field.

func SomeFieldLTE

func SomeFieldLTE(v string) predicate.MixinID

SomeFieldLTE applies the LTE predicate on the "some_field" field.

func SomeFieldNEQ

func SomeFieldNEQ(v string) predicate.MixinID

SomeFieldNEQ applies the NEQ predicate on the "some_field" field.

func SomeFieldNotIn

func SomeFieldNotIn(vs ...string) predicate.MixinID

SomeFieldNotIn applies the NotIn predicate on the "some_field" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto