Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ModuleVersion) predicate.ModuleVersion
- func HasModule() predicate.ModuleVersion
- func HasModuleWith(preds ...predicate.Module) predicate.ModuleVersion
- func ID(id int) predicate.ModuleVersion
- func IDEQ(id int) predicate.ModuleVersion
- func IDGT(id int) predicate.ModuleVersion
- func IDGTE(id int) predicate.ModuleVersion
- func IDIn(ids ...int) predicate.ModuleVersion
- func IDLT(id int) predicate.ModuleVersion
- func IDLTE(id int) predicate.ModuleVersion
- func IDNEQ(id int) predicate.ModuleVersion
- func IDNotIn(ids ...int) predicate.ModuleVersion
- func Major(v int) predicate.ModuleVersion
- func MajorEQ(v int) predicate.ModuleVersion
- func MajorGT(v int) predicate.ModuleVersion
- func MajorGTE(v int) predicate.ModuleVersion
- func MajorIn(vs ...int) predicate.ModuleVersion
- func MajorLT(v int) predicate.ModuleVersion
- func MajorLTE(v int) predicate.ModuleVersion
- func MajorNEQ(v int) predicate.ModuleVersion
- func MajorNotIn(vs ...int) predicate.ModuleVersion
- func Minor(v int) predicate.ModuleVersion
- func MinorEQ(v int) predicate.ModuleVersion
- func MinorGT(v int) predicate.ModuleVersion
- func MinorGTE(v int) predicate.ModuleVersion
- func MinorIn(vs ...int) predicate.ModuleVersion
- func MinorLT(v int) predicate.ModuleVersion
- func MinorLTE(v int) predicate.ModuleVersion
- func MinorNEQ(v int) predicate.ModuleVersion
- func MinorNotIn(vs ...int) predicate.ModuleVersion
- func Not(p predicate.ModuleVersion) predicate.ModuleVersion
- func Or(predicates ...predicate.ModuleVersion) predicate.ModuleVersion
- func Patch(v int) predicate.ModuleVersion
- func PatchEQ(v int) predicate.ModuleVersion
- func PatchGT(v int) predicate.ModuleVersion
- func PatchGTE(v int) predicate.ModuleVersion
- func PatchIn(vs ...int) predicate.ModuleVersion
- func PatchLT(v int) predicate.ModuleVersion
- func PatchLTE(v int) predicate.ModuleVersion
- func PatchNEQ(v int) predicate.ModuleVersion
- func PatchNotIn(vs ...int) predicate.ModuleVersion
- func Tag(v string) predicate.ModuleVersion
- func TagContains(v string) predicate.ModuleVersion
- func TagContainsFold(v string) predicate.ModuleVersion
- func TagEQ(v string) predicate.ModuleVersion
- func TagEqualFold(v string) predicate.ModuleVersion
- func TagGT(v string) predicate.ModuleVersion
- func TagGTE(v string) predicate.ModuleVersion
- func TagHasPrefix(v string) predicate.ModuleVersion
- func TagHasSuffix(v string) predicate.ModuleVersion
- func TagIn(vs ...string) predicate.ModuleVersion
- func TagLT(v string) predicate.ModuleVersion
- func TagLTE(v string) predicate.ModuleVersion
- func TagNEQ(v string) predicate.ModuleVersion
- func TagNotIn(vs ...string) predicate.ModuleVersion
Constants ¶
const ( // Label holds the string label denoting the moduleversion type in the database. Label = "module_version" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMajor holds the string denoting the major vertex property in the database. FieldMajor = "major" // FieldMinor holds the string denoting the minor vertex property in the database. FieldMinor = "minor" // FieldPatch holds the string denoting the patch vertex property in the database. FieldPatch = "patch" // FieldTag holds the string denoting the tag vertex property in the database. FieldTag = "tag" // Table holds the table name of the moduleversion in the database. Table = "module_versions" // ModuleTable is the table the holds the module relation/edge. ModuleTable = "module_versions" // ModuleInverseTable is the table name for the Module entity. // It exists in this package in order to avoid circular dependency with the "module" package. ModuleInverseTable = "modules" // ModuleColumn is the table column denoting the module relation/edge. ModuleColumn = "module_id" )
Variables ¶
var ( // MajorValidator is a validator for the "major" field. It is called by the builders before save. MajorValidator = descMajor.Validators[0].(func(int) error) // MinorValidator is a validator for the "minor" field. It is called by the builders before save. MinorValidator = descMinor.Validators[0].(func(int) error) // PatchValidator is a validator for the "patch" field. It is called by the builders before save. PatchValidator = descPatch.Validators[0].(func(int) error) )
var Columns = []string{ FieldID, FieldMajor, FieldMinor, FieldPatch, FieldTag, }
Columns holds all SQL columns are moduleversion fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ModuleVersion) predicate.ModuleVersion
And groups list of predicates with the AND operator between them.
func HasModule ¶
func HasModule() predicate.ModuleVersion
HasModule applies the HasEdge predicate on the "module" edge.
func HasModuleWith ¶
func HasModuleWith(preds ...predicate.Module) predicate.ModuleVersion
HasModuleWith applies the HasEdge predicate on the "module" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.ModuleVersion
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.ModuleVersion
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.ModuleVersion
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.ModuleVersion
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.ModuleVersion
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.ModuleVersion
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.ModuleVersion
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.ModuleVersion
IDNotIn applies the NotIn predicate on the ID field.
func Major ¶
func Major(v int) predicate.ModuleVersion
Major applies equality check predicate on the "major" field. It's identical to MajorEQ.
func MajorEQ ¶
func MajorEQ(v int) predicate.ModuleVersion
MajorEQ applies the EQ predicate on the "major" field.
func MajorGT ¶
func MajorGT(v int) predicate.ModuleVersion
MajorGT applies the GT predicate on the "major" field.
func MajorGTE ¶
func MajorGTE(v int) predicate.ModuleVersion
MajorGTE applies the GTE predicate on the "major" field.
func MajorIn ¶
func MajorIn(vs ...int) predicate.ModuleVersion
MajorIn applies the In predicate on the "major" field.
func MajorLT ¶
func MajorLT(v int) predicate.ModuleVersion
MajorLT applies the LT predicate on the "major" field.
func MajorLTE ¶
func MajorLTE(v int) predicate.ModuleVersion
MajorLTE applies the LTE predicate on the "major" field.
func MajorNEQ ¶
func MajorNEQ(v int) predicate.ModuleVersion
MajorNEQ applies the NEQ predicate on the "major" field.
func MajorNotIn ¶
func MajorNotIn(vs ...int) predicate.ModuleVersion
MajorNotIn applies the NotIn predicate on the "major" field.
func Minor ¶
func Minor(v int) predicate.ModuleVersion
Minor applies equality check predicate on the "minor" field. It's identical to MinorEQ.
func MinorEQ ¶
func MinorEQ(v int) predicate.ModuleVersion
MinorEQ applies the EQ predicate on the "minor" field.
func MinorGT ¶
func MinorGT(v int) predicate.ModuleVersion
MinorGT applies the GT predicate on the "minor" field.
func MinorGTE ¶
func MinorGTE(v int) predicate.ModuleVersion
MinorGTE applies the GTE predicate on the "minor" field.
func MinorIn ¶
func MinorIn(vs ...int) predicate.ModuleVersion
MinorIn applies the In predicate on the "minor" field.
func MinorLT ¶
func MinorLT(v int) predicate.ModuleVersion
MinorLT applies the LT predicate on the "minor" field.
func MinorLTE ¶
func MinorLTE(v int) predicate.ModuleVersion
MinorLTE applies the LTE predicate on the "minor" field.
func MinorNEQ ¶
func MinorNEQ(v int) predicate.ModuleVersion
MinorNEQ applies the NEQ predicate on the "minor" field.
func MinorNotIn ¶
func MinorNotIn(vs ...int) predicate.ModuleVersion
MinorNotIn applies the NotIn predicate on the "minor" field.
func Not ¶
func Not(p predicate.ModuleVersion) predicate.ModuleVersion
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ModuleVersion) predicate.ModuleVersion
Or groups list of predicates with the OR operator between them.
func Patch ¶
func Patch(v int) predicate.ModuleVersion
Patch applies equality check predicate on the "patch" field. It's identical to PatchEQ.
func PatchEQ ¶
func PatchEQ(v int) predicate.ModuleVersion
PatchEQ applies the EQ predicate on the "patch" field.
func PatchGT ¶
func PatchGT(v int) predicate.ModuleVersion
PatchGT applies the GT predicate on the "patch" field.
func PatchGTE ¶
func PatchGTE(v int) predicate.ModuleVersion
PatchGTE applies the GTE predicate on the "patch" field.
func PatchIn ¶
func PatchIn(vs ...int) predicate.ModuleVersion
PatchIn applies the In predicate on the "patch" field.
func PatchLT ¶
func PatchLT(v int) predicate.ModuleVersion
PatchLT applies the LT predicate on the "patch" field.
func PatchLTE ¶
func PatchLTE(v int) predicate.ModuleVersion
PatchLTE applies the LTE predicate on the "patch" field.
func PatchNEQ ¶
func PatchNEQ(v int) predicate.ModuleVersion
PatchNEQ applies the NEQ predicate on the "patch" field.
func PatchNotIn ¶
func PatchNotIn(vs ...int) predicate.ModuleVersion
PatchNotIn applies the NotIn predicate on the "patch" field.
func Tag ¶
func Tag(v string) predicate.ModuleVersion
Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.
func TagContains ¶
func TagContains(v string) predicate.ModuleVersion
TagContains applies the Contains predicate on the "tag" field.
func TagContainsFold ¶
func TagContainsFold(v string) predicate.ModuleVersion
TagContainsFold applies the ContainsFold predicate on the "tag" field.
func TagEQ ¶
func TagEQ(v string) predicate.ModuleVersion
TagEQ applies the EQ predicate on the "tag" field.
func TagEqualFold ¶
func TagEqualFold(v string) predicate.ModuleVersion
TagEqualFold applies the EqualFold predicate on the "tag" field.
func TagGT ¶
func TagGT(v string) predicate.ModuleVersion
TagGT applies the GT predicate on the "tag" field.
func TagGTE ¶
func TagGTE(v string) predicate.ModuleVersion
TagGTE applies the GTE predicate on the "tag" field.
func TagHasPrefix ¶
func TagHasPrefix(v string) predicate.ModuleVersion
TagHasPrefix applies the HasPrefix predicate on the "tag" field.
func TagHasSuffix ¶
func TagHasSuffix(v string) predicate.ModuleVersion
TagHasSuffix applies the HasSuffix predicate on the "tag" field.
func TagIn ¶
func TagIn(vs ...string) predicate.ModuleVersion
TagIn applies the In predicate on the "tag" field.
func TagLT ¶
func TagLT(v string) predicate.ModuleVersion
TagLT applies the LT predicate on the "tag" field.
func TagLTE ¶
func TagLTE(v string) predicate.ModuleVersion
TagLTE applies the LTE predicate on the "tag" field.
func TagNEQ ¶
func TagNEQ(v string) predicate.ModuleVersion
TagNEQ applies the NEQ predicate on the "tag" field.
func TagNotIn ¶
func TagNotIn(vs ...string) predicate.ModuleVersion
TagNotIn applies the NotIn predicate on the "tag" field.
Types ¶
This section is empty.