Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Library) predicate.Library
- func HasEvents() predicate.Library
- func HasEventsWith(preds ...predicate.Event) predicate.Library
- func ID(id int) predicate.Library
- func IDEQ(id int) predicate.Library
- func IDGT(id int) predicate.Library
- func IDGTE(id int) predicate.Library
- func IDIn(ids ...int) predicate.Library
- func IDLT(id int) predicate.Library
- func IDLTE(id int) predicate.Library
- func IDNEQ(id int) predicate.Library
- func IDNotIn(ids ...int) predicate.Library
- func Name(v string) predicate.Library
- func NameContains(v string) predicate.Library
- func NameContainsFold(v string) predicate.Library
- func NameEQ(v string) predicate.Library
- func NameEqualFold(v string) predicate.Library
- func NameGT(v string) predicate.Library
- func NameGTE(v string) predicate.Library
- func NameHasPrefix(v string) predicate.Library
- func NameHasSuffix(v string) predicate.Library
- func NameIn(vs ...string) predicate.Library
- func NameLT(v string) predicate.Library
- func NameLTE(v string) predicate.Library
- func NameNEQ(v string) predicate.Library
- func NameNotIn(vs ...string) predicate.Library
- func Not(p predicate.Library) predicate.Library
- func Or(predicates ...predicate.Library) predicate.Library
- func Version(v string) predicate.Library
- func VersionContains(v string) predicate.Library
- func VersionContainsFold(v string) predicate.Library
- func VersionEQ(v string) predicate.Library
- func VersionEqualFold(v string) predicate.Library
- func VersionGT(v string) predicate.Library
- func VersionGTE(v string) predicate.Library
- func VersionHasPrefix(v string) predicate.Library
- func VersionHasSuffix(v string) predicate.Library
- func VersionIn(vs ...string) predicate.Library
- func VersionIsNil() predicate.Library
- func VersionLT(v string) predicate.Library
- func VersionLTE(v string) predicate.Library
- func VersionNEQ(v string) predicate.Library
- func VersionNotIn(vs ...string) predicate.Library
- func VersionNotNil() predicate.Library
Constants ¶
const ( // Label holds the string label denoting the library type in the database. Label = "library" // 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" // 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 library in the database. Table = "libraries" // 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_library" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldVersion, }
Columns holds all SQL columns for library fields.
Functions ¶
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 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 VersionIsNil ¶
VersionIsNil applies the IsNil 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.
func VersionNotNil ¶
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
This section is empty.