Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AgentKnowledge) predicate.AgentKnowledge
- func Content(v string) predicate.AgentKnowledge
- func ContentContains(v string) predicate.AgentKnowledge
- func ContentContainsFold(v string) predicate.AgentKnowledge
- func ContentEQ(v string) predicate.AgentKnowledge
- func ContentEqualFold(v string) predicate.AgentKnowledge
- func ContentGT(v string) predicate.AgentKnowledge
- func ContentGTE(v string) predicate.AgentKnowledge
- func ContentHasPrefix(v string) predicate.AgentKnowledge
- func ContentHasSuffix(v string) predicate.AgentKnowledge
- func ContentIn(vs ...string) predicate.AgentKnowledge
- func ContentLT(v string) predicate.AgentKnowledge
- func ContentLTE(v string) predicate.AgentKnowledge
- func ContentNEQ(v string) predicate.AgentKnowledge
- func ContentNotIn(vs ...string) predicate.AgentKnowledge
- func CreatedAt(v time.Time) predicate.AgentKnowledge
- func CreatedAtEQ(v time.Time) predicate.AgentKnowledge
- func CreatedAtGT(v time.Time) predicate.AgentKnowledge
- func CreatedAtGTE(v time.Time) predicate.AgentKnowledge
- func CreatedAtIn(vs ...time.Time) predicate.AgentKnowledge
- func CreatedAtLT(v time.Time) predicate.AgentKnowledge
- func CreatedAtLTE(v time.Time) predicate.AgentKnowledge
- func CreatedAtNEQ(v time.Time) predicate.AgentKnowledge
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentKnowledge
- func ID(id int64) predicate.AgentKnowledge
- func IDEQ(id int64) predicate.AgentKnowledge
- func IDGT(id int64) predicate.AgentKnowledge
- func IDGTE(id int64) predicate.AgentKnowledge
- func IDIn(ids ...int64) predicate.AgentKnowledge
- func IDLT(id int64) predicate.AgentKnowledge
- func IDLTE(id int64) predicate.AgentKnowledge
- func IDNEQ(id int64) predicate.AgentKnowledge
- func IDNotIn(ids ...int64) predicate.AgentKnowledge
- func Not(p predicate.AgentKnowledge) predicate.AgentKnowledge
- func Or(predicates ...predicate.AgentKnowledge) predicate.AgentKnowledge
- func Path(v string) predicate.AgentKnowledge
- func PathContains(v string) predicate.AgentKnowledge
- func PathContainsFold(v string) predicate.AgentKnowledge
- func PathEQ(v string) predicate.AgentKnowledge
- func PathEqualFold(v string) predicate.AgentKnowledge
- func PathGT(v string) predicate.AgentKnowledge
- func PathGTE(v string) predicate.AgentKnowledge
- func PathHasPrefix(v string) predicate.AgentKnowledge
- func PathHasSuffix(v string) predicate.AgentKnowledge
- func PathIn(vs ...string) predicate.AgentKnowledge
- func PathLT(v string) predicate.AgentKnowledge
- func PathLTE(v string) predicate.AgentKnowledge
- func PathNEQ(v string) predicate.AgentKnowledge
- func PathNotIn(vs ...string) predicate.AgentKnowledge
- func Summary(v string) predicate.AgentKnowledge
- func SummaryContains(v string) predicate.AgentKnowledge
- func SummaryContainsFold(v string) predicate.AgentKnowledge
- func SummaryEQ(v string) predicate.AgentKnowledge
- func SummaryEqualFold(v string) predicate.AgentKnowledge
- func SummaryGT(v string) predicate.AgentKnowledge
- func SummaryGTE(v string) predicate.AgentKnowledge
- func SummaryHasPrefix(v string) predicate.AgentKnowledge
- func SummaryHasSuffix(v string) predicate.AgentKnowledge
- func SummaryIn(vs ...string) predicate.AgentKnowledge
- func SummaryLT(v string) predicate.AgentKnowledge
- func SummaryLTE(v string) predicate.AgentKnowledge
- func SummaryNEQ(v string) predicate.AgentKnowledge
- func SummaryNotIn(vs ...string) predicate.AgentKnowledge
- func Title(v string) predicate.AgentKnowledge
- func TitleContains(v string) predicate.AgentKnowledge
- func TitleContainsFold(v string) predicate.AgentKnowledge
- func TitleEQ(v string) predicate.AgentKnowledge
- func TitleEqualFold(v string) predicate.AgentKnowledge
- func TitleGT(v string) predicate.AgentKnowledge
- func TitleGTE(v string) predicate.AgentKnowledge
- func TitleHasPrefix(v string) predicate.AgentKnowledge
- func TitleHasSuffix(v string) predicate.AgentKnowledge
- func TitleIn(vs ...string) predicate.AgentKnowledge
- func TitleLT(v string) predicate.AgentKnowledge
- func TitleLTE(v string) predicate.AgentKnowledge
- func TitleNEQ(v string) predicate.AgentKnowledge
- func TitleNotIn(vs ...string) predicate.AgentKnowledge
- func UpdatedAt(v time.Time) predicate.AgentKnowledge
- func UpdatedAtEQ(v time.Time) predicate.AgentKnowledge
- func UpdatedAtGT(v time.Time) predicate.AgentKnowledge
- func UpdatedAtGTE(v time.Time) predicate.AgentKnowledge
- func UpdatedAtIn(vs ...time.Time) predicate.AgentKnowledge
- func UpdatedAtLT(v time.Time) predicate.AgentKnowledge
- func UpdatedAtLTE(v time.Time) predicate.AgentKnowledge
- func UpdatedAtNEQ(v time.Time) predicate.AgentKnowledge
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentKnowledge
- func ValidColumn(column string) bool
- type OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func BySummary(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the agentknowledge type in the database. Label = "agent_knowledge" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the agentknowledge in the database. Table = "agent_knowledge" )
Variables ¶
var ( // PathValidator is a validator for the "path" field. It is called by the builders before save. PathValidator func(string) error // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultSummary holds the default value on creation for the "summary" field. DefaultSummary string // ContentValidator is a validator for the "content" field. It is called by the builders before save. ContentValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldPath, FieldTitle, FieldTags, FieldSummary, FieldContent, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agentknowledge fields.
Functions ¶
func And ¶
func And(predicates ...predicate.AgentKnowledge) predicate.AgentKnowledge
And groups predicates with the AND operator between them.
func Content ¶
func Content(v string) predicate.AgentKnowledge
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.AgentKnowledge
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.AgentKnowledge
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.AgentKnowledge
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.AgentKnowledge
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.AgentKnowledge
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.AgentKnowledge
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.AgentKnowledge
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.AgentKnowledge
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.AgentKnowledge
ContentIn applies the In predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.AgentKnowledge
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.AgentKnowledge
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.AgentKnowledge
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.AgentKnowledge
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentKnowledge
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentKnowledge
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentKnowledge
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentKnowledge
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentKnowledge
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentKnowledge
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentKnowledge
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentKnowledge
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentKnowledge
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id int64) predicate.AgentKnowledge
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.AgentKnowledge
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.AgentKnowledge
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.AgentKnowledge
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.AgentKnowledge
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.AgentKnowledge
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.AgentKnowledge
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.AgentKnowledge
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.AgentKnowledge) predicate.AgentKnowledge
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentKnowledge) predicate.AgentKnowledge
Or groups predicates with the OR operator between them.
func Path ¶
func Path(v string) predicate.AgentKnowledge
Path applies equality check predicate on the "path" field. It's identical to PathEQ.
func PathContains ¶
func PathContains(v string) predicate.AgentKnowledge
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
func PathContainsFold(v string) predicate.AgentKnowledge
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEQ ¶
func PathEQ(v string) predicate.AgentKnowledge
PathEQ applies the EQ predicate on the "path" field.
func PathEqualFold ¶
func PathEqualFold(v string) predicate.AgentKnowledge
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathGT ¶
func PathGT(v string) predicate.AgentKnowledge
PathGT applies the GT predicate on the "path" field.
func PathGTE ¶
func PathGTE(v string) predicate.AgentKnowledge
PathGTE applies the GTE predicate on the "path" field.
func PathHasPrefix ¶
func PathHasPrefix(v string) predicate.AgentKnowledge
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
func PathHasSuffix(v string) predicate.AgentKnowledge
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PathIn ¶
func PathIn(vs ...string) predicate.AgentKnowledge
PathIn applies the In predicate on the "path" field.
func PathLT ¶
func PathLT(v string) predicate.AgentKnowledge
PathLT applies the LT predicate on the "path" field.
func PathLTE ¶
func PathLTE(v string) predicate.AgentKnowledge
PathLTE applies the LTE predicate on the "path" field.
func PathNEQ ¶
func PathNEQ(v string) predicate.AgentKnowledge
PathNEQ applies the NEQ predicate on the "path" field.
func PathNotIn ¶
func PathNotIn(vs ...string) predicate.AgentKnowledge
PathNotIn applies the NotIn predicate on the "path" field.
func Summary ¶
func Summary(v string) predicate.AgentKnowledge
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶
func SummaryContains(v string) predicate.AgentKnowledge
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶
func SummaryContainsFold(v string) predicate.AgentKnowledge
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEQ ¶
func SummaryEQ(v string) predicate.AgentKnowledge
SummaryEQ applies the EQ predicate on the "summary" field.
func SummaryEqualFold ¶
func SummaryEqualFold(v string) predicate.AgentKnowledge
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGT ¶
func SummaryGT(v string) predicate.AgentKnowledge
SummaryGT applies the GT predicate on the "summary" field.
func SummaryGTE ¶
func SummaryGTE(v string) predicate.AgentKnowledge
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶
func SummaryHasPrefix(v string) predicate.AgentKnowledge
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶
func SummaryHasSuffix(v string) predicate.AgentKnowledge
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryIn ¶
func SummaryIn(vs ...string) predicate.AgentKnowledge
SummaryIn applies the In predicate on the "summary" field.
func SummaryLT ¶
func SummaryLT(v string) predicate.AgentKnowledge
SummaryLT applies the LT predicate on the "summary" field.
func SummaryLTE ¶
func SummaryLTE(v string) predicate.AgentKnowledge
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶
func SummaryNEQ(v string) predicate.AgentKnowledge
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶
func SummaryNotIn(vs ...string) predicate.AgentKnowledge
SummaryNotIn applies the NotIn predicate on the "summary" field.
func Title ¶
func Title(v string) predicate.AgentKnowledge
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.AgentKnowledge
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.AgentKnowledge
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.AgentKnowledge
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.AgentKnowledge
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.AgentKnowledge
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.AgentKnowledge
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.AgentKnowledge
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.AgentKnowledge
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.AgentKnowledge
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.AgentKnowledge
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.AgentKnowledge
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.AgentKnowledge
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.AgentKnowledge
TitleNotIn applies the NotIn predicate on the "title" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AgentKnowledge
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AgentKnowledge
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AgentKnowledge
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AgentKnowledge
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AgentKnowledge
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AgentKnowledge
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AgentKnowledge
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AgentKnowledge
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AgentKnowledge
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 AgentKnowledge queries.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content 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 ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func BySummary ¶
func BySummary(opts ...sql.OrderTermOption) OrderOption
BySummary orders the results by the summary field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.