Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Platform) predicate.Platform
- func HasTopics() predicate.Platform
- func HasTopicsWith(preds ...predicate.Topic) predicate.Platform
- func ID(id int) predicate.Platform
- func IDEQ(id int) predicate.Platform
- func IDGT(id int) predicate.Platform
- func IDGTE(id int) predicate.Platform
- func IDIn(ids ...int) predicate.Platform
- func IDLT(id int) predicate.Platform
- func IDLTE(id int) predicate.Platform
- func IDNEQ(id int) predicate.Platform
- func IDNotIn(ids ...int) predicate.Platform
- func Icon(v string) predicate.Platform
- func IconContains(v string) predicate.Platform
- func IconContainsFold(v string) predicate.Platform
- func IconEQ(v string) predicate.Platform
- func IconEqualFold(v string) predicate.Platform
- func IconGT(v string) predicate.Platform
- func IconGTE(v string) predicate.Platform
- func IconHasPrefix(v string) predicate.Platform
- func IconHasSuffix(v string) predicate.Platform
- func IconIn(vs ...string) predicate.Platform
- func IconIsNil() predicate.Platform
- func IconLT(v string) predicate.Platform
- func IconLTE(v string) predicate.Platform
- func IconNEQ(v string) predicate.Platform
- func IconNotIn(vs ...string) predicate.Platform
- func IconNotNil() predicate.Platform
- func Name(v string) predicate.Platform
- func NameContains(v string) predicate.Platform
- func NameContainsFold(v string) predicate.Platform
- func NameEQ(v string) predicate.Platform
- func NameEqualFold(v string) predicate.Platform
- func NameGT(v string) predicate.Platform
- func NameGTE(v string) predicate.Platform
- func NameHasPrefix(v string) predicate.Platform
- func NameHasSuffix(v string) predicate.Platform
- func NameIn(vs ...string) predicate.Platform
- func NameLT(v string) predicate.Platform
- func NameLTE(v string) predicate.Platform
- func NameNEQ(v string) predicate.Platform
- func NameNotIn(vs ...string) predicate.Platform
- func Not(p predicate.Platform) predicate.Platform
- func Or(predicates ...predicate.Platform) predicate.Platform
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the platform type in the database. Label = "platform" // 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" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // EdgeTopics holds the string denoting the topics edge name in mutations. EdgeTopics = "topics" // Table holds the table name of the platform in the database. Table = "platform" // TopicsTable is the table that holds the topics relation/edge. TopicsTable = "topic" // TopicsInverseTable is the table name for the Topic entity. // It exists in this package in order to avoid circular dependency with the "topic" package. TopicsInverseTable = "topic" // TopicsColumn is the table column denoting the topics relation/edge. TopicsColumn = "platform_id" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldIcon, }
Columns holds all SQL columns for platform fields.
Functions ¶
func HasTopicsWith ¶
HasTopicsWith applies the HasEdge predicate on the "topics" edge with a given conditions (other predicates).
func IconContains ¶
IconContains applies the Contains predicate on the "icon" field.
func IconContainsFold ¶
IconContainsFold applies the ContainsFold predicate on the "icon" field.
func IconEqualFold ¶
IconEqualFold applies the EqualFold predicate on the "icon" field.
func IconHasPrefix ¶
IconHasPrefix applies the HasPrefix predicate on the "icon" field.
func IconHasSuffix ¶
IconHasSuffix applies the HasSuffix predicate on the "icon" field.
func IconNotNil ¶
IconNotNil applies the NotNil predicate on the "icon" field.
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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.