Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Topic) predicate.Topic
- func Description(v string) predicate.Topic
- func DescriptionContains(v string) predicate.Topic
- func DescriptionContainsFold(v string) predicate.Topic
- func DescriptionEQ(v string) predicate.Topic
- func DescriptionEqualFold(v string) predicate.Topic
- func DescriptionGT(v string) predicate.Topic
- func DescriptionGTE(v string) predicate.Topic
- func DescriptionHasPrefix(v string) predicate.Topic
- func DescriptionHasSuffix(v string) predicate.Topic
- func DescriptionIn(vs ...string) predicate.Topic
- func DescriptionLT(v string) predicate.Topic
- func DescriptionLTE(v string) predicate.Topic
- func DescriptionNEQ(v string) predicate.Topic
- func DescriptionNotIn(vs ...string) predicate.Topic
- func GithubURL(v string) predicate.Topic
- func GithubURLContains(v string) predicate.Topic
- func GithubURLContainsFold(v string) predicate.Topic
- func GithubURLEQ(v string) predicate.Topic
- func GithubURLEqualFold(v string) predicate.Topic
- func GithubURLGT(v string) predicate.Topic
- func GithubURLGTE(v string) predicate.Topic
- func GithubURLHasPrefix(v string) predicate.Topic
- func GithubURLHasSuffix(v string) predicate.Topic
- func GithubURLIn(vs ...string) predicate.Topic
- func GithubURLLT(v string) predicate.Topic
- func GithubURLLTE(v string) predicate.Topic
- func GithubURLNEQ(v string) predicate.Topic
- func GithubURLNotIn(vs ...string) predicate.Topic
- func HasPlatform() predicate.Topic
- func HasPlatformWith(preds ...predicate.Platform) predicate.Topic
- func HasRepos() predicate.Topic
- func HasReposWith(preds ...predicate.Repo) predicate.Topic
- func ID(id int) predicate.Topic
- func IDEQ(id int) predicate.Topic
- func IDGT(id int) predicate.Topic
- func IDGTE(id int) predicate.Topic
- func IDIn(ids ...int) predicate.Topic
- func IDLT(id int) predicate.Topic
- func IDLTE(id int) predicate.Topic
- func IDNEQ(id int) predicate.Topic
- func IDNotIn(ids ...int) predicate.Topic
- func Name(v string) predicate.Topic
- func NameContains(v string) predicate.Topic
- func NameContainsFold(v string) predicate.Topic
- func NameEQ(v string) predicate.Topic
- func NameEqualFold(v string) predicate.Topic
- func NameGT(v string) predicate.Topic
- func NameGTE(v string) predicate.Topic
- func NameHasPrefix(v string) predicate.Topic
- func NameHasSuffix(v string) predicate.Topic
- func NameIn(vs ...string) predicate.Topic
- func NameLT(v string) predicate.Topic
- func NameLTE(v string) predicate.Topic
- func NameNEQ(v string) predicate.Topic
- func NameNotIn(vs ...string) predicate.Topic
- func Not(p predicate.Topic) predicate.Topic
- func Or(predicates ...predicate.Topic) predicate.Topic
- func PlatformID(v int) predicate.Topic
- func PlatformIDEQ(v int) predicate.Topic
- func PlatformIDIn(vs ...int) predicate.Topic
- func PlatformIDNEQ(v int) predicate.Topic
- func PlatformIDNotIn(vs ...int) predicate.Topic
- func SubName(v string) predicate.Topic
- func SubNameContains(v string) predicate.Topic
- func SubNameContainsFold(v string) predicate.Topic
- func SubNameEQ(v string) predicate.Topic
- func SubNameEqualFold(v string) predicate.Topic
- func SubNameGT(v string) predicate.Topic
- func SubNameGTE(v string) predicate.Topic
- func SubNameHasPrefix(v string) predicate.Topic
- func SubNameHasSuffix(v string) predicate.Topic
- func SubNameIn(vs ...string) predicate.Topic
- func SubNameLT(v string) predicate.Topic
- func SubNameLTE(v string) predicate.Topic
- func SubNameNEQ(v string) predicate.Topic
- func SubNameNotIn(vs ...string) predicate.Topic
- func URL(v string) predicate.Topic
- func URLContains(v string) predicate.Topic
- func URLContainsFold(v string) predicate.Topic
- func URLEQ(v string) predicate.Topic
- func URLEqualFold(v string) predicate.Topic
- func URLGT(v string) predicate.Topic
- func URLGTE(v string) predicate.Topic
- func URLHasPrefix(v string) predicate.Topic
- func URLHasSuffix(v string) predicate.Topic
- func URLIn(vs ...string) predicate.Topic
- func URLLT(v string) predicate.Topic
- func URLLTE(v string) predicate.Topic
- func URLNEQ(v string) predicate.Topic
- func URLNotIn(vs ...string) predicate.Topic
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the topic type in the database. Label = "topic" // 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" // FieldSubName holds the string denoting the sub_name field in the database. FieldSubName = "sub_name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldGithubURL holds the string denoting the github_url field in the database. FieldGithubURL = "github_url" // FieldPlatformID holds the string denoting the platform_id field in the database. FieldPlatformID = "platform_id" // EdgePlatform holds the string denoting the platform edge name in mutations. EdgePlatform = "platform" // EdgeRepos holds the string denoting the repos edge name in mutations. EdgeRepos = "repos" // Table holds the table name of the topic in the database. Table = "topic" // PlatformTable is the table that holds the platform relation/edge. PlatformTable = "topic" // PlatformInverseTable is the table name for the Platform entity. // It exists in this package in order to avoid circular dependency with the "platform" package. PlatformInverseTable = "platform" // PlatformColumn is the table column denoting the platform relation/edge. PlatformColumn = "platform_id" // ReposTable is the table that holds the repos relation/edge. ReposTable = "repo" // ReposInverseTable is the table name for the Repo entity. // It exists in this package in order to avoid circular dependency with the "repo" package. ReposInverseTable = "repo" // ReposColumn is the table column denoting the repos relation/edge. ReposColumn = "topic_id" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldSubName, FieldDescription, FieldURL, FieldGithubURL, FieldPlatformID, }
Columns holds all SQL columns for topic fields.
Functions ¶
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func GithubURL ¶
GithubURL applies equality check predicate on the "github_url" field. It's identical to GithubURLEQ.
func GithubURLContains ¶
GithubURLContains applies the Contains predicate on the "github_url" field.
func GithubURLContainsFold ¶
GithubURLContainsFold applies the ContainsFold predicate on the "github_url" field.
func GithubURLEQ ¶
GithubURLEQ applies the EQ predicate on the "github_url" field.
func GithubURLEqualFold ¶
GithubURLEqualFold applies the EqualFold predicate on the "github_url" field.
func GithubURLGT ¶
GithubURLGT applies the GT predicate on the "github_url" field.
func GithubURLGTE ¶
GithubURLGTE applies the GTE predicate on the "github_url" field.
func GithubURLHasPrefix ¶
GithubURLHasPrefix applies the HasPrefix predicate on the "github_url" field.
func GithubURLHasSuffix ¶
GithubURLHasSuffix applies the HasSuffix predicate on the "github_url" field.
func GithubURLIn ¶
GithubURLIn applies the In predicate on the "github_url" field.
func GithubURLLT ¶
GithubURLLT applies the LT predicate on the "github_url" field.
func GithubURLLTE ¶
GithubURLLTE applies the LTE predicate on the "github_url" field.
func GithubURLNEQ ¶
GithubURLNEQ applies the NEQ predicate on the "github_url" field.
func GithubURLNotIn ¶
GithubURLNotIn applies the NotIn predicate on the "github_url" field.
func HasPlatform ¶
HasPlatform applies the HasEdge predicate on the "platform" edge.
func HasPlatformWith ¶
HasPlatformWith applies the HasEdge predicate on the "platform" edge with a given conditions (other predicates).
func HasReposWith ¶
HasReposWith applies the HasEdge predicate on the "repos" 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 PlatformID ¶
PlatformID applies equality check predicate on the "platform_id" field. It's identical to PlatformIDEQ.
func PlatformIDEQ ¶
PlatformIDEQ applies the EQ predicate on the "platform_id" field.
func PlatformIDIn ¶
PlatformIDIn applies the In predicate on the "platform_id" field.
func PlatformIDNEQ ¶
PlatformIDNEQ applies the NEQ predicate on the "platform_id" field.
func PlatformIDNotIn ¶
PlatformIDNotIn applies the NotIn predicate on the "platform_id" field.
func SubName ¶
SubName applies equality check predicate on the "sub_name" field. It's identical to SubNameEQ.
func SubNameContains ¶
SubNameContains applies the Contains predicate on the "sub_name" field.
func SubNameContainsFold ¶
SubNameContainsFold applies the ContainsFold predicate on the "sub_name" field.
func SubNameEqualFold ¶
SubNameEqualFold applies the EqualFold predicate on the "sub_name" field.
func SubNameGTE ¶
SubNameGTE applies the GTE predicate on the "sub_name" field.
func SubNameHasPrefix ¶
SubNameHasPrefix applies the HasPrefix predicate on the "sub_name" field.
func SubNameHasSuffix ¶
SubNameHasSuffix applies the HasSuffix predicate on the "sub_name" field.
func SubNameLTE ¶
SubNameLTE applies the LTE predicate on the "sub_name" field.
func SubNameNEQ ¶
SubNameNEQ applies the NEQ predicate on the "sub_name" field.
func SubNameNotIn ¶
SubNameNotIn applies the NotIn predicate on the "sub_name" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.