Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Domain) predicate.Domain
- func Callback(v string) predicate.Domain
- func CallbackContains(v string) predicate.Domain
- func CallbackContainsFold(v string) predicate.Domain
- func CallbackEQ(v string) predicate.Domain
- func CallbackEqualFold(v string) predicate.Domain
- func CallbackGT(v string) predicate.Domain
- func CallbackGTE(v string) predicate.Domain
- func CallbackHasPrefix(v string) predicate.Domain
- func CallbackHasSuffix(v string) predicate.Domain
- func CallbackIn(vs ...string) predicate.Domain
- func CallbackLT(v string) predicate.Domain
- func CallbackLTE(v string) predicate.Domain
- func CallbackNEQ(v string) predicate.Domain
- func CallbackNotIn(vs ...string) predicate.Domain
- func Domain(v string) predicate.Domain
- func DomainContains(v string) predicate.Domain
- func DomainContainsFold(v string) predicate.Domain
- func DomainEQ(v string) predicate.Domain
- func DomainEqualFold(v string) predicate.Domain
- func DomainGT(v string) predicate.Domain
- func DomainGTE(v string) predicate.Domain
- func DomainHasPrefix(v string) predicate.Domain
- func DomainHasSuffix(v string) predicate.Domain
- func DomainIn(vs ...string) predicate.Domain
- func DomainLT(v string) predicate.Domain
- func DomainLTE(v string) predicate.Domain
- func DomainNEQ(v string) predicate.Domain
- func DomainNotIn(vs ...string) predicate.Domain
- func Email(v string) predicate.Domain
- func EmailContains(v string) predicate.Domain
- func EmailContainsFold(v string) predicate.Domain
- func EmailEQ(v string) predicate.Domain
- func EmailEqualFold(v string) predicate.Domain
- func EmailGT(v string) predicate.Domain
- func EmailGTE(v string) predicate.Domain
- func EmailHasPrefix(v string) predicate.Domain
- func EmailHasSuffix(v string) predicate.Domain
- func EmailIn(vs ...string) predicate.Domain
- func EmailLT(v string) predicate.Domain
- func EmailLTE(v string) predicate.Domain
- func EmailNEQ(v string) predicate.Domain
- func EmailNotIn(vs ...string) predicate.Domain
- func HasAdmins() predicate.Domain
- func HasAdminsWith(preds ...predicate.Person) predicate.Domain
- func HasSurveys() predicate.Domain
- func HasSurveysWith(preds ...predicate.Survey) predicate.Domain
- func HasUsers() predicate.Domain
- func HasUsersWith(preds ...predicate.Person) predicate.Domain
- func ID(id uuid.UUID) predicate.Domain
- func IDEQ(id uuid.UUID) predicate.Domain
- func IDGT(id uuid.UUID) predicate.Domain
- func IDGTE(id uuid.UUID) predicate.Domain
- func IDIn(ids ...uuid.UUID) predicate.Domain
- func IDLT(id uuid.UUID) predicate.Domain
- func IDLTE(id uuid.UUID) predicate.Domain
- func IDNEQ(id uuid.UUID) predicate.Domain
- func IDNotIn(ids ...uuid.UUID) predicate.Domain
- func Name(v string) predicate.Domain
- func NameContains(v string) predicate.Domain
- func NameContainsFold(v string) predicate.Domain
- func NameEQ(v string) predicate.Domain
- func NameEqualFold(v string) predicate.Domain
- func NameGT(v string) predicate.Domain
- func NameGTE(v string) predicate.Domain
- func NameHasPrefix(v string) predicate.Domain
- func NameHasSuffix(v string) predicate.Domain
- func NameIn(vs ...string) predicate.Domain
- func NameLT(v string) predicate.Domain
- func NameLTE(v string) predicate.Domain
- func NameNEQ(v string) predicate.Domain
- func NameNotIn(vs ...string) predicate.Domain
- func Not(p predicate.Domain) predicate.Domain
- func Or(predicates ...predicate.Domain) predicate.Domain
Constants ¶
const ( // Label holds the string label denoting the domain type in the database. Label = "domain" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // FieldEmail holds the string denoting the email vertex property in the database. FieldEmail = "email" // FieldDomain holds the string denoting the domain vertex property in the database. FieldDomain = "domain" // FieldCallback holds the string denoting the callback vertex property in the database. FieldCallback = "callback" // FieldTags holds the string denoting the tags vertex property in the database. FieldTags = "tags" // EdgeSurveys holds the string denoting the surveys edge name in mutations. EdgeSurveys = "surveys" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeAdmins holds the string denoting the admins edge name in mutations. EdgeAdmins = "admins" // Table holds the table name of the domain in the database. Table = "domains" // SurveysTable is the table the holds the surveys relation/edge. SurveysTable = "surveys" // SurveysInverseTable is the table name for the Survey entity. // It exists in this package in order to avoid circular dependency with the "survey" package. SurveysInverseTable = "surveys" // SurveysColumn is the table column denoting the surveys relation/edge. SurveysColumn = "domain_surveys" // UsersTable is the table the holds the users relation/edge. The primary key declared below. UsersTable = "domain_users" // UsersInverseTable is the table name for the Person entity. // It exists in this package in order to avoid circular dependency with the "person" package. UsersInverseTable = "persons" // AdminsTable is the table the holds the admins relation/edge. The primary key declared below. AdminsTable = "domain_admins" // AdminsInverseTable is the table name for the Person entity. // It exists in this package in order to avoid circular dependency with the "person" package. AdminsInverseTable = "persons" )
Variables ¶
var ( // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"domain_id", "person_id"} // AdminsPrimaryKey and AdminsColumn2 are the table columns denoting the // primary key for the admins relation (M2M). AdminsPrimaryKey = []string{"domain_id", "person_id"} )
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error )
var Columns = []string{ FieldID, FieldName, FieldEmail, FieldDomain, FieldCallback, FieldTags, }
Columns holds all SQL columns for domain fields.
Functions ¶
func Callback ¶
Callback applies equality check predicate on the "callback" field. It's identical to CallbackEQ.
func CallbackContains ¶
CallbackContains applies the Contains predicate on the "callback" field.
func CallbackContainsFold ¶
CallbackContainsFold applies the ContainsFold predicate on the "callback" field.
func CallbackEQ ¶
CallbackEQ applies the EQ predicate on the "callback" field.
func CallbackEqualFold ¶
CallbackEqualFold applies the EqualFold predicate on the "callback" field.
func CallbackGT ¶
CallbackGT applies the GT predicate on the "callback" field.
func CallbackGTE ¶
CallbackGTE applies the GTE predicate on the "callback" field.
func CallbackHasPrefix ¶
CallbackHasPrefix applies the HasPrefix predicate on the "callback" field.
func CallbackHasSuffix ¶
CallbackHasSuffix applies the HasSuffix predicate on the "callback" field.
func CallbackIn ¶
CallbackIn applies the In predicate on the "callback" field.
func CallbackLT ¶
CallbackLT applies the LT predicate on the "callback" field.
func CallbackLTE ¶
CallbackLTE applies the LTE predicate on the "callback" field.
func CallbackNEQ ¶
CallbackNEQ applies the NEQ predicate on the "callback" field.
func CallbackNotIn ¶
CallbackNotIn applies the NotIn predicate on the "callback" field.
func Domain ¶
Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func DomainContains ¶
DomainContains applies the Contains predicate on the "domain" field.
func DomainContainsFold ¶
DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainEqualFold ¶
DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainHasPrefix ¶
DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasSuffix ¶
DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainNotIn ¶
DomainNotIn applies the NotIn predicate on the "domain" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func HasAdminsWith ¶
HasAdminsWith applies the HasEdge predicate on the "admins" edge with a given conditions (other predicates).
func HasSurveys ¶
HasSurveys applies the HasEdge predicate on the "surveys" edge.
func HasSurveysWith ¶
HasSurveysWith applies the HasEdge predicate on the "surveys" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" 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.
Types ¶
This section is empty.