Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxySchemaMigrations) predicate.ProxySchemaMigrations
- func Dirty(v bool) predicate.ProxySchemaMigrations
- func DirtyEQ(v bool) predicate.ProxySchemaMigrations
- func DirtyNEQ(v bool) predicate.ProxySchemaMigrations
- func ID(id int64) predicate.ProxySchemaMigrations
- func IDEQ(id int64) predicate.ProxySchemaMigrations
- func IDGT(id int64) predicate.ProxySchemaMigrations
- func IDGTE(id int64) predicate.ProxySchemaMigrations
- func IDIn(ids ...int64) predicate.ProxySchemaMigrations
- func IDLT(id int64) predicate.ProxySchemaMigrations
- func IDLTE(id int64) predicate.ProxySchemaMigrations
- func IDNEQ(id int64) predicate.ProxySchemaMigrations
- func IDNotIn(ids ...int64) predicate.ProxySchemaMigrations
- func Not(p predicate.ProxySchemaMigrations) predicate.ProxySchemaMigrations
- func Or(predicates ...predicate.ProxySchemaMigrations) predicate.ProxySchemaMigrations
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxyschemamigrations type in the database. Label = "proxy_schema_migrations" // FieldID holds the string denoting the id field in the database. FieldID = "version" // FieldDirty holds the string denoting the dirty field in the database. FieldDirty = "dirty" // Table holds the table name of the proxyschemamigrations in the database. Table = "schema_migrations" )
Variables ¶
var Columns = []string{ FieldID, FieldDirty, }
Columns holds all SQL columns for proxyschemamigrations fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxySchemaMigrations) predicate.ProxySchemaMigrations
And groups predicates with the AND operator between them.
func Dirty ¶
func Dirty(v bool) predicate.ProxySchemaMigrations
Dirty applies equality check predicate on the "dirty" field. It's identical to DirtyEQ.
func DirtyEQ ¶
func DirtyEQ(v bool) predicate.ProxySchemaMigrations
DirtyEQ applies the EQ predicate on the "dirty" field.
func DirtyNEQ ¶
func DirtyNEQ(v bool) predicate.ProxySchemaMigrations
DirtyNEQ applies the NEQ predicate on the "dirty" field.
func ID ¶
func ID(id int64) predicate.ProxySchemaMigrations
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxySchemaMigrations
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxySchemaMigrations
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxySchemaMigrations
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxySchemaMigrations
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxySchemaMigrations
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxySchemaMigrations
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxySchemaMigrations
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxySchemaMigrations
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProxySchemaMigrations) predicate.ProxySchemaMigrations
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProxySchemaMigrations) predicate.ProxySchemaMigrations
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ProxySchemaMigrations queries.
func ByDirty ¶
func ByDirty(opts ...sql.OrderTermOption) OrderOption
ByDirty orders the results by the dirty field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.