Documentation
¶
Index ¶
- Constants
- Variables
- func AgentName(v string) predicate.AgentMemory
- func AgentNameContains(v string) predicate.AgentMemory
- func AgentNameContainsFold(v string) predicate.AgentMemory
- func AgentNameEQ(v string) predicate.AgentMemory
- func AgentNameEqualFold(v string) predicate.AgentMemory
- func AgentNameGT(v string) predicate.AgentMemory
- func AgentNameGTE(v string) predicate.AgentMemory
- func AgentNameHasPrefix(v string) predicate.AgentMemory
- func AgentNameHasSuffix(v string) predicate.AgentMemory
- func AgentNameIn(vs ...string) predicate.AgentMemory
- func AgentNameLT(v string) predicate.AgentMemory
- func AgentNameLTE(v string) predicate.AgentMemory
- func AgentNameNEQ(v string) predicate.AgentMemory
- func AgentNameNotIn(vs ...string) predicate.AgentMemory
- func And(predicates ...predicate.AgentMemory) predicate.AgentMemory
- func Confidence(v float64) predicate.AgentMemory
- func ConfidenceEQ(v float64) predicate.AgentMemory
- func ConfidenceGT(v float64) predicate.AgentMemory
- func ConfidenceGTE(v float64) predicate.AgentMemory
- func ConfidenceIn(vs ...float64) predicate.AgentMemory
- func ConfidenceLT(v float64) predicate.AgentMemory
- func ConfidenceLTE(v float64) predicate.AgentMemory
- func ConfidenceNEQ(v float64) predicate.AgentMemory
- func ConfidenceNotIn(vs ...float64) predicate.AgentMemory
- func Content(v string) predicate.AgentMemory
- func ContentContains(v string) predicate.AgentMemory
- func ContentContainsFold(v string) predicate.AgentMemory
- func ContentEQ(v string) predicate.AgentMemory
- func ContentEqualFold(v string) predicate.AgentMemory
- func ContentGT(v string) predicate.AgentMemory
- func ContentGTE(v string) predicate.AgentMemory
- func ContentHasPrefix(v string) predicate.AgentMemory
- func ContentHasSuffix(v string) predicate.AgentMemory
- func ContentIn(vs ...string) predicate.AgentMemory
- func ContentLT(v string) predicate.AgentMemory
- func ContentLTE(v string) predicate.AgentMemory
- func ContentNEQ(v string) predicate.AgentMemory
- func ContentNotIn(vs ...string) predicate.AgentMemory
- func CreatedAt(v time.Time) predicate.AgentMemory
- func CreatedAtEQ(v time.Time) predicate.AgentMemory
- func CreatedAtGT(v time.Time) predicate.AgentMemory
- func CreatedAtGTE(v time.Time) predicate.AgentMemory
- func CreatedAtIn(vs ...time.Time) predicate.AgentMemory
- func CreatedAtLT(v time.Time) predicate.AgentMemory
- func CreatedAtLTE(v time.Time) predicate.AgentMemory
- func CreatedAtNEQ(v time.Time) predicate.AgentMemory
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentMemory
- func ID(id uuid.UUID) predicate.AgentMemory
- func IDEQ(id uuid.UUID) predicate.AgentMemory
- func IDGT(id uuid.UUID) predicate.AgentMemory
- func IDGTE(id uuid.UUID) predicate.AgentMemory
- func IDIn(ids ...uuid.UUID) predicate.AgentMemory
- func IDLT(id uuid.UUID) predicate.AgentMemory
- func IDLTE(id uuid.UUID) predicate.AgentMemory
- func IDNEQ(id uuid.UUID) predicate.AgentMemory
- func IDNotIn(ids ...uuid.UUID) predicate.AgentMemory
- func Key(v string) predicate.AgentMemory
- func KeyContains(v string) predicate.AgentMemory
- func KeyContainsFold(v string) predicate.AgentMemory
- func KeyEQ(v string) predicate.AgentMemory
- func KeyEqualFold(v string) predicate.AgentMemory
- func KeyGT(v string) predicate.AgentMemory
- func KeyGTE(v string) predicate.AgentMemory
- func KeyHasPrefix(v string) predicate.AgentMemory
- func KeyHasSuffix(v string) predicate.AgentMemory
- func KeyIn(vs ...string) predicate.AgentMemory
- func KeyLT(v string) predicate.AgentMemory
- func KeyLTE(v string) predicate.AgentMemory
- func KeyNEQ(v string) predicate.AgentMemory
- func KeyNotIn(vs ...string) predicate.AgentMemory
- func KindEQ(v Kind) predicate.AgentMemory
- func KindIn(vs ...Kind) predicate.AgentMemory
- func KindNEQ(v Kind) predicate.AgentMemory
- func KindNotIn(vs ...Kind) predicate.AgentMemory
- func KindValidator(k Kind) error
- func Not(p predicate.AgentMemory) predicate.AgentMemory
- func Or(predicates ...predicate.AgentMemory) predicate.AgentMemory
- func ScopeEQ(v Scope) predicate.AgentMemory
- func ScopeIn(vs ...Scope) predicate.AgentMemory
- func ScopeNEQ(v Scope) predicate.AgentMemory
- func ScopeNotIn(vs ...Scope) predicate.AgentMemory
- func ScopeValidator(s Scope) error
- func TagsIsNil() predicate.AgentMemory
- func TagsNotNil() predicate.AgentMemory
- func UpdatedAt(v time.Time) predicate.AgentMemory
- func UpdatedAtEQ(v time.Time) predicate.AgentMemory
- func UpdatedAtGT(v time.Time) predicate.AgentMemory
- func UpdatedAtGTE(v time.Time) predicate.AgentMemory
- func UpdatedAtIn(vs ...time.Time) predicate.AgentMemory
- func UpdatedAtLT(v time.Time) predicate.AgentMemory
- func UpdatedAtLTE(v time.Time) predicate.AgentMemory
- func UpdatedAtNEQ(v time.Time) predicate.AgentMemory
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentMemory
- func UseCount(v int) predicate.AgentMemory
- func UseCountEQ(v int) predicate.AgentMemory
- func UseCountGT(v int) predicate.AgentMemory
- func UseCountGTE(v int) predicate.AgentMemory
- func UseCountIn(vs ...int) predicate.AgentMemory
- func UseCountLT(v int) predicate.AgentMemory
- func UseCountLTE(v int) predicate.AgentMemory
- func UseCountNEQ(v int) predicate.AgentMemory
- func UseCountNotIn(vs ...int) predicate.AgentMemory
- func ValidColumn(column string) bool
- type Kind
- type OrderOption
- func ByAgentName(opts ...sql.OrderTermOption) OrderOption
- func ByConfidence(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByScope(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUseCount(opts ...sql.OrderTermOption) OrderOption
- type Scope
Constants ¶
const ( // Label holds the string label denoting the agentmemory type in the database. Label = "agent_memory" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAgentName holds the string denoting the agent_name field in the database. FieldAgentName = "agent_name" // FieldScope holds the string denoting the scope field in the database. FieldScope = "scope" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldConfidence holds the string denoting the confidence field in the database. FieldConfidence = "confidence" // FieldUseCount holds the string denoting the use_count field in the database. FieldUseCount = "use_count" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // 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 agentmemory in the database. Table = "agent_memories" )
Variables ¶
var ( // AgentNameValidator is a validator for the "agent_name" field. It is called by the builders before save. AgentNameValidator func(string) error // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // ContentValidator is a validator for the "content" field. It is called by the builders before save. ContentValidator func(string) error // DefaultConfidence holds the default value on creation for the "confidence" field. DefaultConfidence float64 // DefaultUseCount holds the default value on creation for the "use_count" field. DefaultUseCount int // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAgentName, FieldScope, FieldKind, FieldKey, FieldContent, FieldConfidence, FieldUseCount, FieldTags, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agentmemory fields.
Functions ¶
func AgentName ¶
func AgentName(v string) predicate.AgentMemory
AgentName applies equality check predicate on the "agent_name" field. It's identical to AgentNameEQ.
func AgentNameContains ¶
func AgentNameContains(v string) predicate.AgentMemory
AgentNameContains applies the Contains predicate on the "agent_name" field.
func AgentNameContainsFold ¶
func AgentNameContainsFold(v string) predicate.AgentMemory
AgentNameContainsFold applies the ContainsFold predicate on the "agent_name" field.
func AgentNameEQ ¶
func AgentNameEQ(v string) predicate.AgentMemory
AgentNameEQ applies the EQ predicate on the "agent_name" field.
func AgentNameEqualFold ¶
func AgentNameEqualFold(v string) predicate.AgentMemory
AgentNameEqualFold applies the EqualFold predicate on the "agent_name" field.
func AgentNameGT ¶
func AgentNameGT(v string) predicate.AgentMemory
AgentNameGT applies the GT predicate on the "agent_name" field.
func AgentNameGTE ¶
func AgentNameGTE(v string) predicate.AgentMemory
AgentNameGTE applies the GTE predicate on the "agent_name" field.
func AgentNameHasPrefix ¶
func AgentNameHasPrefix(v string) predicate.AgentMemory
AgentNameHasPrefix applies the HasPrefix predicate on the "agent_name" field.
func AgentNameHasSuffix ¶
func AgentNameHasSuffix(v string) predicate.AgentMemory
AgentNameHasSuffix applies the HasSuffix predicate on the "agent_name" field.
func AgentNameIn ¶
func AgentNameIn(vs ...string) predicate.AgentMemory
AgentNameIn applies the In predicate on the "agent_name" field.
func AgentNameLT ¶
func AgentNameLT(v string) predicate.AgentMemory
AgentNameLT applies the LT predicate on the "agent_name" field.
func AgentNameLTE ¶
func AgentNameLTE(v string) predicate.AgentMemory
AgentNameLTE applies the LTE predicate on the "agent_name" field.
func AgentNameNEQ ¶
func AgentNameNEQ(v string) predicate.AgentMemory
AgentNameNEQ applies the NEQ predicate on the "agent_name" field.
func AgentNameNotIn ¶
func AgentNameNotIn(vs ...string) predicate.AgentMemory
AgentNameNotIn applies the NotIn predicate on the "agent_name" field.
func And ¶
func And(predicates ...predicate.AgentMemory) predicate.AgentMemory
And groups predicates with the AND operator between them.
func Confidence ¶
func Confidence(v float64) predicate.AgentMemory
Confidence applies equality check predicate on the "confidence" field. It's identical to ConfidenceEQ.
func ConfidenceEQ ¶
func ConfidenceEQ(v float64) predicate.AgentMemory
ConfidenceEQ applies the EQ predicate on the "confidence" field.
func ConfidenceGT ¶
func ConfidenceGT(v float64) predicate.AgentMemory
ConfidenceGT applies the GT predicate on the "confidence" field.
func ConfidenceGTE ¶
func ConfidenceGTE(v float64) predicate.AgentMemory
ConfidenceGTE applies the GTE predicate on the "confidence" field.
func ConfidenceIn ¶
func ConfidenceIn(vs ...float64) predicate.AgentMemory
ConfidenceIn applies the In predicate on the "confidence" field.
func ConfidenceLT ¶
func ConfidenceLT(v float64) predicate.AgentMemory
ConfidenceLT applies the LT predicate on the "confidence" field.
func ConfidenceLTE ¶
func ConfidenceLTE(v float64) predicate.AgentMemory
ConfidenceLTE applies the LTE predicate on the "confidence" field.
func ConfidenceNEQ ¶
func ConfidenceNEQ(v float64) predicate.AgentMemory
ConfidenceNEQ applies the NEQ predicate on the "confidence" field.
func ConfidenceNotIn ¶
func ConfidenceNotIn(vs ...float64) predicate.AgentMemory
ConfidenceNotIn applies the NotIn predicate on the "confidence" field.
func Content ¶
func Content(v string) predicate.AgentMemory
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.AgentMemory
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.AgentMemory
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.AgentMemory
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.AgentMemory
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.AgentMemory
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.AgentMemory
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.AgentMemory
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.AgentMemory
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.AgentMemory
ContentIn applies the In predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.AgentMemory
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.AgentMemory
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.AgentMemory
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.AgentMemory
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AgentMemory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AgentMemory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AgentMemory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AgentMemory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AgentMemory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AgentMemory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AgentMemory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AgentMemory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AgentMemory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AgentMemory
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AgentMemory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AgentMemory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AgentMemory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AgentMemory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AgentMemory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AgentMemory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AgentMemory
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.AgentMemory
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.AgentMemory
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.AgentMemory
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.AgentMemory
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.AgentMemory
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.AgentMemory
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.AgentMemory
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.AgentMemory
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.AgentMemory
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.AgentMemory
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.AgentMemory
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.AgentMemory
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.AgentMemory
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.AgentMemory
KeyNotIn applies the NotIn predicate on the "key" field.
func KindEQ ¶
func KindEQ(v Kind) predicate.AgentMemory
KindEQ applies the EQ predicate on the "kind" field.
func KindIn ¶
func KindIn(vs ...Kind) predicate.AgentMemory
KindIn applies the In predicate on the "kind" field.
func KindNEQ ¶
func KindNEQ(v Kind) predicate.AgentMemory
KindNEQ applies the NEQ predicate on the "kind" field.
func KindNotIn ¶
func KindNotIn(vs ...Kind) predicate.AgentMemory
KindNotIn applies the NotIn predicate on the "kind" field.
func KindValidator ¶
KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.AgentMemory) predicate.AgentMemory
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AgentMemory) predicate.AgentMemory
Or groups predicates with the OR operator between them.
func ScopeEQ ¶
func ScopeEQ(v Scope) predicate.AgentMemory
ScopeEQ applies the EQ predicate on the "scope" field.
func ScopeIn ¶
func ScopeIn(vs ...Scope) predicate.AgentMemory
ScopeIn applies the In predicate on the "scope" field.
func ScopeNEQ ¶
func ScopeNEQ(v Scope) predicate.AgentMemory
ScopeNEQ applies the NEQ predicate on the "scope" field.
func ScopeNotIn ¶
func ScopeNotIn(vs ...Scope) predicate.AgentMemory
ScopeNotIn applies the NotIn predicate on the "scope" field.
func ScopeValidator ¶
ScopeValidator is a validator for the "scope" field enum values. It is called by the builders before save.
func TagsIsNil ¶
func TagsIsNil() predicate.AgentMemory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.AgentMemory
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.AgentMemory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.AgentMemory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.AgentMemory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.AgentMemory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.AgentMemory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.AgentMemory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.AgentMemory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.AgentMemory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.AgentMemory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UseCount ¶
func UseCount(v int) predicate.AgentMemory
UseCount applies equality check predicate on the "use_count" field. It's identical to UseCountEQ.
func UseCountEQ ¶
func UseCountEQ(v int) predicate.AgentMemory
UseCountEQ applies the EQ predicate on the "use_count" field.
func UseCountGT ¶
func UseCountGT(v int) predicate.AgentMemory
UseCountGT applies the GT predicate on the "use_count" field.
func UseCountGTE ¶
func UseCountGTE(v int) predicate.AgentMemory
UseCountGTE applies the GTE predicate on the "use_count" field.
func UseCountIn ¶
func UseCountIn(vs ...int) predicate.AgentMemory
UseCountIn applies the In predicate on the "use_count" field.
func UseCountLT ¶
func UseCountLT(v int) predicate.AgentMemory
UseCountLT applies the LT predicate on the "use_count" field.
func UseCountLTE ¶
func UseCountLTE(v int) predicate.AgentMemory
UseCountLTE applies the LTE predicate on the "use_count" field.
func UseCountNEQ ¶
func UseCountNEQ(v int) predicate.AgentMemory
UseCountNEQ applies the NEQ predicate on the "use_count" field.
func UseCountNotIn ¶
func UseCountNotIn(vs ...int) predicate.AgentMemory
UseCountNotIn applies the NotIn predicate on the "use_count" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Kind ¶
type Kind string
Kind defines the type for the "kind" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the AgentMemory queries.
func ByAgentName ¶
func ByAgentName(opts ...sql.OrderTermOption) OrderOption
ByAgentName orders the results by the agent_name field.
func ByConfidence ¶
func ByConfidence(opts ...sql.OrderTermOption) OrderOption
ByConfidence orders the results by the confidence field.
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 ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByScope ¶
func ByScope(opts ...sql.OrderTermOption) OrderOption
ByScope orders the results by the scope field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUseCount ¶
func ByUseCount(opts ...sql.OrderTermOption) OrderOption
ByUseCount orders the results by the use_count field.