Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Flow) predicate.Flow
- func HasQuestions() predicate.Flow
- func HasQuestionsWith(preds ...predicate.Question) predicate.Flow
- func HasSurvey() predicate.Flow
- func HasSurveyWith(preds ...predicate.Survey) predicate.Flow
- func ID(id uuid.UUID) predicate.Flow
- func IDEQ(id uuid.UUID) predicate.Flow
- func IDGT(id uuid.UUID) predicate.Flow
- func IDGTE(id uuid.UUID) predicate.Flow
- func IDIn(ids ...uuid.UUID) predicate.Flow
- func IDLT(id uuid.UUID) predicate.Flow
- func IDLTE(id uuid.UUID) predicate.Flow
- func IDNEQ(id uuid.UUID) predicate.Flow
- func IDNotIn(ids ...uuid.UUID) predicate.Flow
- func InitialState(v uuid.UUID) predicate.Flow
- func InitialStateEQ(v uuid.UUID) predicate.Flow
- func InitialStateGT(v uuid.UUID) predicate.Flow
- func InitialStateGTE(v uuid.UUID) predicate.Flow
- func InitialStateIn(vs ...uuid.UUID) predicate.Flow
- func InitialStateLT(v uuid.UUID) predicate.Flow
- func InitialStateLTE(v uuid.UUID) predicate.Flow
- func InitialStateNEQ(v uuid.UUID) predicate.Flow
- func InitialStateNotIn(vs ...uuid.UUID) predicate.Flow
- func InputsIsNil() predicate.Flow
- func InputsNotNil() predicate.Flow
- func Not(p predicate.Flow) predicate.Flow
- func Or(predicates ...predicate.Flow) predicate.Flow
- func PastState(v uuid.UUID) predicate.Flow
- func PastStateEQ(v uuid.UUID) predicate.Flow
- func PastStateGT(v uuid.UUID) predicate.Flow
- func PastStateGTE(v uuid.UUID) predicate.Flow
- func PastStateIn(vs ...uuid.UUID) predicate.Flow
- func PastStateIsNil() predicate.Flow
- func PastStateLT(v uuid.UUID) predicate.Flow
- func PastStateLTE(v uuid.UUID) predicate.Flow
- func PastStateNEQ(v uuid.UUID) predicate.Flow
- func PastStateNotIn(vs ...uuid.UUID) predicate.Flow
- func PastStateNotNil() predicate.Flow
- func State(v uuid.UUID) predicate.Flow
- func StateEQ(v uuid.UUID) predicate.Flow
- func StateGT(v uuid.UUID) predicate.Flow
- func StateGTE(v uuid.UUID) predicate.Flow
- func StateIn(vs ...uuid.UUID) predicate.Flow
- func StateLT(v uuid.UUID) predicate.Flow
- func StateLTE(v uuid.UUID) predicate.Flow
- func StateNEQ(v uuid.UUID) predicate.Flow
- func StateNotIn(vs ...uuid.UUID) predicate.Flow
- func StateTable(v string) predicate.Flow
- func StateTableContains(v string) predicate.Flow
- func StateTableContainsFold(v string) predicate.Flow
- func StateTableEQ(v string) predicate.Flow
- func StateTableEqualFold(v string) predicate.Flow
- func StateTableGT(v string) predicate.Flow
- func StateTableGTE(v string) predicate.Flow
- func StateTableHasPrefix(v string) predicate.Flow
- func StateTableHasSuffix(v string) predicate.Flow
- func StateTableIn(vs ...string) predicate.Flow
- func StateTableLT(v string) predicate.Flow
- func StateTableLTE(v string) predicate.Flow
- func StateTableNEQ(v string) predicate.Flow
- func StateTableNotIn(vs ...string) predicate.Flow
- func TerminationState(v uuid.UUID) predicate.Flow
- func TerminationStateEQ(v uuid.UUID) predicate.Flow
- func TerminationStateGT(v uuid.UUID) predicate.Flow
- func TerminationStateGTE(v uuid.UUID) predicate.Flow
- func TerminationStateIn(vs ...uuid.UUID) predicate.Flow
- func TerminationStateLT(v uuid.UUID) predicate.Flow
- func TerminationStateLTE(v uuid.UUID) predicate.Flow
- func TerminationStateNEQ(v uuid.UUID) predicate.Flow
- func TerminationStateNotIn(vs ...uuid.UUID) predicate.Flow
Constants ¶
const ( // Label holds the string label denoting the flow type in the database. Label = "flow" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldState holds the string denoting the state vertex property in the database. FieldState = "state" // FieldStateTable holds the string denoting the statetable vertex property in the database. FieldStateTable = "state_table" // FieldInitialState holds the string denoting the initialstate vertex property in the database. FieldInitialState = "initial_state" // FieldTerminationState holds the string denoting the terminationstate vertex property in the database. FieldTerminationState = "termination_state" // FieldPastState holds the string denoting the paststate vertex property in the database. FieldPastState = "past_state" // FieldInputs holds the string denoting the inputs vertex property in the database. FieldInputs = "inputs" // EdgeSurvey holds the string denoting the survey edge name in mutations. EdgeSurvey = "survey" // EdgeQuestions holds the string denoting the questions edge name in mutations. EdgeQuestions = "questions" // Table holds the table name of the flow in the database. Table = "flows" // SurveyTable is the table the holds the survey relation/edge. SurveyTable = "flows" // SurveyInverseTable is the table name for the Survey entity. // It exists in this package in order to avoid circular dependency with the "survey" package. SurveyInverseTable = "surveys" // SurveyColumn is the table column denoting the survey relation/edge. SurveyColumn = "survey_flow" // QuestionsTable is the table the holds the questions relation/edge. QuestionsTable = "questions" // QuestionsInverseTable is the table name for the Question entity. // It exists in this package in order to avoid circular dependency with the "question" package. QuestionsInverseTable = "questions" // QuestionsColumn is the table column denoting the questions relation/edge. QuestionsColumn = "flow_questions" )
Variables ¶
var Columns = []string{ FieldID, FieldState, FieldStateTable, FieldInitialState, FieldTerminationState, FieldPastState, FieldInputs, }
Columns holds all SQL columns for flow fields.
var ForeignKeys = []string{
"survey_flow",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Flow type.
var ( // StateTableValidator is a validator for the "stateTable" field. It is called by the builders before save. StateTableValidator func(string) error )
Functions ¶
func HasQuestions ¶
HasQuestions applies the HasEdge predicate on the "questions" edge.
func HasQuestionsWith ¶
HasQuestionsWith applies the HasEdge predicate on the "questions" edge with a given conditions (other predicates).
func HasSurveyWith ¶
HasSurveyWith applies the HasEdge predicate on the "survey" edge with a given conditions (other predicates).
func InitialState ¶
InitialState applies equality check predicate on the "initialState" field. It's identical to InitialStateEQ.
func InitialStateEQ ¶
InitialStateEQ applies the EQ predicate on the "initialState" field.
func InitialStateGT ¶
InitialStateGT applies the GT predicate on the "initialState" field.
func InitialStateGTE ¶
InitialStateGTE applies the GTE predicate on the "initialState" field.
func InitialStateIn ¶
InitialStateIn applies the In predicate on the "initialState" field.
func InitialStateLT ¶
InitialStateLT applies the LT predicate on the "initialState" field.
func InitialStateLTE ¶
InitialStateLTE applies the LTE predicate on the "initialState" field.
func InitialStateNEQ ¶
InitialStateNEQ applies the NEQ predicate on the "initialState" field.
func InitialStateNotIn ¶
InitialStateNotIn applies the NotIn predicate on the "initialState" field.
func InputsIsNil ¶
InputsIsNil applies the IsNil predicate on the "inputs" field.
func InputsNotNil ¶
InputsNotNil applies the NotNil predicate on the "inputs" field.
func PastState ¶
PastState applies equality check predicate on the "pastState" field. It's identical to PastStateEQ.
func PastStateEQ ¶
PastStateEQ applies the EQ predicate on the "pastState" field.
func PastStateGT ¶
PastStateGT applies the GT predicate on the "pastState" field.
func PastStateGTE ¶
PastStateGTE applies the GTE predicate on the "pastState" field.
func PastStateIn ¶
PastStateIn applies the In predicate on the "pastState" field.
func PastStateIsNil ¶
PastStateIsNil applies the IsNil predicate on the "pastState" field.
func PastStateLT ¶
PastStateLT applies the LT predicate on the "pastState" field.
func PastStateLTE ¶
PastStateLTE applies the LTE predicate on the "pastState" field.
func PastStateNEQ ¶
PastStateNEQ applies the NEQ predicate on the "pastState" field.
func PastStateNotIn ¶
PastStateNotIn applies the NotIn predicate on the "pastState" field.
func PastStateNotNil ¶
PastStateNotNil applies the NotNil predicate on the "pastState" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" field.
func StateTable ¶
StateTable applies equality check predicate on the "stateTable" field. It's identical to StateTableEQ.
func StateTableContains ¶
StateTableContains applies the Contains predicate on the "stateTable" field.
func StateTableContainsFold ¶
StateTableContainsFold applies the ContainsFold predicate on the "stateTable" field.
func StateTableEQ ¶
StateTableEQ applies the EQ predicate on the "stateTable" field.
func StateTableEqualFold ¶
StateTableEqualFold applies the EqualFold predicate on the "stateTable" field.
func StateTableGT ¶
StateTableGT applies the GT predicate on the "stateTable" field.
func StateTableGTE ¶
StateTableGTE applies the GTE predicate on the "stateTable" field.
func StateTableHasPrefix ¶
StateTableHasPrefix applies the HasPrefix predicate on the "stateTable" field.
func StateTableHasSuffix ¶
StateTableHasSuffix applies the HasSuffix predicate on the "stateTable" field.
func StateTableIn ¶
StateTableIn applies the In predicate on the "stateTable" field.
func StateTableLT ¶
StateTableLT applies the LT predicate on the "stateTable" field.
func StateTableLTE ¶
StateTableLTE applies the LTE predicate on the "stateTable" field.
func StateTableNEQ ¶
StateTableNEQ applies the NEQ predicate on the "stateTable" field.
func StateTableNotIn ¶
StateTableNotIn applies the NotIn predicate on the "stateTable" field.
func TerminationState ¶
TerminationState applies equality check predicate on the "terminationState" field. It's identical to TerminationStateEQ.
func TerminationStateEQ ¶
TerminationStateEQ applies the EQ predicate on the "terminationState" field.
func TerminationStateGT ¶
TerminationStateGT applies the GT predicate on the "terminationState" field.
func TerminationStateGTE ¶
TerminationStateGTE applies the GTE predicate on the "terminationState" field.
func TerminationStateIn ¶
TerminationStateIn applies the In predicate on the "terminationState" field.
func TerminationStateLT ¶
TerminationStateLT applies the LT predicate on the "terminationState" field.
func TerminationStateLTE ¶
TerminationStateLTE applies the LTE predicate on the "terminationState" field.
func TerminationStateNEQ ¶
TerminationStateNEQ applies the NEQ predicate on the "terminationState" field.
Types ¶
This section is empty.