Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OSContext) predicate.OSContext
- func Family(v string) predicate.OSContext
- func FamilyContains(v string) predicate.OSContext
- func FamilyContainsFold(v string) predicate.OSContext
- func FamilyEQ(v string) predicate.OSContext
- func FamilyEqualFold(v string) predicate.OSContext
- func FamilyGT(v string) predicate.OSContext
- func FamilyGTE(v string) predicate.OSContext
- func FamilyHasPrefix(v string) predicate.OSContext
- func FamilyHasSuffix(v string) predicate.OSContext
- func FamilyIn(vs ...string) predicate.OSContext
- func FamilyLT(v string) predicate.OSContext
- func FamilyLTE(v string) predicate.OSContext
- func FamilyNEQ(v string) predicate.OSContext
- func FamilyNotIn(vs ...string) predicate.OSContext
- func HasEvents() predicate.OSContext
- func HasEventsWith(preds ...predicate.Event) predicate.OSContext
- func ID(id int) predicate.OSContext
- func IDEQ(id int) predicate.OSContext
- func IDGT(id int) predicate.OSContext
- func IDGTE(id int) predicate.OSContext
- func IDIn(ids ...int) predicate.OSContext
- func IDLT(id int) predicate.OSContext
- func IDLTE(id int) predicate.OSContext
- func IDNEQ(id int) predicate.OSContext
- func IDNotIn(ids ...int) predicate.OSContext
- func Name(v string) predicate.OSContext
- func NameContains(v string) predicate.OSContext
- func NameContainsFold(v string) predicate.OSContext
- func NameEQ(v string) predicate.OSContext
- func NameEqualFold(v string) predicate.OSContext
- func NameGT(v string) predicate.OSContext
- func NameGTE(v string) predicate.OSContext
- func NameHasPrefix(v string) predicate.OSContext
- func NameHasSuffix(v string) predicate.OSContext
- func NameIn(vs ...string) predicate.OSContext
- func NameLT(v string) predicate.OSContext
- func NameLTE(v string) predicate.OSContext
- func NameNEQ(v string) predicate.OSContext
- func NameNotIn(vs ...string) predicate.OSContext
- func Not(p predicate.OSContext) predicate.OSContext
- func Or(predicates ...predicate.OSContext) predicate.OSContext
- func Platform(v string) predicate.OSContext
- func PlatformContains(v string) predicate.OSContext
- func PlatformContainsFold(v string) predicate.OSContext
- func PlatformEQ(v string) predicate.OSContext
- func PlatformEqualFold(v string) predicate.OSContext
- func PlatformGT(v string) predicate.OSContext
- func PlatformGTE(v string) predicate.OSContext
- func PlatformHasPrefix(v string) predicate.OSContext
- func PlatformHasSuffix(v string) predicate.OSContext
- func PlatformIn(vs ...string) predicate.OSContext
- func PlatformIsNil() predicate.OSContext
- func PlatformLT(v string) predicate.OSContext
- func PlatformLTE(v string) predicate.OSContext
- func PlatformNEQ(v string) predicate.OSContext
- func PlatformNotIn(vs ...string) predicate.OSContext
- func PlatformNotNil() predicate.OSContext
- func Version(v string) predicate.OSContext
- func VersionContains(v string) predicate.OSContext
- func VersionContainsFold(v string) predicate.OSContext
- func VersionEQ(v string) predicate.OSContext
- func VersionEqualFold(v string) predicate.OSContext
- func VersionGT(v string) predicate.OSContext
- func VersionGTE(v string) predicate.OSContext
- func VersionHasPrefix(v string) predicate.OSContext
- func VersionHasSuffix(v string) predicate.OSContext
- func VersionIn(vs ...string) predicate.OSContext
- func VersionLT(v string) predicate.OSContext
- func VersionLTE(v string) predicate.OSContext
- func VersionNEQ(v string) predicate.OSContext
- func VersionNotIn(vs ...string) predicate.OSContext
Constants ¶
const ( // Label holds the string label denoting the oscontext type in the database. Label = "os_context" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldFamily holds the string denoting the family field in the database. FieldFamily = "family" // FieldPlatform holds the string denoting the platform field in the database. FieldPlatform = "platform" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the oscontext in the database. Table = "os" // EventsTable is the table the holds the events relation/edge. EventsTable = "events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "event_os" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldFamily, FieldPlatform, FieldVersion, }
Columns holds all SQL columns for oscontext fields.
Functions ¶
func Family ¶
Family applies equality check predicate on the "family" field. It's identical to FamilyEQ.
func FamilyContains ¶
FamilyContains applies the Contains predicate on the "family" field.
func FamilyContainsFold ¶
FamilyContainsFold applies the ContainsFold predicate on the "family" field.
func FamilyEqualFold ¶
FamilyEqualFold applies the EqualFold predicate on the "family" field.
func FamilyHasPrefix ¶
FamilyHasPrefix applies the HasPrefix predicate on the "family" field.
func FamilyHasSuffix ¶
FamilyHasSuffix applies the HasSuffix predicate on the "family" field.
func FamilyNotIn ¶
FamilyNotIn applies the NotIn predicate on the "family" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Platform ¶
Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
func PlatformContains ¶
PlatformContains applies the Contains predicate on the "platform" field.
func PlatformContainsFold ¶
PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
func PlatformEQ ¶
PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformEqualFold ¶
PlatformEqualFold applies the EqualFold predicate on the "platform" field.
func PlatformGT ¶
PlatformGT applies the GT predicate on the "platform" field.
func PlatformGTE ¶
PlatformGTE applies the GTE predicate on the "platform" field.
func PlatformHasPrefix ¶
PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
func PlatformHasSuffix ¶
PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
func PlatformIn ¶
PlatformIn applies the In predicate on the "platform" field.
func PlatformIsNil ¶
PlatformIsNil applies the IsNil predicate on the "platform" field.
func PlatformLT ¶
PlatformLT applies the LT predicate on the "platform" field.
func PlatformLTE ¶
PlatformLTE applies the LTE predicate on the "platform" field.
func PlatformNEQ ¶
PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNotIn ¶
PlatformNotIn applies the NotIn predicate on the "platform" field.
func PlatformNotNil ¶
PlatformNotNil applies the NotNil predicate on the "platform" field.
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
This section is empty.