messageflag

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the messageflag type in the database.
	Label = "message_flag"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// Table holds the table name of the messageflag in the database.
	Table = "message_flags"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldValue,
}

Columns holds all SQL columns for messageflag fields.

View Source
var ForeignKeys = []string{
	"message_flags",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "message_flags" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.MessageFlag) predicate.MessageFlag

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.MessageFlag

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.MessageFlag

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MessageFlag

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.MessageFlag

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.MessageFlag

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.MessageFlag

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.MessageFlag

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.MessageFlag

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.MessageFlag

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.MessageFlag) predicate.MessageFlag

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

func Value

func Value(v string) predicate.MessageFlag

Value applies equality check predicate on the "Value" field. It's identical to ValueEQ.

func ValueContains

func ValueContains(v string) predicate.MessageFlag

ValueContains applies the Contains predicate on the "Value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.MessageFlag

ValueContainsFold applies the ContainsFold predicate on the "Value" field.

func ValueEQ

func ValueEQ(v string) predicate.MessageFlag

ValueEQ applies the EQ predicate on the "Value" field.

func ValueEqualFold

func ValueEqualFold(v string) predicate.MessageFlag

ValueEqualFold applies the EqualFold predicate on the "Value" field.

func ValueGT

func ValueGT(v string) predicate.MessageFlag

ValueGT applies the GT predicate on the "Value" field.

func ValueGTE

func ValueGTE(v string) predicate.MessageFlag

ValueGTE applies the GTE predicate on the "Value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.MessageFlag

ValueHasPrefix applies the HasPrefix predicate on the "Value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.MessageFlag

ValueHasSuffix applies the HasSuffix predicate on the "Value" field.

func ValueIn

func ValueIn(vs ...string) predicate.MessageFlag

ValueIn applies the In predicate on the "Value" field.

func ValueLT

func ValueLT(v string) predicate.MessageFlag

ValueLT applies the LT predicate on the "Value" field.

func ValueLTE

func ValueLTE(v string) predicate.MessageFlag

ValueLTE applies the LTE predicate on the "Value" field.

func ValueNEQ

func ValueNEQ(v string) predicate.MessageFlag

ValueNEQ applies the NEQ predicate on the "Value" field.

func ValueNotIn

func ValueNotIn(vs ...string) predicate.MessageFlag

ValueNotIn applies the NotIn predicate on the "Value" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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