Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GithubOrganization) predicate.GithubOrganization
- func DisplayName(v string) predicate.GithubOrganization
- func DisplayNameContains(v string) predicate.GithubOrganization
- func DisplayNameContainsFold(v string) predicate.GithubOrganization
- func DisplayNameEQ(v string) predicate.GithubOrganization
- func DisplayNameEqualFold(v string) predicate.GithubOrganization
- func DisplayNameGT(v string) predicate.GithubOrganization
- func DisplayNameGTE(v string) predicate.GithubOrganization
- func DisplayNameHasPrefix(v string) predicate.GithubOrganization
- func DisplayNameHasSuffix(v string) predicate.GithubOrganization
- func DisplayNameIn(vs ...string) predicate.GithubOrganization
- func DisplayNameIsNil() predicate.GithubOrganization
- func DisplayNameLT(v string) predicate.GithubOrganization
- func DisplayNameLTE(v string) predicate.GithubOrganization
- func DisplayNameNEQ(v string) predicate.GithubOrganization
- func DisplayNameNotIn(vs ...string) predicate.GithubOrganization
- func DisplayNameNotNil() predicate.GithubOrganization
- func HasMembers() predicate.GithubOrganization
- func HasMembersWith(preds ...predicate.GithubOrganizationMember) predicate.GithubOrganization
- func HasRepositories() predicate.GithubOrganization
- func HasRepositoriesWith(preds ...predicate.Repository) predicate.GithubOrganization
- func ID(id int) predicate.GithubOrganization
- func IDEQ(id int) predicate.GithubOrganization
- func IDGT(id int) predicate.GithubOrganization
- func IDGTE(id int) predicate.GithubOrganization
- func IDIn(ids ...int) predicate.GithubOrganization
- func IDLT(id int) predicate.GithubOrganization
- func IDLTE(id int) predicate.GithubOrganization
- func IDNEQ(id int) predicate.GithubOrganization
- func IDNotIn(ids ...int) predicate.GithubOrganization
- func Name(v string) predicate.GithubOrganization
- func NameContains(v string) predicate.GithubOrganization
- func NameContainsFold(v string) predicate.GithubOrganization
- func NameEQ(v string) predicate.GithubOrganization
- func NameEqualFold(v string) predicate.GithubOrganization
- func NameGT(v string) predicate.GithubOrganization
- func NameGTE(v string) predicate.GithubOrganization
- func NameHasPrefix(v string) predicate.GithubOrganization
- func NameHasSuffix(v string) predicate.GithubOrganization
- func NameIn(vs ...string) predicate.GithubOrganization
- func NameLT(v string) predicate.GithubOrganization
- func NameLTE(v string) predicate.GithubOrganization
- func NameNEQ(v string) predicate.GithubOrganization
- func NameNotIn(vs ...string) predicate.GithubOrganization
- func Not(p predicate.GithubOrganization) predicate.GithubOrganization
- func Or(predicates ...predicate.GithubOrganization) predicate.GithubOrganization
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the githuborganization type in the database. Label = "github_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" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // EdgeMembers holds the string denoting the members edge name in mutations. EdgeMembers = "members" // EdgeRepositories holds the string denoting the repositories edge name in mutations. EdgeRepositories = "repositories" // Table holds the table name of the githuborganization in the database. Table = "github_organizations" // MembersTable is the table that holds the members relation/edge. MembersTable = "github_organization_members" // MembersInverseTable is the table name for the GithubOrganizationMember entity. // It exists in this package in order to avoid circular dependency with the "githuborganizationmember" package. MembersInverseTable = "github_organization_members" // MembersColumn is the table column denoting the members relation/edge. MembersColumn = "github_organization_members" // 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 = "github_organization_repositories" )
Variables ¶
var ( Hooks [1]ent.Hook Policy ent.Policy // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/fogo-sh/grackdb/ent/runtime"
var Columns = []string{ FieldID, FieldName, FieldDisplayName, }
Columns holds all SQL columns for githuborganization fields.
Functions ¶
func And ¶
func And(predicates ...predicate.GithubOrganization) predicate.GithubOrganization
And groups predicates with the AND operator between them.
func DisplayName ¶
func DisplayName(v string) predicate.GithubOrganization
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
func DisplayNameContains(v string) predicate.GithubOrganization
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
func DisplayNameContainsFold(v string) predicate.GithubOrganization
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
func DisplayNameEQ(v string) predicate.GithubOrganization
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
func DisplayNameEqualFold(v string) predicate.GithubOrganization
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
func DisplayNameGT(v string) predicate.GithubOrganization
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
func DisplayNameGTE(v string) predicate.GithubOrganization
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
func DisplayNameHasPrefix(v string) predicate.GithubOrganization
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
func DisplayNameHasSuffix(v string) predicate.GithubOrganization
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
func DisplayNameIn(vs ...string) predicate.GithubOrganization
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameIsNil ¶
func DisplayNameIsNil() predicate.GithubOrganization
DisplayNameIsNil applies the IsNil predicate on the "display_name" field.
func DisplayNameLT ¶
func DisplayNameLT(v string) predicate.GithubOrganization
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
func DisplayNameLTE(v string) predicate.GithubOrganization
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
func DisplayNameNEQ(v string) predicate.GithubOrganization
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
func DisplayNameNotIn(vs ...string) predicate.GithubOrganization
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func DisplayNameNotNil ¶
func DisplayNameNotNil() predicate.GithubOrganization
DisplayNameNotNil applies the NotNil predicate on the "display_name" field.
func HasMembers ¶
func HasMembers() predicate.GithubOrganization
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
func HasMembersWith(preds ...predicate.GithubOrganizationMember) predicate.GithubOrganization
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
func HasRepositories ¶
func HasRepositories() predicate.GithubOrganization
HasRepositories applies the HasEdge predicate on the "repositories" edge.
func HasRepositoriesWith ¶
func HasRepositoriesWith(preds ...predicate.Repository) predicate.GithubOrganization
HasRepositoriesWith applies the HasEdge predicate on the "repositories" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.GithubOrganization
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.GithubOrganization
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.GithubOrganization
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.GithubOrganization
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.GithubOrganization
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.GithubOrganization
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.GithubOrganization
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.GithubOrganization
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.GithubOrganization
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.GithubOrganization
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.GithubOrganization
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.GithubOrganization
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.GithubOrganization
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.GithubOrganization
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.GithubOrganization
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.GithubOrganization
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.GithubOrganization
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.GithubOrganization
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.GithubOrganization
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.GithubOrganization
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.GithubOrganization
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.GithubOrganization
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.GithubOrganization) predicate.GithubOrganization
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GithubOrganization) predicate.GithubOrganization
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 ¶
This section is empty.