Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Organization) predicate.Organization
- func HTMLURL(v string) predicate.Organization
- func HTMLURLContains(v string) predicate.Organization
- func HTMLURLContainsFold(v string) predicate.Organization
- func HTMLURLEQ(v string) predicate.Organization
- func HTMLURLEqualFold(v string) predicate.Organization
- func HTMLURLGT(v string) predicate.Organization
- func HTMLURLGTE(v string) predicate.Organization
- func HTMLURLHasPrefix(v string) predicate.Organization
- func HTMLURLHasSuffix(v string) predicate.Organization
- func HTMLURLIn(vs ...string) predicate.Organization
- func HTMLURLIsNil() predicate.Organization
- func HTMLURLLT(v string) predicate.Organization
- func HTMLURLLTE(v string) predicate.Organization
- func HTMLURLNEQ(v string) predicate.Organization
- func HTMLURLNotIn(vs ...string) predicate.Organization
- func HTMLURLNotNil() predicate.Organization
- func HasRepositories() predicate.Organization
- func HasRepositoriesWith(preds ...predicate.Repository) predicate.Organization
- func ID(id int64) predicate.Organization
- func IDEQ(id int64) predicate.Organization
- func IDGT(id int64) predicate.Organization
- func IDGTE(id int64) predicate.Organization
- func IDIn(ids ...int64) predicate.Organization
- func IDLT(id int64) predicate.Organization
- func IDLTE(id int64) predicate.Organization
- func IDNEQ(id int64) predicate.Organization
- func IDNotIn(ids ...int64) predicate.Organization
- func Name(v string) predicate.Organization
- func NameContains(v string) predicate.Organization
- func NameContainsFold(v string) predicate.Organization
- func NameEQ(v string) predicate.Organization
- func NameEqualFold(v string) predicate.Organization
- func NameGT(v string) predicate.Organization
- func NameGTE(v string) predicate.Organization
- func NameHasPrefix(v string) predicate.Organization
- func NameHasSuffix(v string) predicate.Organization
- func NameIn(vs ...string) predicate.Organization
- func NameLT(v string) predicate.Organization
- func NameLTE(v string) predicate.Organization
- func NameNEQ(v string) predicate.Organization
- func NameNotIn(vs ...string) predicate.Organization
- func Not(p predicate.Organization) predicate.Organization
- func Or(predicates ...predicate.Organization) predicate.Organization
- func ValidColumn(column string) bool
- type OrderOption
- func ByHTMLURL(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRepositories(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRepositoriesCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the organization type in the database. Label = "organization" // 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" // FieldHTMLURL holds the string denoting the html_url field in the database. FieldHTMLURL = "html_url" // EdgeRepositories holds the string denoting the repositories edge name in mutations. EdgeRepositories = "repositories" // Table holds the table name of the organization in the database. Table = "organizations" // RepositoriesTable is the table that holds the repositories relation/edge. RepositoriesTable = "repositories" // RepositoriesInverseTable is the table name for the Repository entity. // It exists in this package in order to avoid circular dependency with the "repository" package. RepositoriesInverseTable = "repositories" // RepositoriesColumn is the table column denoting the repositories relation/edge. RepositoriesColumn = "organization_repositories" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldHTMLURL, }
Columns holds all SQL columns for organization fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Organization) predicate.Organization
And groups predicates with the AND operator between them.
func HTMLURL ¶
func HTMLURL(v string) predicate.Organization
HTMLURL applies equality check predicate on the "html_url" field. It's identical to HTMLURLEQ.
func HTMLURLContains ¶
func HTMLURLContains(v string) predicate.Organization
HTMLURLContains applies the Contains predicate on the "html_url" field.
func HTMLURLContainsFold ¶
func HTMLURLContainsFold(v string) predicate.Organization
HTMLURLContainsFold applies the ContainsFold predicate on the "html_url" field.
func HTMLURLEQ ¶
func HTMLURLEQ(v string) predicate.Organization
HTMLURLEQ applies the EQ predicate on the "html_url" field.
func HTMLURLEqualFold ¶
func HTMLURLEqualFold(v string) predicate.Organization
HTMLURLEqualFold applies the EqualFold predicate on the "html_url" field.
func HTMLURLGT ¶
func HTMLURLGT(v string) predicate.Organization
HTMLURLGT applies the GT predicate on the "html_url" field.
func HTMLURLGTE ¶
func HTMLURLGTE(v string) predicate.Organization
HTMLURLGTE applies the GTE predicate on the "html_url" field.
func HTMLURLHasPrefix ¶
func HTMLURLHasPrefix(v string) predicate.Organization
HTMLURLHasPrefix applies the HasPrefix predicate on the "html_url" field.
func HTMLURLHasSuffix ¶
func HTMLURLHasSuffix(v string) predicate.Organization
HTMLURLHasSuffix applies the HasSuffix predicate on the "html_url" field.
func HTMLURLIn ¶
func HTMLURLIn(vs ...string) predicate.Organization
HTMLURLIn applies the In predicate on the "html_url" field.
func HTMLURLIsNil ¶
func HTMLURLIsNil() predicate.Organization
HTMLURLIsNil applies the IsNil predicate on the "html_url" field.
func HTMLURLLT ¶
func HTMLURLLT(v string) predicate.Organization
HTMLURLLT applies the LT predicate on the "html_url" field.
func HTMLURLLTE ¶
func HTMLURLLTE(v string) predicate.Organization
HTMLURLLTE applies the LTE predicate on the "html_url" field.
func HTMLURLNEQ ¶
func HTMLURLNEQ(v string) predicate.Organization
HTMLURLNEQ applies the NEQ predicate on the "html_url" field.
func HTMLURLNotIn ¶
func HTMLURLNotIn(vs ...string) predicate.Organization
HTMLURLNotIn applies the NotIn predicate on the "html_url" field.
func HTMLURLNotNil ¶
func HTMLURLNotNil() predicate.Organization
HTMLURLNotNil applies the NotNil predicate on the "html_url" field.
func HasRepositories ¶
func HasRepositories() predicate.Organization
HasRepositories applies the HasEdge predicate on the "repositories" edge.
func HasRepositoriesWith ¶
func HasRepositoriesWith(preds ...predicate.Repository) predicate.Organization
HasRepositoriesWith applies the HasEdge predicate on the "repositories" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int64) predicate.Organization
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.Organization
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.Organization
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.Organization
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.Organization
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.Organization
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.Organization
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.Organization
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.Organization
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Organization
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Organization
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Organization
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Organization
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Organization
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Organization
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Organization
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Organization
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Organization
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Organization
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Organization
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Organization
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Organization
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.Organization) predicate.Organization
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Organization) predicate.Organization
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Organization queries.
func ByHTMLURL ¶
func ByHTMLURL(opts ...sql.OrderTermOption) OrderOption
ByHTMLURL orders the results by the html_url field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRepositories ¶
func ByRepositories(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRepositories orders the results by repositories terms.
func ByRepositoriesCount ¶
func ByRepositoriesCount(opts ...sql.OrderTermOption) OrderOption
ByRepositoriesCount orders the results by repositories count.