Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EnvAlias) predicate.EnvAlias
- func EnvID(v string) predicate.EnvAlias
- func EnvIDContains(v string) predicate.EnvAlias
- func EnvIDContainsFold(v string) predicate.EnvAlias
- func EnvIDEQ(v string) predicate.EnvAlias
- func EnvIDEqualFold(v string) predicate.EnvAlias
- func EnvIDGT(v string) predicate.EnvAlias
- func EnvIDGTE(v string) predicate.EnvAlias
- func EnvIDHasPrefix(v string) predicate.EnvAlias
- func EnvIDHasSuffix(v string) predicate.EnvAlias
- func EnvIDIn(vs ...string) predicate.EnvAlias
- func EnvIDLT(v string) predicate.EnvAlias
- func EnvIDLTE(v string) predicate.EnvAlias
- func EnvIDNEQ(v string) predicate.EnvAlias
- func EnvIDNotIn(vs ...string) predicate.EnvAlias
- func HasEnv() predicate.EnvAlias
- func HasEnvWith(preds ...predicate.Env) predicate.EnvAlias
- func ID(id string) predicate.EnvAlias
- func IDContainsFold(id string) predicate.EnvAlias
- func IDEQ(id string) predicate.EnvAlias
- func IDEqualFold(id string) predicate.EnvAlias
- func IDGT(id string) predicate.EnvAlias
- func IDGTE(id string) predicate.EnvAlias
- func IDIn(ids ...string) predicate.EnvAlias
- func IDLT(id string) predicate.EnvAlias
- func IDLTE(id string) predicate.EnvAlias
- func IDNEQ(id string) predicate.EnvAlias
- func IDNotIn(ids ...string) predicate.EnvAlias
- func IsRenamable(v bool) predicate.EnvAlias
- func IsRenamableEQ(v bool) predicate.EnvAlias
- func IsRenamableNEQ(v bool) predicate.EnvAlias
- func Not(p predicate.EnvAlias) predicate.EnvAlias
- func Or(predicates ...predicate.EnvAlias) predicate.EnvAlias
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the envalias type in the database. Label = "env_alias" // FieldID holds the string denoting the id field in the database. FieldID = "alias" // FieldEnvID holds the string denoting the env_id field in the database. FieldEnvID = "env_id" // FieldIsRenamable holds the string denoting the is_renamable field in the database. FieldIsRenamable = "is_renamable" // EdgeEnv holds the string denoting the env edge name in mutations. EdgeEnv = "env" // EnvFieldID holds the string denoting the ID field of the Env. EnvFieldID = "id" // Table holds the table name of the envalias in the database. Table = "env_aliases" // EnvTable is the table that holds the env relation/edge. EnvTable = "env_aliases" // EnvInverseTable is the table name for the Env entity. // It exists in this package in order to avoid circular dependency with the "env" package. EnvInverseTable = "envs" // EnvColumn is the table column denoting the env relation/edge. EnvColumn = "env_id" )
Variables ¶
var Columns = []string{ FieldID, FieldEnvID, FieldIsRenamable, }
Columns holds all SQL columns for envalias fields.
var ( // DefaultIsRenamable holds the default value on creation for the "is_renamable" field. DefaultIsRenamable bool )
Functions ¶
func EnvID ¶
EnvID applies equality check predicate on the "env_id" field. It's identical to EnvIDEQ.
func EnvIDContains ¶
EnvIDContains applies the Contains predicate on the "env_id" field.
func EnvIDContainsFold ¶
EnvIDContainsFold applies the ContainsFold predicate on the "env_id" field.
func EnvIDEqualFold ¶
EnvIDEqualFold applies the EqualFold predicate on the "env_id" field.
func EnvIDHasPrefix ¶
EnvIDHasPrefix applies the HasPrefix predicate on the "env_id" field.
func EnvIDHasSuffix ¶
EnvIDHasSuffix applies the HasSuffix predicate on the "env_id" field.
func EnvIDNotIn ¶
EnvIDNotIn applies the NotIn predicate on the "env_id" field.
func HasEnvWith ¶
HasEnvWith applies the HasEdge predicate on the "env" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IsRenamable ¶
IsRenamable applies equality check predicate on the "is_renamable" field. It's identical to IsRenamableEQ.
func IsRenamableEQ ¶
IsRenamableEQ applies the EQ predicate on the "is_renamable" field.
func IsRenamableNEQ ¶
IsRenamableNEQ applies the NEQ predicate on the "is_renamable" field.
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 EnvAlias queries.
func ByEnvField ¶
func ByEnvField(field string, opts ...sql.OrderTermOption) OrderOption
ByEnvField orders the results by env field.
func ByEnvID ¶
func ByEnvID(opts ...sql.OrderTermOption) OrderOption
ByEnvID orders the results by the env_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsRenamable ¶
func ByIsRenamable(opts ...sql.OrderTermOption) OrderOption
ByIsRenamable orders the results by the is_renamable field.