Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.WingetConfigExclusion) predicate.WingetConfigExclusion
- func HasOwner() predicate.WingetConfigExclusion
- func HasOwnerWith(preds ...predicate.Agent) predicate.WingetConfigExclusion
- func ID(id int) predicate.WingetConfigExclusion
- func IDEQ(id int) predicate.WingetConfigExclusion
- func IDGT(id int) predicate.WingetConfigExclusion
- func IDGTE(id int) predicate.WingetConfigExclusion
- func IDIn(ids ...int) predicate.WingetConfigExclusion
- func IDLT(id int) predicate.WingetConfigExclusion
- func IDLTE(id int) predicate.WingetConfigExclusion
- func IDNEQ(id int) predicate.WingetConfigExclusion
- func IDNotIn(ids ...int) predicate.WingetConfigExclusion
- func Not(p predicate.WingetConfigExclusion) predicate.WingetConfigExclusion
- func Or(predicates ...predicate.WingetConfigExclusion) predicate.WingetConfigExclusion
- func PackageID(v string) predicate.WingetConfigExclusion
- func PackageIDContains(v string) predicate.WingetConfigExclusion
- func PackageIDContainsFold(v string) predicate.WingetConfigExclusion
- func PackageIDEQ(v string) predicate.WingetConfigExclusion
- func PackageIDEqualFold(v string) predicate.WingetConfigExclusion
- func PackageIDGT(v string) predicate.WingetConfigExclusion
- func PackageIDGTE(v string) predicate.WingetConfigExclusion
- func PackageIDHasPrefix(v string) predicate.WingetConfigExclusion
- func PackageIDHasSuffix(v string) predicate.WingetConfigExclusion
- func PackageIDIn(vs ...string) predicate.WingetConfigExclusion
- func PackageIDLT(v string) predicate.WingetConfigExclusion
- func PackageIDLTE(v string) predicate.WingetConfigExclusion
- func PackageIDNEQ(v string) predicate.WingetConfigExclusion
- func PackageIDNotIn(vs ...string) predicate.WingetConfigExclusion
- func ValidColumn(column string) bool
- func When(v time.Time) predicate.WingetConfigExclusion
- func WhenEQ(v time.Time) predicate.WingetConfigExclusion
- func WhenGT(v time.Time) predicate.WingetConfigExclusion
- func WhenGTE(v time.Time) predicate.WingetConfigExclusion
- func WhenIn(vs ...time.Time) predicate.WingetConfigExclusion
- func WhenIsNil() predicate.WingetConfigExclusion
- func WhenLT(v time.Time) predicate.WingetConfigExclusion
- func WhenLTE(v time.Time) predicate.WingetConfigExclusion
- func WhenNEQ(v time.Time) predicate.WingetConfigExclusion
- func WhenNotIn(vs ...time.Time) predicate.WingetConfigExclusion
- func WhenNotNil() predicate.WingetConfigExclusion
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the wingetconfigexclusion type in the database. Label = "winget_config_exclusion" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPackageID holds the string denoting the package_id field in the database. FieldPackageID = "package_id" // FieldWhen holds the string denoting the when field in the database. FieldWhen = "when" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // AgentFieldID holds the string denoting the ID field of the Agent. AgentFieldID = "oid" // Table holds the table name of the wingetconfigexclusion in the database. Table = "winget_config_exclusions" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "winget_config_exclusions" // OwnerInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. OwnerInverseTable = "agents" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "agent_wingetcfgexclusions" )
Variables ¶
var Columns = []string{ FieldID, FieldPackageID, FieldWhen, }
Columns holds all SQL columns for wingetconfigexclusion fields.
var ( // DefaultWhen holds the default value on creation for the "when" field. DefaultWhen func() time.Time )
var ForeignKeys = []string{
"agent_wingetcfgexclusions",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "winget_config_exclusions" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.WingetConfigExclusion) predicate.WingetConfigExclusion
And groups predicates with the AND operator between them.
func HasOwner ¶
func HasOwner() predicate.WingetConfigExclusion
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Agent) predicate.WingetConfigExclusion
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.WingetConfigExclusion
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.WingetConfigExclusion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.WingetConfigExclusion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.WingetConfigExclusion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.WingetConfigExclusion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.WingetConfigExclusion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.WingetConfigExclusion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.WingetConfigExclusion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.WingetConfigExclusion
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.WingetConfigExclusion) predicate.WingetConfigExclusion
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.WingetConfigExclusion) predicate.WingetConfigExclusion
Or groups predicates with the OR operator between them.
func PackageID ¶
func PackageID(v string) predicate.WingetConfigExclusion
PackageID applies equality check predicate on the "package_id" field. It's identical to PackageIDEQ.
func PackageIDContains ¶
func PackageIDContains(v string) predicate.WingetConfigExclusion
PackageIDContains applies the Contains predicate on the "package_id" field.
func PackageIDContainsFold ¶
func PackageIDContainsFold(v string) predicate.WingetConfigExclusion
PackageIDContainsFold applies the ContainsFold predicate on the "package_id" field.
func PackageIDEQ ¶
func PackageIDEQ(v string) predicate.WingetConfigExclusion
PackageIDEQ applies the EQ predicate on the "package_id" field.
func PackageIDEqualFold ¶
func PackageIDEqualFold(v string) predicate.WingetConfigExclusion
PackageIDEqualFold applies the EqualFold predicate on the "package_id" field.
func PackageIDGT ¶
func PackageIDGT(v string) predicate.WingetConfigExclusion
PackageIDGT applies the GT predicate on the "package_id" field.
func PackageIDGTE ¶
func PackageIDGTE(v string) predicate.WingetConfigExclusion
PackageIDGTE applies the GTE predicate on the "package_id" field.
func PackageIDHasPrefix ¶
func PackageIDHasPrefix(v string) predicate.WingetConfigExclusion
PackageIDHasPrefix applies the HasPrefix predicate on the "package_id" field.
func PackageIDHasSuffix ¶
func PackageIDHasSuffix(v string) predicate.WingetConfigExclusion
PackageIDHasSuffix applies the HasSuffix predicate on the "package_id" field.
func PackageIDIn ¶
func PackageIDIn(vs ...string) predicate.WingetConfigExclusion
PackageIDIn applies the In predicate on the "package_id" field.
func PackageIDLT ¶
func PackageIDLT(v string) predicate.WingetConfigExclusion
PackageIDLT applies the LT predicate on the "package_id" field.
func PackageIDLTE ¶
func PackageIDLTE(v string) predicate.WingetConfigExclusion
PackageIDLTE applies the LTE predicate on the "package_id" field.
func PackageIDNEQ ¶
func PackageIDNEQ(v string) predicate.WingetConfigExclusion
PackageIDNEQ applies the NEQ predicate on the "package_id" field.
func PackageIDNotIn ¶
func PackageIDNotIn(vs ...string) predicate.WingetConfigExclusion
PackageIDNotIn applies the NotIn predicate on the "package_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func When ¶
func When(v time.Time) predicate.WingetConfigExclusion
When applies equality check predicate on the "when" field. It's identical to WhenEQ.
func WhenEQ ¶
func WhenEQ(v time.Time) predicate.WingetConfigExclusion
WhenEQ applies the EQ predicate on the "when" field.
func WhenGT ¶
func WhenGT(v time.Time) predicate.WingetConfigExclusion
WhenGT applies the GT predicate on the "when" field.
func WhenGTE ¶
func WhenGTE(v time.Time) predicate.WingetConfigExclusion
WhenGTE applies the GTE predicate on the "when" field.
func WhenIn ¶
func WhenIn(vs ...time.Time) predicate.WingetConfigExclusion
WhenIn applies the In predicate on the "when" field.
func WhenIsNil ¶
func WhenIsNil() predicate.WingetConfigExclusion
WhenIsNil applies the IsNil predicate on the "when" field.
func WhenLT ¶
func WhenLT(v time.Time) predicate.WingetConfigExclusion
WhenLT applies the LT predicate on the "when" field.
func WhenLTE ¶
func WhenLTE(v time.Time) predicate.WingetConfigExclusion
WhenLTE applies the LTE predicate on the "when" field.
func WhenNEQ ¶
func WhenNEQ(v time.Time) predicate.WingetConfigExclusion
WhenNEQ applies the NEQ predicate on the "when" field.
func WhenNotIn ¶
func WhenNotIn(vs ...time.Time) predicate.WingetConfigExclusion
WhenNotIn applies the NotIn predicate on the "when" field.
func WhenNotNil ¶
func WhenNotNil() predicate.WingetConfigExclusion
WhenNotNil applies the NotNil predicate on the "when" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the WingetConfigExclusion queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByPackageID ¶
func ByPackageID(opts ...sql.OrderTermOption) OrderOption
ByPackageID orders the results by the package_id field.
func ByWhen ¶
func ByWhen(opts ...sql.OrderTermOption) OrderOption
ByWhen orders the results by the when field.