Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Inquiry) predicate.Inquiry
- func Answer(v string) predicate.Inquiry
- func AnswerContains(v string) predicate.Inquiry
- func AnswerContainsFold(v string) predicate.Inquiry
- func AnswerEQ(v string) predicate.Inquiry
- func AnswerEqualFold(v string) predicate.Inquiry
- func AnswerGT(v string) predicate.Inquiry
- func AnswerGTE(v string) predicate.Inquiry
- func AnswerHasPrefix(v string) predicate.Inquiry
- func AnswerHasSuffix(v string) predicate.Inquiry
- func AnswerIn(vs ...string) predicate.Inquiry
- func AnswerIsNil() predicate.Inquiry
- func AnswerLT(v string) predicate.Inquiry
- func AnswerLTE(v string) predicate.Inquiry
- func AnswerNEQ(v string) predicate.Inquiry
- func AnswerNotIn(vs ...string) predicate.Inquiry
- func AnswerNotNil() predicate.Inquiry
- func Context(v string) predicate.Inquiry
- func ContextContains(v string) predicate.Inquiry
- func ContextContainsFold(v string) predicate.Inquiry
- func ContextEQ(v string) predicate.Inquiry
- func ContextEqualFold(v string) predicate.Inquiry
- func ContextGT(v string) predicate.Inquiry
- func ContextGTE(v string) predicate.Inquiry
- func ContextHasPrefix(v string) predicate.Inquiry
- func ContextHasSuffix(v string) predicate.Inquiry
- func ContextIn(vs ...string) predicate.Inquiry
- func ContextIsNil() predicate.Inquiry
- func ContextLT(v string) predicate.Inquiry
- func ContextLTE(v string) predicate.Inquiry
- func ContextNEQ(v string) predicate.Inquiry
- func ContextNotIn(vs ...string) predicate.Inquiry
- func ContextNotNil() predicate.Inquiry
- func CreatedAt(v time.Time) predicate.Inquiry
- func CreatedAtEQ(v time.Time) predicate.Inquiry
- func CreatedAtGT(v time.Time) predicate.Inquiry
- func CreatedAtGTE(v time.Time) predicate.Inquiry
- func CreatedAtIn(vs ...time.Time) predicate.Inquiry
- func CreatedAtLT(v time.Time) predicate.Inquiry
- func CreatedAtLTE(v time.Time) predicate.Inquiry
- func CreatedAtNEQ(v time.Time) predicate.Inquiry
- func CreatedAtNotIn(vs ...time.Time) predicate.Inquiry
- func ID(id uuid.UUID) predicate.Inquiry
- func IDEQ(id uuid.UUID) predicate.Inquiry
- func IDGT(id uuid.UUID) predicate.Inquiry
- func IDGTE(id uuid.UUID) predicate.Inquiry
- func IDIn(ids ...uuid.UUID) predicate.Inquiry
- func IDLT(id uuid.UUID) predicate.Inquiry
- func IDLTE(id uuid.UUID) predicate.Inquiry
- func IDNEQ(id uuid.UUID) predicate.Inquiry
- func IDNotIn(ids ...uuid.UUID) predicate.Inquiry
- func KnowledgeKey(v string) predicate.Inquiry
- func KnowledgeKeyContains(v string) predicate.Inquiry
- func KnowledgeKeyContainsFold(v string) predicate.Inquiry
- func KnowledgeKeyEQ(v string) predicate.Inquiry
- func KnowledgeKeyEqualFold(v string) predicate.Inquiry
- func KnowledgeKeyGT(v string) predicate.Inquiry
- func KnowledgeKeyGTE(v string) predicate.Inquiry
- func KnowledgeKeyHasPrefix(v string) predicate.Inquiry
- func KnowledgeKeyHasSuffix(v string) predicate.Inquiry
- func KnowledgeKeyIn(vs ...string) predicate.Inquiry
- func KnowledgeKeyIsNil() predicate.Inquiry
- func KnowledgeKeyLT(v string) predicate.Inquiry
- func KnowledgeKeyLTE(v string) predicate.Inquiry
- func KnowledgeKeyNEQ(v string) predicate.Inquiry
- func KnowledgeKeyNotIn(vs ...string) predicate.Inquiry
- func KnowledgeKeyNotNil() predicate.Inquiry
- func Not(p predicate.Inquiry) predicate.Inquiry
- func Or(predicates ...predicate.Inquiry) predicate.Inquiry
- func PriorityEQ(v Priority) predicate.Inquiry
- func PriorityIn(vs ...Priority) predicate.Inquiry
- func PriorityNEQ(v Priority) predicate.Inquiry
- func PriorityNotIn(vs ...Priority) predicate.Inquiry
- func PriorityValidator(pr Priority) error
- func Question(v string) predicate.Inquiry
- func QuestionContains(v string) predicate.Inquiry
- func QuestionContainsFold(v string) predicate.Inquiry
- func QuestionEQ(v string) predicate.Inquiry
- func QuestionEqualFold(v string) predicate.Inquiry
- func QuestionGT(v string) predicate.Inquiry
- func QuestionGTE(v string) predicate.Inquiry
- func QuestionHasPrefix(v string) predicate.Inquiry
- func QuestionHasSuffix(v string) predicate.Inquiry
- func QuestionIn(vs ...string) predicate.Inquiry
- func QuestionLT(v string) predicate.Inquiry
- func QuestionLTE(v string) predicate.Inquiry
- func QuestionNEQ(v string) predicate.Inquiry
- func QuestionNotIn(vs ...string) predicate.Inquiry
- func ResolvedAt(v time.Time) predicate.Inquiry
- func ResolvedAtEQ(v time.Time) predicate.Inquiry
- func ResolvedAtGT(v time.Time) predicate.Inquiry
- func ResolvedAtGTE(v time.Time) predicate.Inquiry
- func ResolvedAtIn(vs ...time.Time) predicate.Inquiry
- func ResolvedAtIsNil() predicate.Inquiry
- func ResolvedAtLT(v time.Time) predicate.Inquiry
- func ResolvedAtLTE(v time.Time) predicate.Inquiry
- func ResolvedAtNEQ(v time.Time) predicate.Inquiry
- func ResolvedAtNotIn(vs ...time.Time) predicate.Inquiry
- func ResolvedAtNotNil() predicate.Inquiry
- func SessionKey(v string) predicate.Inquiry
- func SessionKeyContains(v string) predicate.Inquiry
- func SessionKeyContainsFold(v string) predicate.Inquiry
- func SessionKeyEQ(v string) predicate.Inquiry
- func SessionKeyEqualFold(v string) predicate.Inquiry
- func SessionKeyGT(v string) predicate.Inquiry
- func SessionKeyGTE(v string) predicate.Inquiry
- func SessionKeyHasPrefix(v string) predicate.Inquiry
- func SessionKeyHasSuffix(v string) predicate.Inquiry
- func SessionKeyIn(vs ...string) predicate.Inquiry
- func SessionKeyLT(v string) predicate.Inquiry
- func SessionKeyLTE(v string) predicate.Inquiry
- func SessionKeyNEQ(v string) predicate.Inquiry
- func SessionKeyNotIn(vs ...string) predicate.Inquiry
- func SourceObservationID(v string) predicate.Inquiry
- func SourceObservationIDContains(v string) predicate.Inquiry
- func SourceObservationIDContainsFold(v string) predicate.Inquiry
- func SourceObservationIDEQ(v string) predicate.Inquiry
- func SourceObservationIDEqualFold(v string) predicate.Inquiry
- func SourceObservationIDGT(v string) predicate.Inquiry
- func SourceObservationIDGTE(v string) predicate.Inquiry
- func SourceObservationIDHasPrefix(v string) predicate.Inquiry
- func SourceObservationIDHasSuffix(v string) predicate.Inquiry
- func SourceObservationIDIn(vs ...string) predicate.Inquiry
- func SourceObservationIDIsNil() predicate.Inquiry
- func SourceObservationIDLT(v string) predicate.Inquiry
- func SourceObservationIDLTE(v string) predicate.Inquiry
- func SourceObservationIDNEQ(v string) predicate.Inquiry
- func SourceObservationIDNotIn(vs ...string) predicate.Inquiry
- func SourceObservationIDNotNil() predicate.Inquiry
- func StatusEQ(v Status) predicate.Inquiry
- func StatusIn(vs ...Status) predicate.Inquiry
- func StatusNEQ(v Status) predicate.Inquiry
- func StatusNotIn(vs ...Status) predicate.Inquiry
- func StatusValidator(s Status) error
- func Topic(v string) predicate.Inquiry
- func TopicContains(v string) predicate.Inquiry
- func TopicContainsFold(v string) predicate.Inquiry
- func TopicEQ(v string) predicate.Inquiry
- func TopicEqualFold(v string) predicate.Inquiry
- func TopicGT(v string) predicate.Inquiry
- func TopicGTE(v string) predicate.Inquiry
- func TopicHasPrefix(v string) predicate.Inquiry
- func TopicHasSuffix(v string) predicate.Inquiry
- func TopicIn(vs ...string) predicate.Inquiry
- func TopicLT(v string) predicate.Inquiry
- func TopicLTE(v string) predicate.Inquiry
- func TopicNEQ(v string) predicate.Inquiry
- func TopicNotIn(vs ...string) predicate.Inquiry
- func ValidColumn(column string) bool
- type OrderOption
- func ByAnswer(opts ...sql.OrderTermOption) OrderOption
- func ByContext(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKnowledgeKey(opts ...sql.OrderTermOption) OrderOption
- func ByPriority(opts ...sql.OrderTermOption) OrderOption
- func ByQuestion(opts ...sql.OrderTermOption) OrderOption
- func ByResolvedAt(opts ...sql.OrderTermOption) OrderOption
- func BySessionKey(opts ...sql.OrderTermOption) OrderOption
- func BySourceObservationID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTopic(opts ...sql.OrderTermOption) OrderOption
- type Priority
- type Status
Constants ¶
const ( // Label holds the string label denoting the inquiry type in the database. Label = "inquiry" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSessionKey holds the string denoting the session_key field in the database. FieldSessionKey = "session_key" // FieldTopic holds the string denoting the topic field in the database. FieldTopic = "topic" // FieldQuestion holds the string denoting the question field in the database. FieldQuestion = "question" // FieldContext holds the string denoting the context field in the database. FieldContext = "context" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldAnswer holds the string denoting the answer field in the database. FieldAnswer = "answer" // FieldKnowledgeKey holds the string denoting the knowledge_key field in the database. FieldKnowledgeKey = "knowledge_key" // FieldSourceObservationID holds the string denoting the source_observation_id field in the database. FieldSourceObservationID = "source_observation_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldResolvedAt holds the string denoting the resolved_at field in the database. FieldResolvedAt = "resolved_at" // Table holds the table name of the inquiry in the database. Table = "inquiries" )
const DefaultPriority = PriorityMedium
PriorityMedium is the default value of the Priority enum.
const DefaultStatus = StatusPending
StatusPending is the default value of the Status enum.
Variables ¶
var ( // SessionKeyValidator is a validator for the "session_key" field. It is called by the builders before save. SessionKeyValidator func(string) error // TopicValidator is a validator for the "topic" field. It is called by the builders before save. TopicValidator func(string) error // QuestionValidator is a validator for the "question" field. It is called by the builders before save. QuestionValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSessionKey, FieldTopic, FieldQuestion, FieldContext, FieldPriority, FieldStatus, FieldAnswer, FieldKnowledgeKey, FieldSourceObservationID, FieldCreatedAt, FieldResolvedAt, }
Columns holds all SQL columns for inquiry fields.
Functions ¶
func Answer ¶
Answer applies equality check predicate on the "answer" field. It's identical to AnswerEQ.
func AnswerContains ¶
AnswerContains applies the Contains predicate on the "answer" field.
func AnswerContainsFold ¶
AnswerContainsFold applies the ContainsFold predicate on the "answer" field.
func AnswerEqualFold ¶
AnswerEqualFold applies the EqualFold predicate on the "answer" field.
func AnswerHasPrefix ¶
AnswerHasPrefix applies the HasPrefix predicate on the "answer" field.
func AnswerHasSuffix ¶
AnswerHasSuffix applies the HasSuffix predicate on the "answer" field.
func AnswerIsNil ¶
AnswerIsNil applies the IsNil predicate on the "answer" field.
func AnswerNotIn ¶
AnswerNotIn applies the NotIn predicate on the "answer" field.
func AnswerNotNil ¶
AnswerNotNil applies the NotNil predicate on the "answer" field.
func Context ¶
Context applies equality check predicate on the "context" field. It's identical to ContextEQ.
func ContextContains ¶
ContextContains applies the Contains predicate on the "context" field.
func ContextContainsFold ¶
ContextContainsFold applies the ContainsFold predicate on the "context" field.
func ContextEqualFold ¶
ContextEqualFold applies the EqualFold predicate on the "context" field.
func ContextGTE ¶
ContextGTE applies the GTE predicate on the "context" field.
func ContextHasPrefix ¶
ContextHasPrefix applies the HasPrefix predicate on the "context" field.
func ContextHasSuffix ¶
ContextHasSuffix applies the HasSuffix predicate on the "context" field.
func ContextIsNil ¶
ContextIsNil applies the IsNil predicate on the "context" field.
func ContextLTE ¶
ContextLTE applies the LTE predicate on the "context" field.
func ContextNEQ ¶
ContextNEQ applies the NEQ predicate on the "context" field.
func ContextNotIn ¶
ContextNotIn applies the NotIn predicate on the "context" field.
func ContextNotNil ¶
ContextNotNil applies the NotNil predicate on the "context" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func KnowledgeKey ¶
KnowledgeKey applies equality check predicate on the "knowledge_key" field. It's identical to KnowledgeKeyEQ.
func KnowledgeKeyContains ¶
KnowledgeKeyContains applies the Contains predicate on the "knowledge_key" field.
func KnowledgeKeyContainsFold ¶
KnowledgeKeyContainsFold applies the ContainsFold predicate on the "knowledge_key" field.
func KnowledgeKeyEQ ¶
KnowledgeKeyEQ applies the EQ predicate on the "knowledge_key" field.
func KnowledgeKeyEqualFold ¶
KnowledgeKeyEqualFold applies the EqualFold predicate on the "knowledge_key" field.
func KnowledgeKeyGT ¶
KnowledgeKeyGT applies the GT predicate on the "knowledge_key" field.
func KnowledgeKeyGTE ¶
KnowledgeKeyGTE applies the GTE predicate on the "knowledge_key" field.
func KnowledgeKeyHasPrefix ¶
KnowledgeKeyHasPrefix applies the HasPrefix predicate on the "knowledge_key" field.
func KnowledgeKeyHasSuffix ¶
KnowledgeKeyHasSuffix applies the HasSuffix predicate on the "knowledge_key" field.
func KnowledgeKeyIn ¶
KnowledgeKeyIn applies the In predicate on the "knowledge_key" field.
func KnowledgeKeyIsNil ¶
KnowledgeKeyIsNil applies the IsNil predicate on the "knowledge_key" field.
func KnowledgeKeyLT ¶
KnowledgeKeyLT applies the LT predicate on the "knowledge_key" field.
func KnowledgeKeyLTE ¶
KnowledgeKeyLTE applies the LTE predicate on the "knowledge_key" field.
func KnowledgeKeyNEQ ¶
KnowledgeKeyNEQ applies the NEQ predicate on the "knowledge_key" field.
func KnowledgeKeyNotIn ¶
KnowledgeKeyNotIn applies the NotIn predicate on the "knowledge_key" field.
func KnowledgeKeyNotNil ¶
KnowledgeKeyNotNil applies the NotNil predicate on the "knowledge_key" field.
func PriorityEQ ¶
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityIn ¶
PriorityIn applies the In predicate on the "priority" field.
func PriorityNEQ ¶
PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNotIn ¶
PriorityNotIn applies the NotIn predicate on the "priority" field.
func PriorityValidator ¶
PriorityValidator is a validator for the "priority" field enum values. It is called by the builders before save.
func Question ¶
Question applies equality check predicate on the "question" field. It's identical to QuestionEQ.
func QuestionContains ¶
QuestionContains applies the Contains predicate on the "question" field.
func QuestionContainsFold ¶
QuestionContainsFold applies the ContainsFold predicate on the "question" field.
func QuestionEQ ¶
QuestionEQ applies the EQ predicate on the "question" field.
func QuestionEqualFold ¶
QuestionEqualFold applies the EqualFold predicate on the "question" field.
func QuestionGT ¶
QuestionGT applies the GT predicate on the "question" field.
func QuestionGTE ¶
QuestionGTE applies the GTE predicate on the "question" field.
func QuestionHasPrefix ¶
QuestionHasPrefix applies the HasPrefix predicate on the "question" field.
func QuestionHasSuffix ¶
QuestionHasSuffix applies the HasSuffix predicate on the "question" field.
func QuestionIn ¶
QuestionIn applies the In predicate on the "question" field.
func QuestionLT ¶
QuestionLT applies the LT predicate on the "question" field.
func QuestionLTE ¶
QuestionLTE applies the LTE predicate on the "question" field.
func QuestionNEQ ¶
QuestionNEQ applies the NEQ predicate on the "question" field.
func QuestionNotIn ¶
QuestionNotIn applies the NotIn predicate on the "question" field.
func ResolvedAt ¶
ResolvedAt applies equality check predicate on the "resolved_at" field. It's identical to ResolvedAtEQ.
func ResolvedAtEQ ¶
ResolvedAtEQ applies the EQ predicate on the "resolved_at" field.
func ResolvedAtGT ¶
ResolvedAtGT applies the GT predicate on the "resolved_at" field.
func ResolvedAtGTE ¶
ResolvedAtGTE applies the GTE predicate on the "resolved_at" field.
func ResolvedAtIn ¶
ResolvedAtIn applies the In predicate on the "resolved_at" field.
func ResolvedAtIsNil ¶
ResolvedAtIsNil applies the IsNil predicate on the "resolved_at" field.
func ResolvedAtLT ¶
ResolvedAtLT applies the LT predicate on the "resolved_at" field.
func ResolvedAtLTE ¶
ResolvedAtLTE applies the LTE predicate on the "resolved_at" field.
func ResolvedAtNEQ ¶
ResolvedAtNEQ applies the NEQ predicate on the "resolved_at" field.
func ResolvedAtNotIn ¶
ResolvedAtNotIn applies the NotIn predicate on the "resolved_at" field.
func ResolvedAtNotNil ¶
ResolvedAtNotNil applies the NotNil predicate on the "resolved_at" field.
func SessionKey ¶
SessionKey applies equality check predicate on the "session_key" field. It's identical to SessionKeyEQ.
func SessionKeyContains ¶
SessionKeyContains applies the Contains predicate on the "session_key" field.
func SessionKeyContainsFold ¶
SessionKeyContainsFold applies the ContainsFold predicate on the "session_key" field.
func SessionKeyEQ ¶
SessionKeyEQ applies the EQ predicate on the "session_key" field.
func SessionKeyEqualFold ¶
SessionKeyEqualFold applies the EqualFold predicate on the "session_key" field.
func SessionKeyGT ¶
SessionKeyGT applies the GT predicate on the "session_key" field.
func SessionKeyGTE ¶
SessionKeyGTE applies the GTE predicate on the "session_key" field.
func SessionKeyHasPrefix ¶
SessionKeyHasPrefix applies the HasPrefix predicate on the "session_key" field.
func SessionKeyHasSuffix ¶
SessionKeyHasSuffix applies the HasSuffix predicate on the "session_key" field.
func SessionKeyIn ¶
SessionKeyIn applies the In predicate on the "session_key" field.
func SessionKeyLT ¶
SessionKeyLT applies the LT predicate on the "session_key" field.
func SessionKeyLTE ¶
SessionKeyLTE applies the LTE predicate on the "session_key" field.
func SessionKeyNEQ ¶
SessionKeyNEQ applies the NEQ predicate on the "session_key" field.
func SessionKeyNotIn ¶
SessionKeyNotIn applies the NotIn predicate on the "session_key" field.
func SourceObservationID ¶
SourceObservationID applies equality check predicate on the "source_observation_id" field. It's identical to SourceObservationIDEQ.
func SourceObservationIDContains ¶
SourceObservationIDContains applies the Contains predicate on the "source_observation_id" field.
func SourceObservationIDContainsFold ¶
SourceObservationIDContainsFold applies the ContainsFold predicate on the "source_observation_id" field.
func SourceObservationIDEQ ¶
SourceObservationIDEQ applies the EQ predicate on the "source_observation_id" field.
func SourceObservationIDEqualFold ¶
SourceObservationIDEqualFold applies the EqualFold predicate on the "source_observation_id" field.
func SourceObservationIDGT ¶
SourceObservationIDGT applies the GT predicate on the "source_observation_id" field.
func SourceObservationIDGTE ¶
SourceObservationIDGTE applies the GTE predicate on the "source_observation_id" field.
func SourceObservationIDHasPrefix ¶
SourceObservationIDHasPrefix applies the HasPrefix predicate on the "source_observation_id" field.
func SourceObservationIDHasSuffix ¶
SourceObservationIDHasSuffix applies the HasSuffix predicate on the "source_observation_id" field.
func SourceObservationIDIn ¶
SourceObservationIDIn applies the In predicate on the "source_observation_id" field.
func SourceObservationIDIsNil ¶
SourceObservationIDIsNil applies the IsNil predicate on the "source_observation_id" field.
func SourceObservationIDLT ¶
SourceObservationIDLT applies the LT predicate on the "source_observation_id" field.
func SourceObservationIDLTE ¶
SourceObservationIDLTE applies the LTE predicate on the "source_observation_id" field.
func SourceObservationIDNEQ ¶
SourceObservationIDNEQ applies the NEQ predicate on the "source_observation_id" field.
func SourceObservationIDNotIn ¶
SourceObservationIDNotIn applies the NotIn predicate on the "source_observation_id" field.
func SourceObservationIDNotNil ¶
SourceObservationIDNotNil applies the NotNil predicate on the "source_observation_id" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Topic ¶
Topic applies equality check predicate on the "topic" field. It's identical to TopicEQ.
func TopicContains ¶
TopicContains applies the Contains predicate on the "topic" field.
func TopicContainsFold ¶
TopicContainsFold applies the ContainsFold predicate on the "topic" field.
func TopicEqualFold ¶
TopicEqualFold applies the EqualFold predicate on the "topic" field.
func TopicHasPrefix ¶
TopicHasPrefix applies the HasPrefix predicate on the "topic" field.
func TopicHasSuffix ¶
TopicHasSuffix applies the HasSuffix predicate on the "topic" field.
func TopicNotIn ¶
TopicNotIn applies the NotIn predicate on the "topic" field.
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 Inquiry queries.
func ByAnswer ¶
func ByAnswer(opts ...sql.OrderTermOption) OrderOption
ByAnswer orders the results by the answer field.
func ByContext ¶
func ByContext(opts ...sql.OrderTermOption) OrderOption
ByContext orders the results by the context field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKnowledgeKey ¶
func ByKnowledgeKey(opts ...sql.OrderTermOption) OrderOption
ByKnowledgeKey orders the results by the knowledge_key field.
func ByPriority ¶
func ByPriority(opts ...sql.OrderTermOption) OrderOption
ByPriority orders the results by the priority field.
func ByQuestion ¶
func ByQuestion(opts ...sql.OrderTermOption) OrderOption
ByQuestion orders the results by the question field.
func ByResolvedAt ¶
func ByResolvedAt(opts ...sql.OrderTermOption) OrderOption
ByResolvedAt orders the results by the resolved_at field.
func BySessionKey ¶
func BySessionKey(opts ...sql.OrderTermOption) OrderOption
BySessionKey orders the results by the session_key field.
func BySourceObservationID ¶
func BySourceObservationID(opts ...sql.OrderTermOption) OrderOption
BySourceObservationID orders the results by the source_observation_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTopic ¶
func ByTopic(opts ...sql.OrderTermOption) OrderOption
ByTopic orders the results by the topic field.