envalias

package
v0.0.0-...-af2bad0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for envalias fields.

View Source
var (
	// DefaultIsRenamable holds the default value on creation for the "is_renamable" field.
	DefaultIsRenamable bool
)

Functions

func And

func And(predicates ...predicate.EnvAlias) predicate.EnvAlias

And groups predicates with the AND operator between them.

func EnvID

func EnvID(v string) predicate.EnvAlias

EnvID applies equality check predicate on the "env_id" field. It's identical to EnvIDEQ.

func EnvIDContains

func EnvIDContains(v string) predicate.EnvAlias

EnvIDContains applies the Contains predicate on the "env_id" field.

func EnvIDContainsFold

func EnvIDContainsFold(v string) predicate.EnvAlias

EnvIDContainsFold applies the ContainsFold predicate on the "env_id" field.

func EnvIDEQ

func EnvIDEQ(v string) predicate.EnvAlias

EnvIDEQ applies the EQ predicate on the "env_id" field.

func EnvIDEqualFold

func EnvIDEqualFold(v string) predicate.EnvAlias

EnvIDEqualFold applies the EqualFold predicate on the "env_id" field.

func EnvIDGT

func EnvIDGT(v string) predicate.EnvAlias

EnvIDGT applies the GT predicate on the "env_id" field.

func EnvIDGTE

func EnvIDGTE(v string) predicate.EnvAlias

EnvIDGTE applies the GTE predicate on the "env_id" field.

func EnvIDHasPrefix

func EnvIDHasPrefix(v string) predicate.EnvAlias

EnvIDHasPrefix applies the HasPrefix predicate on the "env_id" field.

func EnvIDHasSuffix

func EnvIDHasSuffix(v string) predicate.EnvAlias

EnvIDHasSuffix applies the HasSuffix predicate on the "env_id" field.

func EnvIDIn

func EnvIDIn(vs ...string) predicate.EnvAlias

EnvIDIn applies the In predicate on the "env_id" field.

func EnvIDLT

func EnvIDLT(v string) predicate.EnvAlias

EnvIDLT applies the LT predicate on the "env_id" field.

func EnvIDLTE

func EnvIDLTE(v string) predicate.EnvAlias

EnvIDLTE applies the LTE predicate on the "env_id" field.

func EnvIDNEQ

func EnvIDNEQ(v string) predicate.EnvAlias

EnvIDNEQ applies the NEQ predicate on the "env_id" field.

func EnvIDNotIn

func EnvIDNotIn(vs ...string) predicate.EnvAlias

EnvIDNotIn applies the NotIn predicate on the "env_id" field.

func HasEnv

func HasEnv() predicate.EnvAlias

HasEnv applies the HasEdge predicate on the "env" edge.

func HasEnvWith

func HasEnvWith(preds ...predicate.Env) predicate.EnvAlias

HasEnvWith applies the HasEdge predicate on the "env" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.EnvAlias

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.EnvAlias

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.EnvAlias

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.EnvAlias

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.EnvAlias

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.EnvAlias

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.EnvAlias

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.EnvAlias

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.EnvAlias

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.EnvAlias

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.EnvAlias

IDNotIn applies the NotIn predicate on the ID field.

func IsRenamable

func IsRenamable(v bool) predicate.EnvAlias

IsRenamable applies equality check predicate on the "is_renamable" field. It's identical to IsRenamableEQ.

func IsRenamableEQ

func IsRenamableEQ(v bool) predicate.EnvAlias

IsRenamableEQ applies the EQ predicate on the "is_renamable" field.

func IsRenamableNEQ

func IsRenamableNEQ(v bool) predicate.EnvAlias

IsRenamableNEQ applies the NEQ predicate on the "is_renamable" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.EnvAlias) predicate.EnvAlias

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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