Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Survey) predicate.Survey
- func Description(v string) predicate.Survey
- func DescriptionContains(v string) predicate.Survey
- func DescriptionContainsFold(v string) predicate.Survey
- func DescriptionEQ(v string) predicate.Survey
- func DescriptionEqualFold(v string) predicate.Survey
- func DescriptionGT(v string) predicate.Survey
- func DescriptionGTE(v string) predicate.Survey
- func DescriptionHasPrefix(v string) predicate.Survey
- func DescriptionHasSuffix(v string) predicate.Survey
- func DescriptionIn(vs ...string) predicate.Survey
- func DescriptionIsNil() predicate.Survey
- func DescriptionLT(v string) predicate.Survey
- func DescriptionLTE(v string) predicate.Survey
- func DescriptionNEQ(v string) predicate.Survey
- func DescriptionNotIn(vs ...string) predicate.Survey
- func DescriptionNotNil() predicate.Survey
- func Done(v bool) predicate.Survey
- func DoneEQ(v bool) predicate.Survey
- func DoneIsNil() predicate.Survey
- func DoneNEQ(v bool) predicate.Survey
- func DoneNotNil() predicate.Survey
- func DueDate(v time.Time) predicate.Survey
- func DueDateEQ(v time.Time) predicate.Survey
- func DueDateGT(v time.Time) predicate.Survey
- func DueDateGTE(v time.Time) predicate.Survey
- func DueDateIn(vs ...time.Time) predicate.Survey
- func DueDateLT(v time.Time) predicate.Survey
- func DueDateLTE(v time.Time) predicate.Survey
- func DueDateNEQ(v time.Time) predicate.Survey
- func DueDateNotIn(vs ...time.Time) predicate.Survey
- func HasFlow() predicate.Survey
- func HasFlowWith(preds ...predicate.Flow) predicate.Survey
- func HasFor() predicate.Survey
- func HasForWith(preds ...predicate.Person) predicate.Survey
- func HasOwner() predicate.Survey
- func HasOwnerWith(preds ...predicate.Domain) predicate.Survey
- func ID(id uuid.UUID) predicate.Survey
- func IDEQ(id uuid.UUID) predicate.Survey
- func IDGT(id uuid.UUID) predicate.Survey
- func IDGTE(id uuid.UUID) predicate.Survey
- func IDIn(ids ...uuid.UUID) predicate.Survey
- func IDLT(id uuid.UUID) predicate.Survey
- func IDLTE(id uuid.UUID) predicate.Survey
- func IDNEQ(id uuid.UUID) predicate.Survey
- func IDNotIn(ids ...uuid.UUID) predicate.Survey
- func IsPublic(v bool) predicate.Survey
- func IsPublicEQ(v bool) predicate.Survey
- func IsPublicIsNil() predicate.Survey
- func IsPublicNEQ(v bool) predicate.Survey
- func IsPublicNotNil() predicate.Survey
- func LastInteraction(v time.Time) predicate.Survey
- func LastInteractionEQ(v time.Time) predicate.Survey
- func LastInteractionGT(v time.Time) predicate.Survey
- func LastInteractionGTE(v time.Time) predicate.Survey
- func LastInteractionIn(vs ...time.Time) predicate.Survey
- func LastInteractionLT(v time.Time) predicate.Survey
- func LastInteractionLTE(v time.Time) predicate.Survey
- func LastInteractionNEQ(v time.Time) predicate.Survey
- func LastInteractionNotIn(vs ...time.Time) predicate.Survey
- func MetadataIsNil() predicate.Survey
- func MetadataNotNil() predicate.Survey
- func Not(p predicate.Survey) predicate.Survey
- func Or(predicates ...predicate.Survey) predicate.Survey
- func Title(v string) predicate.Survey
- func TitleContains(v string) predicate.Survey
- func TitleContainsFold(v string) predicate.Survey
- func TitleEQ(v string) predicate.Survey
- func TitleEqualFold(v string) predicate.Survey
- func TitleGT(v string) predicate.Survey
- func TitleGTE(v string) predicate.Survey
- func TitleHasPrefix(v string) predicate.Survey
- func TitleHasSuffix(v string) predicate.Survey
- func TitleIn(vs ...string) predicate.Survey
- func TitleLT(v string) predicate.Survey
- func TitleLTE(v string) predicate.Survey
- func TitleNEQ(v string) predicate.Survey
- func TitleNotIn(vs ...string) predicate.Survey
Constants ¶
const ( // Label holds the string label denoting the survey type in the database. Label = "survey" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTags holds the string denoting the tags vertex property in the database. FieldTags = "tags" // FieldLastInteraction holds the string denoting the lastinteraction vertex property in the database. FieldLastInteraction = "last_interaction" // FieldDueDate holds the string denoting the duedate vertex property in the database. FieldDueDate = "due_date" // FieldTitle holds the string denoting the title vertex property in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description vertex property in the database. FieldDescription = "description" // FieldMetadata holds the string denoting the metadata vertex property in the database. FieldMetadata = "metadata" // FieldDone holds the string denoting the done vertex property in the database. FieldDone = "done" // FieldIsPublic holds the string denoting the ispublic vertex property in the database. FieldIsPublic = "is_public" // EdgeFlow holds the string denoting the flow edge name in mutations. EdgeFlow = "flow" // EdgeFor holds the string denoting the for edge name in mutations. EdgeFor = "for" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the survey in the database. Table = "surveys" // FlowTable is the table the holds the flow relation/edge. FlowTable = "flows" // FlowInverseTable is the table name for the Flow entity. // It exists in this package in order to avoid circular dependency with the "flow" package. FlowInverseTable = "flows" // FlowColumn is the table column denoting the flow relation/edge. FlowColumn = "survey_flow" // ForTable is the table the holds the for relation/edge. ForTable = "surveys" // ForInverseTable is the table name for the Person entity. // It exists in this package in order to avoid circular dependency with the "person" package. ForInverseTable = "persons" // ForColumn is the table column denoting the for relation/edge. ForColumn = "person_surveys" // OwnerTable is the table the holds the owner relation/edge. OwnerTable = "surveys" // OwnerInverseTable is the table name for the Domain entity. // It exists in this package in order to avoid circular dependency with the "domain" package. OwnerInverseTable = "domains" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "domain_surveys" )
Variables ¶
var ( // DefaultDueDate holds the default value on creation for the dueDate field. DefaultDueDate func() time.Time // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultDone holds the default value on creation for the done field. DefaultDone bool // DefaultIsPublic holds the default value on creation for the isPublic field. DefaultIsPublic bool )
var Columns = []string{ FieldID, FieldTags, FieldLastInteraction, FieldDueDate, FieldTitle, FieldDescription, FieldMetadata, FieldDone, FieldIsPublic, }
Columns holds all SQL columns for survey fields.
var ForeignKeys = []string{
"domain_surveys",
"person_surveys",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Survey type.
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 DescriptionIsNil ¶
DescriptionIsNil applies the IsNil 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 DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DoneNotNil ¶
DoneNotNil applies the NotNil predicate on the "done" field.
func DueDate ¶
DueDate applies equality check predicate on the "dueDate" field. It's identical to DueDateEQ.
func DueDateGTE ¶
DueDateGTE applies the GTE predicate on the "dueDate" field.
func DueDateLTE ¶
DueDateLTE applies the LTE predicate on the "dueDate" field.
func DueDateNEQ ¶
DueDateNEQ applies the NEQ predicate on the "dueDate" field.
func DueDateNotIn ¶
DueDateNotIn applies the NotIn predicate on the "dueDate" field.
func HasFlowWith ¶
HasFlowWith applies the HasEdge predicate on the "flow" edge with a given conditions (other predicates).
func HasForWith ¶
HasForWith applies the HasEdge predicate on the "for" edge with a given conditions (other predicates).
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IsPublic ¶
IsPublic applies equality check predicate on the "isPublic" field. It's identical to IsPublicEQ.
func IsPublicEQ ¶
IsPublicEQ applies the EQ predicate on the "isPublic" field.
func IsPublicIsNil ¶
IsPublicIsNil applies the IsNil predicate on the "isPublic" field.
func IsPublicNEQ ¶
IsPublicNEQ applies the NEQ predicate on the "isPublic" field.
func IsPublicNotNil ¶
IsPublicNotNil applies the NotNil predicate on the "isPublic" field.
func LastInteraction ¶
LastInteraction applies equality check predicate on the "lastInteraction" field. It's identical to LastInteractionEQ.
func LastInteractionEQ ¶
LastInteractionEQ applies the EQ predicate on the "lastInteraction" field.
func LastInteractionGT ¶
LastInteractionGT applies the GT predicate on the "lastInteraction" field.
func LastInteractionGTE ¶
LastInteractionGTE applies the GTE predicate on the "lastInteraction" field.
func LastInteractionIn ¶
LastInteractionIn applies the In predicate on the "lastInteraction" field.
func LastInteractionLT ¶
LastInteractionLT applies the LT predicate on the "lastInteraction" field.
func LastInteractionLTE ¶
LastInteractionLTE applies the LTE predicate on the "lastInteraction" field.
func LastInteractionNEQ ¶
LastInteractionNEQ applies the NEQ predicate on the "lastInteraction" field.
func LastInteractionNotIn ¶
LastInteractionNotIn applies the NotIn predicate on the "lastInteraction" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
Types ¶
This section is empty.