topic

package
v0.0.0-...-187b2eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for topic fields.

Functions

func And

func And(predicates ...predicate.Topic) predicate.Topic

And groups predicates with the AND operator between them.

func Description

func Description(v string) predicate.Topic

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Topic

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Topic

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Topic

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Topic

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Topic

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Topic

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Topic

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Topic

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Topic

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Topic

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Topic

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Topic

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Topic

DescriptionNotIn applies the NotIn predicate on the "description" field.

func GithubURL

func GithubURL(v string) predicate.Topic

GithubURL applies equality check predicate on the "github_url" field. It's identical to GithubURLEQ.

func GithubURLContains

func GithubURLContains(v string) predicate.Topic

GithubURLContains applies the Contains predicate on the "github_url" field.

func GithubURLContainsFold

func GithubURLContainsFold(v string) predicate.Topic

GithubURLContainsFold applies the ContainsFold predicate on the "github_url" field.

func GithubURLEQ

func GithubURLEQ(v string) predicate.Topic

GithubURLEQ applies the EQ predicate on the "github_url" field.

func GithubURLEqualFold

func GithubURLEqualFold(v string) predicate.Topic

GithubURLEqualFold applies the EqualFold predicate on the "github_url" field.

func GithubURLGT

func GithubURLGT(v string) predicate.Topic

GithubURLGT applies the GT predicate on the "github_url" field.

func GithubURLGTE

func GithubURLGTE(v string) predicate.Topic

GithubURLGTE applies the GTE predicate on the "github_url" field.

func GithubURLHasPrefix

func GithubURLHasPrefix(v string) predicate.Topic

GithubURLHasPrefix applies the HasPrefix predicate on the "github_url" field.

func GithubURLHasSuffix

func GithubURLHasSuffix(v string) predicate.Topic

GithubURLHasSuffix applies the HasSuffix predicate on the "github_url" field.

func GithubURLIn

func GithubURLIn(vs ...string) predicate.Topic

GithubURLIn applies the In predicate on the "github_url" field.

func GithubURLLT

func GithubURLLT(v string) predicate.Topic

GithubURLLT applies the LT predicate on the "github_url" field.

func GithubURLLTE

func GithubURLLTE(v string) predicate.Topic

GithubURLLTE applies the LTE predicate on the "github_url" field.

func GithubURLNEQ

func GithubURLNEQ(v string) predicate.Topic

GithubURLNEQ applies the NEQ predicate on the "github_url" field.

func GithubURLNotIn

func GithubURLNotIn(vs ...string) predicate.Topic

GithubURLNotIn applies the NotIn predicate on the "github_url" field.

func HasPlatform

func HasPlatform() predicate.Topic

HasPlatform applies the HasEdge predicate on the "platform" edge.

func HasPlatformWith

func HasPlatformWith(preds ...predicate.Platform) predicate.Topic

HasPlatformWith applies the HasEdge predicate on the "platform" edge with a given conditions (other predicates).

func HasRepos

func HasRepos() predicate.Topic

HasRepos applies the HasEdge predicate on the "repos" edge.

func HasReposWith

func HasReposWith(preds ...predicate.Repo) predicate.Topic

HasReposWith applies the HasEdge predicate on the "repos" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Topic

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Topic

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Topic

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Topic

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Topic

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Topic

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Topic

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Topic

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Topic

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Topic

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Topic

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Topic

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Topic

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Topic

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Topic

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Topic

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Topic

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Topic

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Topic

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Topic

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Topic

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Topic

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Topic

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Topic) predicate.Topic

Or groups predicates with the OR operator between them.

func PlatformID

func PlatformID(v int) predicate.Topic

PlatformID applies equality check predicate on the "platform_id" field. It's identical to PlatformIDEQ.

func PlatformIDEQ

func PlatformIDEQ(v int) predicate.Topic

PlatformIDEQ applies the EQ predicate on the "platform_id" field.

func PlatformIDIn

func PlatformIDIn(vs ...int) predicate.Topic

PlatformIDIn applies the In predicate on the "platform_id" field.

func PlatformIDNEQ

func PlatformIDNEQ(v int) predicate.Topic

PlatformIDNEQ applies the NEQ predicate on the "platform_id" field.

func PlatformIDNotIn

func PlatformIDNotIn(vs ...int) predicate.Topic

PlatformIDNotIn applies the NotIn predicate on the "platform_id" field.

func SubName

func SubName(v string) predicate.Topic

SubName applies equality check predicate on the "sub_name" field. It's identical to SubNameEQ.

func SubNameContains

func SubNameContains(v string) predicate.Topic

SubNameContains applies the Contains predicate on the "sub_name" field.

func SubNameContainsFold

func SubNameContainsFold(v string) predicate.Topic

SubNameContainsFold applies the ContainsFold predicate on the "sub_name" field.

func SubNameEQ

func SubNameEQ(v string) predicate.Topic

SubNameEQ applies the EQ predicate on the "sub_name" field.

func SubNameEqualFold

func SubNameEqualFold(v string) predicate.Topic

SubNameEqualFold applies the EqualFold predicate on the "sub_name" field.

func SubNameGT

func SubNameGT(v string) predicate.Topic

SubNameGT applies the GT predicate on the "sub_name" field.

func SubNameGTE

func SubNameGTE(v string) predicate.Topic

SubNameGTE applies the GTE predicate on the "sub_name" field.

func SubNameHasPrefix

func SubNameHasPrefix(v string) predicate.Topic

SubNameHasPrefix applies the HasPrefix predicate on the "sub_name" field.

func SubNameHasSuffix

func SubNameHasSuffix(v string) predicate.Topic

SubNameHasSuffix applies the HasSuffix predicate on the "sub_name" field.

func SubNameIn

func SubNameIn(vs ...string) predicate.Topic

SubNameIn applies the In predicate on the "sub_name" field.

func SubNameLT

func SubNameLT(v string) predicate.Topic

SubNameLT applies the LT predicate on the "sub_name" field.

func SubNameLTE

func SubNameLTE(v string) predicate.Topic

SubNameLTE applies the LTE predicate on the "sub_name" field.

func SubNameNEQ

func SubNameNEQ(v string) predicate.Topic

SubNameNEQ applies the NEQ predicate on the "sub_name" field.

func SubNameNotIn

func SubNameNotIn(vs ...string) predicate.Topic

SubNameNotIn applies the NotIn predicate on the "sub_name" field.

func URL

func URL(v string) predicate.Topic

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Topic

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Topic

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Topic

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Topic

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Topic

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Topic

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Topic

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Topic

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Topic

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Topic

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Topic

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Topic

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Topic

URLNotIn applies the NotIn predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL