Documentation
¶
Index ¶
- Constants
- Variables
- func AgentName(v string) predicate.Node
- func AgentNameContains(v string) predicate.Node
- func AgentNameContainsFold(v string) predicate.Node
- func AgentNameEQ(v string) predicate.Node
- func AgentNameEqualFold(v string) predicate.Node
- func AgentNameGT(v string) predicate.Node
- func AgentNameGTE(v string) predicate.Node
- func AgentNameHasPrefix(v string) predicate.Node
- func AgentNameHasSuffix(v string) predicate.Node
- func AgentNameIn(vs ...string) predicate.Node
- func AgentNameIsNil() predicate.Node
- func AgentNameLT(v string) predicate.Node
- func AgentNameLTE(v string) predicate.Node
- func AgentNameNEQ(v string) predicate.Node
- func AgentNameNotIn(vs ...string) predicate.Node
- func AgentNameNotNil() predicate.Node
- func And(predicates ...predicate.Node) predicate.Node
- func BucketIsNil() predicate.Node
- func BucketNotNil() predicate.Node
- func CacheCreationInputTokens(v int) predicate.Node
- func CacheCreationInputTokensEQ(v int) predicate.Node
- func CacheCreationInputTokensGT(v int) predicate.Node
- func CacheCreationInputTokensGTE(v int) predicate.Node
- func CacheCreationInputTokensIn(vs ...int) predicate.Node
- func CacheCreationInputTokensIsNil() predicate.Node
- func CacheCreationInputTokensLT(v int) predicate.Node
- func CacheCreationInputTokensLTE(v int) predicate.Node
- func CacheCreationInputTokensNEQ(v int) predicate.Node
- func CacheCreationInputTokensNotIn(vs ...int) predicate.Node
- func CacheCreationInputTokensNotNil() predicate.Node
- func CacheReadInputTokens(v int) predicate.Node
- func CacheReadInputTokensEQ(v int) predicate.Node
- func CacheReadInputTokensGT(v int) predicate.Node
- func CacheReadInputTokensGTE(v int) predicate.Node
- func CacheReadInputTokensIn(vs ...int) predicate.Node
- func CacheReadInputTokensIsNil() predicate.Node
- func CacheReadInputTokensLT(v int) predicate.Node
- func CacheReadInputTokensLTE(v int) predicate.Node
- func CacheReadInputTokensNEQ(v int) predicate.Node
- func CacheReadInputTokensNotIn(vs ...int) predicate.Node
- func CacheReadInputTokensNotNil() predicate.Node
- func CompletionTokens(v int) predicate.Node
- func CompletionTokensEQ(v int) predicate.Node
- func CompletionTokensGT(v int) predicate.Node
- func CompletionTokensGTE(v int) predicate.Node
- func CompletionTokensIn(vs ...int) predicate.Node
- func CompletionTokensIsNil() predicate.Node
- func CompletionTokensLT(v int) predicate.Node
- func CompletionTokensLTE(v int) predicate.Node
- func CompletionTokensNEQ(v int) predicate.Node
- func CompletionTokensNotIn(vs ...int) predicate.Node
- func CompletionTokensNotNil() predicate.Node
- func ContentIsNil() predicate.Node
- func ContentNotNil() predicate.Node
- func CreatedAt(v time.Time) predicate.Node
- func CreatedAtEQ(v time.Time) predicate.Node
- func CreatedAtGT(v time.Time) predicate.Node
- func CreatedAtGTE(v time.Time) predicate.Node
- func CreatedAtIn(vs ...time.Time) predicate.Node
- func CreatedAtLT(v time.Time) predicate.Node
- func CreatedAtLTE(v time.Time) predicate.Node
- func CreatedAtNEQ(v time.Time) predicate.Node
- func CreatedAtNotIn(vs ...time.Time) predicate.Node
- func HasChildren() predicate.Node
- func HasChildrenWith(preds ...predicate.Node) predicate.Node
- func HasParent() predicate.Node
- func HasParentWith(preds ...predicate.Node) predicate.Node
- func ID(id string) predicate.Node
- func IDContainsFold(id string) predicate.Node
- func IDEQ(id string) predicate.Node
- func IDEqualFold(id string) predicate.Node
- func IDGT(id string) predicate.Node
- func IDGTE(id string) predicate.Node
- func IDIn(ids ...string) predicate.Node
- func IDLT(id string) predicate.Node
- func IDLTE(id string) predicate.Node
- func IDNEQ(id string) predicate.Node
- func IDNotIn(ids ...string) predicate.Node
- func Model(v string) predicate.Node
- func ModelContains(v string) predicate.Node
- func ModelContainsFold(v string) predicate.Node
- func ModelEQ(v string) predicate.Node
- func ModelEqualFold(v string) predicate.Node
- func ModelGT(v string) predicate.Node
- func ModelGTE(v string) predicate.Node
- func ModelHasPrefix(v string) predicate.Node
- func ModelHasSuffix(v string) predicate.Node
- func ModelIn(vs ...string) predicate.Node
- func ModelIsNil() predicate.Node
- func ModelLT(v string) predicate.Node
- func ModelLTE(v string) predicate.Node
- func ModelNEQ(v string) predicate.Node
- func ModelNotIn(vs ...string) predicate.Node
- func ModelNotNil() predicate.Node
- func Not(p predicate.Node) predicate.Node
- func Or(predicates ...predicate.Node) predicate.Node
- func ParentHash(v string) predicate.Node
- func ParentHashContains(v string) predicate.Node
- func ParentHashContainsFold(v string) predicate.Node
- func ParentHashEQ(v string) predicate.Node
- func ParentHashEqualFold(v string) predicate.Node
- func ParentHashGT(v string) predicate.Node
- func ParentHashGTE(v string) predicate.Node
- func ParentHashHasPrefix(v string) predicate.Node
- func ParentHashHasSuffix(v string) predicate.Node
- func ParentHashIn(vs ...string) predicate.Node
- func ParentHashIsNil() predicate.Node
- func ParentHashLT(v string) predicate.Node
- func ParentHashLTE(v string) predicate.Node
- func ParentHashNEQ(v string) predicate.Node
- func ParentHashNotIn(vs ...string) predicate.Node
- func ParentHashNotNil() predicate.Node
- func Project(v string) predicate.Node
- func ProjectContains(v string) predicate.Node
- func ProjectContainsFold(v string) predicate.Node
- func ProjectEQ(v string) predicate.Node
- func ProjectEqualFold(v string) predicate.Node
- func ProjectGT(v string) predicate.Node
- func ProjectGTE(v string) predicate.Node
- func ProjectHasPrefix(v string) predicate.Node
- func ProjectHasSuffix(v string) predicate.Node
- func ProjectIn(vs ...string) predicate.Node
- func ProjectIsNil() predicate.Node
- func ProjectLT(v string) predicate.Node
- func ProjectLTE(v string) predicate.Node
- func ProjectNEQ(v string) predicate.Node
- func ProjectNotIn(vs ...string) predicate.Node
- func ProjectNotNil() predicate.Node
- func PromptDurationNs(v int64) predicate.Node
- func PromptDurationNsEQ(v int64) predicate.Node
- func PromptDurationNsGT(v int64) predicate.Node
- func PromptDurationNsGTE(v int64) predicate.Node
- func PromptDurationNsIn(vs ...int64) predicate.Node
- func PromptDurationNsIsNil() predicate.Node
- func PromptDurationNsLT(v int64) predicate.Node
- func PromptDurationNsLTE(v int64) predicate.Node
- func PromptDurationNsNEQ(v int64) predicate.Node
- func PromptDurationNsNotIn(vs ...int64) predicate.Node
- func PromptDurationNsNotNil() predicate.Node
- func PromptTokens(v int) predicate.Node
- func PromptTokensEQ(v int) predicate.Node
- func PromptTokensGT(v int) predicate.Node
- func PromptTokensGTE(v int) predicate.Node
- func PromptTokensIn(vs ...int) predicate.Node
- func PromptTokensIsNil() predicate.Node
- func PromptTokensLT(v int) predicate.Node
- func PromptTokensLTE(v int) predicate.Node
- func PromptTokensNEQ(v int) predicate.Node
- func PromptTokensNotIn(vs ...int) predicate.Node
- func PromptTokensNotNil() predicate.Node
- func Provider(v string) predicate.Node
- func ProviderContains(v string) predicate.Node
- func ProviderContainsFold(v string) predicate.Node
- func ProviderEQ(v string) predicate.Node
- func ProviderEqualFold(v string) predicate.Node
- func ProviderGT(v string) predicate.Node
- func ProviderGTE(v string) predicate.Node
- func ProviderHasPrefix(v string) predicate.Node
- func ProviderHasSuffix(v string) predicate.Node
- func ProviderIn(vs ...string) predicate.Node
- func ProviderIsNil() predicate.Node
- func ProviderLT(v string) predicate.Node
- func ProviderLTE(v string) predicate.Node
- func ProviderNEQ(v string) predicate.Node
- func ProviderNotIn(vs ...string) predicate.Node
- func ProviderNotNil() predicate.Node
- func Role(v string) predicate.Node
- func RoleContains(v string) predicate.Node
- func RoleContainsFold(v string) predicate.Node
- func RoleEQ(v string) predicate.Node
- func RoleEqualFold(v string) predicate.Node
- func RoleGT(v string) predicate.Node
- func RoleGTE(v string) predicate.Node
- func RoleHasPrefix(v string) predicate.Node
- func RoleHasSuffix(v string) predicate.Node
- func RoleIn(vs ...string) predicate.Node
- func RoleIsNil() predicate.Node
- func RoleLT(v string) predicate.Node
- func RoleLTE(v string) predicate.Node
- func RoleNEQ(v string) predicate.Node
- func RoleNotIn(vs ...string) predicate.Node
- func RoleNotNil() predicate.Node
- func StopReason(v string) predicate.Node
- func StopReasonContains(v string) predicate.Node
- func StopReasonContainsFold(v string) predicate.Node
- func StopReasonEQ(v string) predicate.Node
- func StopReasonEqualFold(v string) predicate.Node
- func StopReasonGT(v string) predicate.Node
- func StopReasonGTE(v string) predicate.Node
- func StopReasonHasPrefix(v string) predicate.Node
- func StopReasonHasSuffix(v string) predicate.Node
- func StopReasonIn(vs ...string) predicate.Node
- func StopReasonIsNil() predicate.Node
- func StopReasonLT(v string) predicate.Node
- func StopReasonLTE(v string) predicate.Node
- func StopReasonNEQ(v string) predicate.Node
- func StopReasonNotIn(vs ...string) predicate.Node
- func StopReasonNotNil() predicate.Node
- func TotalDurationNs(v int64) predicate.Node
- func TotalDurationNsEQ(v int64) predicate.Node
- func TotalDurationNsGT(v int64) predicate.Node
- func TotalDurationNsGTE(v int64) predicate.Node
- func TotalDurationNsIn(vs ...int64) predicate.Node
- func TotalDurationNsIsNil() predicate.Node
- func TotalDurationNsLT(v int64) predicate.Node
- func TotalDurationNsLTE(v int64) predicate.Node
- func TotalDurationNsNEQ(v int64) predicate.Node
- func TotalDurationNsNotIn(vs ...int64) predicate.Node
- func TotalDurationNsNotNil() predicate.Node
- func TotalTokens(v int) predicate.Node
- func TotalTokensEQ(v int) predicate.Node
- func TotalTokensGT(v int) predicate.Node
- func TotalTokensGTE(v int) predicate.Node
- func TotalTokensIn(vs ...int) predicate.Node
- func TotalTokensIsNil() predicate.Node
- func TotalTokensLT(v int) predicate.Node
- func TotalTokensLTE(v int) predicate.Node
- func TotalTokensNEQ(v int) predicate.Node
- func TotalTokensNotIn(vs ...int) predicate.Node
- func TotalTokensNotNil() predicate.Node
- func Type(v string) predicate.Node
- func TypeContains(v string) predicate.Node
- func TypeContainsFold(v string) predicate.Node
- func TypeEQ(v string) predicate.Node
- func TypeEqualFold(v string) predicate.Node
- func TypeGT(v string) predicate.Node
- func TypeGTE(v string) predicate.Node
- func TypeHasPrefix(v string) predicate.Node
- func TypeHasSuffix(v string) predicate.Node
- func TypeIn(vs ...string) predicate.Node
- func TypeIsNil() predicate.Node
- func TypeLT(v string) predicate.Node
- func TypeLTE(v string) predicate.Node
- func TypeNEQ(v string) predicate.Node
- func TypeNotIn(vs ...string) predicate.Node
- func TypeNotNil() predicate.Node
- func ValidColumn(column string) bool
- type OrderOption
- func ByAgentName(opts ...sql.OrderTermOption) OrderOption
- func ByCacheCreationInputTokens(opts ...sql.OrderTermOption) OrderOption
- func ByCacheReadInputTokens(opts ...sql.OrderTermOption) OrderOption
- func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
- func ByCompletionTokens(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByModel(opts ...sql.OrderTermOption) OrderOption
- func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByParentHash(opts ...sql.OrderTermOption) OrderOption
- func ByProject(opts ...sql.OrderTermOption) OrderOption
- func ByPromptDurationNs(opts ...sql.OrderTermOption) OrderOption
- func ByPromptTokens(opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func ByRole(opts ...sql.OrderTermOption) OrderOption
- func ByStopReason(opts ...sql.OrderTermOption) OrderOption
- func ByTotalDurationNs(opts ...sql.OrderTermOption) OrderOption
- func ByTotalTokens(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the node type in the database. Label = "node" // FieldID holds the string denoting the id field in the database. FieldID = "hash" // FieldParentHash holds the string denoting the parent_hash field in the database. FieldParentHash = "parent_hash" // FieldBucket holds the string denoting the bucket field in the database. FieldBucket = "bucket" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldModel holds the string denoting the model field in the database. FieldModel = "model" // FieldProvider holds the string denoting the provider field in the database. FieldProvider = "provider" // FieldAgentName holds the string denoting the agent_name field in the database. FieldAgentName = "agent_name" // FieldStopReason holds the string denoting the stop_reason field in the database. FieldStopReason = "stop_reason" // FieldPromptTokens holds the string denoting the prompt_tokens field in the database. FieldPromptTokens = "prompt_tokens" // FieldCompletionTokens holds the string denoting the completion_tokens field in the database. FieldCompletionTokens = "completion_tokens" // FieldTotalTokens holds the string denoting the total_tokens field in the database. FieldTotalTokens = "total_tokens" // FieldCacheCreationInputTokens holds the string denoting the cache_creation_input_tokens field in the database. FieldCacheCreationInputTokens = "cache_creation_input_tokens" // FieldCacheReadInputTokens holds the string denoting the cache_read_input_tokens field in the database. FieldCacheReadInputTokens = "cache_read_input_tokens" // FieldTotalDurationNs holds the string denoting the total_duration_ns field in the database. FieldTotalDurationNs = "total_duration_ns" // FieldPromptDurationNs holds the string denoting the prompt_duration_ns field in the database. FieldPromptDurationNs = "prompt_duration_ns" // FieldProject holds the string denoting the project field in the database. FieldProject = "project" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // Table holds the table name of the node in the database. Table = "nodes" // ParentTable is the table that holds the parent relation/edge. ParentTable = "nodes" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "parent_hash" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "nodes" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "parent_hash" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldParentHash, FieldBucket, FieldType, FieldRole, FieldContent, FieldModel, FieldProvider, FieldAgentName, FieldStopReason, FieldPromptTokens, FieldCompletionTokens, FieldTotalTokens, FieldCacheCreationInputTokens, FieldCacheReadInputTokens, FieldTotalDurationNs, FieldPromptDurationNs, FieldProject, FieldCreatedAt, }
Columns holds all SQL columns for node fields.
Functions ¶
func AgentName ¶
AgentName applies equality check predicate on the "agent_name" field. It's identical to AgentNameEQ.
func AgentNameContains ¶
AgentNameContains applies the Contains predicate on the "agent_name" field.
func AgentNameContainsFold ¶
AgentNameContainsFold applies the ContainsFold predicate on the "agent_name" field.
func AgentNameEQ ¶
AgentNameEQ applies the EQ predicate on the "agent_name" field.
func AgentNameEqualFold ¶
AgentNameEqualFold applies the EqualFold predicate on the "agent_name" field.
func AgentNameGT ¶
AgentNameGT applies the GT predicate on the "agent_name" field.
func AgentNameGTE ¶
AgentNameGTE applies the GTE predicate on the "agent_name" field.
func AgentNameHasPrefix ¶
AgentNameHasPrefix applies the HasPrefix predicate on the "agent_name" field.
func AgentNameHasSuffix ¶
AgentNameHasSuffix applies the HasSuffix predicate on the "agent_name" field.
func AgentNameIn ¶
AgentNameIn applies the In predicate on the "agent_name" field.
func AgentNameIsNil ¶
AgentNameIsNil applies the IsNil predicate on the "agent_name" field.
func AgentNameLT ¶
AgentNameLT applies the LT predicate on the "agent_name" field.
func AgentNameLTE ¶
AgentNameLTE applies the LTE predicate on the "agent_name" field.
func AgentNameNEQ ¶
AgentNameNEQ applies the NEQ predicate on the "agent_name" field.
func AgentNameNotIn ¶
AgentNameNotIn applies the NotIn predicate on the "agent_name" field.
func AgentNameNotNil ¶
AgentNameNotNil applies the NotNil predicate on the "agent_name" field.
func BucketIsNil ¶
BucketIsNil applies the IsNil predicate on the "bucket" field.
func BucketNotNil ¶
BucketNotNil applies the NotNil predicate on the "bucket" field.
func CacheCreationInputTokens ¶
CacheCreationInputTokens applies equality check predicate on the "cache_creation_input_tokens" field. It's identical to CacheCreationInputTokensEQ.
func CacheCreationInputTokensEQ ¶
CacheCreationInputTokensEQ applies the EQ predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensGT ¶
CacheCreationInputTokensGT applies the GT predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensGTE ¶
CacheCreationInputTokensGTE applies the GTE predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensIn ¶
CacheCreationInputTokensIn applies the In predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensIsNil ¶
CacheCreationInputTokensIsNil applies the IsNil predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensLT ¶
CacheCreationInputTokensLT applies the LT predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensLTE ¶
CacheCreationInputTokensLTE applies the LTE predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensNEQ ¶
CacheCreationInputTokensNEQ applies the NEQ predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensNotIn ¶
CacheCreationInputTokensNotIn applies the NotIn predicate on the "cache_creation_input_tokens" field.
func CacheCreationInputTokensNotNil ¶
CacheCreationInputTokensNotNil applies the NotNil predicate on the "cache_creation_input_tokens" field.
func CacheReadInputTokens ¶
CacheReadInputTokens applies equality check predicate on the "cache_read_input_tokens" field. It's identical to CacheReadInputTokensEQ.
func CacheReadInputTokensEQ ¶
CacheReadInputTokensEQ applies the EQ predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensGT ¶
CacheReadInputTokensGT applies the GT predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensGTE ¶
CacheReadInputTokensGTE applies the GTE predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensIn ¶
CacheReadInputTokensIn applies the In predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensIsNil ¶
CacheReadInputTokensIsNil applies the IsNil predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensLT ¶
CacheReadInputTokensLT applies the LT predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensLTE ¶
CacheReadInputTokensLTE applies the LTE predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensNEQ ¶
CacheReadInputTokensNEQ applies the NEQ predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensNotIn ¶
CacheReadInputTokensNotIn applies the NotIn predicate on the "cache_read_input_tokens" field.
func CacheReadInputTokensNotNil ¶
CacheReadInputTokensNotNil applies the NotNil predicate on the "cache_read_input_tokens" field.
func CompletionTokens ¶
CompletionTokens applies equality check predicate on the "completion_tokens" field. It's identical to CompletionTokensEQ.
func CompletionTokensEQ ¶
CompletionTokensEQ applies the EQ predicate on the "completion_tokens" field.
func CompletionTokensGT ¶
CompletionTokensGT applies the GT predicate on the "completion_tokens" field.
func CompletionTokensGTE ¶
CompletionTokensGTE applies the GTE predicate on the "completion_tokens" field.
func CompletionTokensIn ¶
CompletionTokensIn applies the In predicate on the "completion_tokens" field.
func CompletionTokensIsNil ¶
CompletionTokensIsNil applies the IsNil predicate on the "completion_tokens" field.
func CompletionTokensLT ¶
CompletionTokensLT applies the LT predicate on the "completion_tokens" field.
func CompletionTokensLTE ¶
CompletionTokensLTE applies the LTE predicate on the "completion_tokens" field.
func CompletionTokensNEQ ¶
CompletionTokensNEQ applies the NEQ predicate on the "completion_tokens" field.
func CompletionTokensNotIn ¶
CompletionTokensNotIn applies the NotIn predicate on the "completion_tokens" field.
func CompletionTokensNotNil ¶
CompletionTokensNotNil applies the NotNil predicate on the "completion_tokens" field.
func ContentIsNil ¶
ContentIsNil applies the IsNil predicate on the "content" field.
func ContentNotNil ¶
ContentNotNil applies the NotNil predicate on the "content" 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 HasChildren ¶
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasParentWith ¶
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func Model ¶
Model applies equality check predicate on the "model" field. It's identical to ModelEQ.
func ModelContains ¶
ModelContains applies the Contains predicate on the "model" field.
func ModelContainsFold ¶
ModelContainsFold applies the ContainsFold predicate on the "model" field.
func ModelEqualFold ¶
ModelEqualFold applies the EqualFold predicate on the "model" field.
func ModelHasPrefix ¶
ModelHasPrefix applies the HasPrefix predicate on the "model" field.
func ModelHasSuffix ¶
ModelHasSuffix applies the HasSuffix predicate on the "model" field.
func ModelIsNil ¶
ModelIsNil applies the IsNil predicate on the "model" field.
func ModelNotIn ¶
ModelNotIn applies the NotIn predicate on the "model" field.
func ModelNotNil ¶
ModelNotNil applies the NotNil predicate on the "model" field.
func ParentHash ¶
ParentHash applies equality check predicate on the "parent_hash" field. It's identical to ParentHashEQ.
func ParentHashContains ¶
ParentHashContains applies the Contains predicate on the "parent_hash" field.
func ParentHashContainsFold ¶
ParentHashContainsFold applies the ContainsFold predicate on the "parent_hash" field.
func ParentHashEQ ¶
ParentHashEQ applies the EQ predicate on the "parent_hash" field.
func ParentHashEqualFold ¶
ParentHashEqualFold applies the EqualFold predicate on the "parent_hash" field.
func ParentHashGT ¶
ParentHashGT applies the GT predicate on the "parent_hash" field.
func ParentHashGTE ¶
ParentHashGTE applies the GTE predicate on the "parent_hash" field.
func ParentHashHasPrefix ¶
ParentHashHasPrefix applies the HasPrefix predicate on the "parent_hash" field.
func ParentHashHasSuffix ¶
ParentHashHasSuffix applies the HasSuffix predicate on the "parent_hash" field.
func ParentHashIn ¶
ParentHashIn applies the In predicate on the "parent_hash" field.
func ParentHashIsNil ¶
ParentHashIsNil applies the IsNil predicate on the "parent_hash" field.
func ParentHashLT ¶
ParentHashLT applies the LT predicate on the "parent_hash" field.
func ParentHashLTE ¶
ParentHashLTE applies the LTE predicate on the "parent_hash" field.
func ParentHashNEQ ¶
ParentHashNEQ applies the NEQ predicate on the "parent_hash" field.
func ParentHashNotIn ¶
ParentHashNotIn applies the NotIn predicate on the "parent_hash" field.
func ParentHashNotNil ¶
ParentHashNotNil applies the NotNil predicate on the "parent_hash" field.
func Project ¶
Project applies equality check predicate on the "project" field. It's identical to ProjectEQ.
func ProjectContains ¶
ProjectContains applies the Contains predicate on the "project" field.
func ProjectContainsFold ¶
ProjectContainsFold applies the ContainsFold predicate on the "project" field.
func ProjectEqualFold ¶
ProjectEqualFold applies the EqualFold predicate on the "project" field.
func ProjectGTE ¶
ProjectGTE applies the GTE predicate on the "project" field.
func ProjectHasPrefix ¶
ProjectHasPrefix applies the HasPrefix predicate on the "project" field.
func ProjectHasSuffix ¶
ProjectHasSuffix applies the HasSuffix predicate on the "project" field.
func ProjectIsNil ¶
ProjectIsNil applies the IsNil predicate on the "project" field.
func ProjectLTE ¶
ProjectLTE applies the LTE predicate on the "project" field.
func ProjectNEQ ¶
ProjectNEQ applies the NEQ predicate on the "project" field.
func ProjectNotIn ¶
ProjectNotIn applies the NotIn predicate on the "project" field.
func ProjectNotNil ¶
ProjectNotNil applies the NotNil predicate on the "project" field.
func PromptDurationNs ¶
PromptDurationNs applies equality check predicate on the "prompt_duration_ns" field. It's identical to PromptDurationNsEQ.
func PromptDurationNsEQ ¶
PromptDurationNsEQ applies the EQ predicate on the "prompt_duration_ns" field.
func PromptDurationNsGT ¶
PromptDurationNsGT applies the GT predicate on the "prompt_duration_ns" field.
func PromptDurationNsGTE ¶
PromptDurationNsGTE applies the GTE predicate on the "prompt_duration_ns" field.
func PromptDurationNsIn ¶
PromptDurationNsIn applies the In predicate on the "prompt_duration_ns" field.
func PromptDurationNsIsNil ¶
PromptDurationNsIsNil applies the IsNil predicate on the "prompt_duration_ns" field.
func PromptDurationNsLT ¶
PromptDurationNsLT applies the LT predicate on the "prompt_duration_ns" field.
func PromptDurationNsLTE ¶
PromptDurationNsLTE applies the LTE predicate on the "prompt_duration_ns" field.
func PromptDurationNsNEQ ¶
PromptDurationNsNEQ applies the NEQ predicate on the "prompt_duration_ns" field.
func PromptDurationNsNotIn ¶
PromptDurationNsNotIn applies the NotIn predicate on the "prompt_duration_ns" field.
func PromptDurationNsNotNil ¶
PromptDurationNsNotNil applies the NotNil predicate on the "prompt_duration_ns" field.
func PromptTokens ¶
PromptTokens applies equality check predicate on the "prompt_tokens" field. It's identical to PromptTokensEQ.
func PromptTokensEQ ¶
PromptTokensEQ applies the EQ predicate on the "prompt_tokens" field.
func PromptTokensGT ¶
PromptTokensGT applies the GT predicate on the "prompt_tokens" field.
func PromptTokensGTE ¶
PromptTokensGTE applies the GTE predicate on the "prompt_tokens" field.
func PromptTokensIn ¶
PromptTokensIn applies the In predicate on the "prompt_tokens" field.
func PromptTokensIsNil ¶
PromptTokensIsNil applies the IsNil predicate on the "prompt_tokens" field.
func PromptTokensLT ¶
PromptTokensLT applies the LT predicate on the "prompt_tokens" field.
func PromptTokensLTE ¶
PromptTokensLTE applies the LTE predicate on the "prompt_tokens" field.
func PromptTokensNEQ ¶
PromptTokensNEQ applies the NEQ predicate on the "prompt_tokens" field.
func PromptTokensNotIn ¶
PromptTokensNotIn applies the NotIn predicate on the "prompt_tokens" field.
func PromptTokensNotNil ¶
PromptTokensNotNil applies the NotNil predicate on the "prompt_tokens" field.
func Provider ¶
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶
ProviderIn applies the In predicate on the "provider" field.
func ProviderIsNil ¶
ProviderIsNil applies the IsNil predicate on the "provider" field.
func ProviderLT ¶
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
ProviderNotIn applies the NotIn predicate on the "provider" field.
func ProviderNotNil ¶
ProviderNotNil applies the NotNil predicate on the "provider" field.
func RoleContains ¶
RoleContains applies the Contains predicate on the "role" field.
func RoleContainsFold ¶
RoleContainsFold applies the ContainsFold predicate on the "role" field.
func RoleEqualFold ¶
RoleEqualFold applies the EqualFold predicate on the "role" field.
func RoleHasPrefix ¶
RoleHasPrefix applies the HasPrefix predicate on the "role" field.
func RoleHasSuffix ¶
RoleHasSuffix applies the HasSuffix predicate on the "role" field.
func RoleNotNil ¶
RoleNotNil applies the NotNil predicate on the "role" field.
func StopReason ¶
StopReason applies equality check predicate on the "stop_reason" field. It's identical to StopReasonEQ.
func StopReasonContains ¶
StopReasonContains applies the Contains predicate on the "stop_reason" field.
func StopReasonContainsFold ¶
StopReasonContainsFold applies the ContainsFold predicate on the "stop_reason" field.
func StopReasonEQ ¶
StopReasonEQ applies the EQ predicate on the "stop_reason" field.
func StopReasonEqualFold ¶
StopReasonEqualFold applies the EqualFold predicate on the "stop_reason" field.
func StopReasonGT ¶
StopReasonGT applies the GT predicate on the "stop_reason" field.
func StopReasonGTE ¶
StopReasonGTE applies the GTE predicate on the "stop_reason" field.
func StopReasonHasPrefix ¶
StopReasonHasPrefix applies the HasPrefix predicate on the "stop_reason" field.
func StopReasonHasSuffix ¶
StopReasonHasSuffix applies the HasSuffix predicate on the "stop_reason" field.
func StopReasonIn ¶
StopReasonIn applies the In predicate on the "stop_reason" field.
func StopReasonIsNil ¶
StopReasonIsNil applies the IsNil predicate on the "stop_reason" field.
func StopReasonLT ¶
StopReasonLT applies the LT predicate on the "stop_reason" field.
func StopReasonLTE ¶
StopReasonLTE applies the LTE predicate on the "stop_reason" field.
func StopReasonNEQ ¶
StopReasonNEQ applies the NEQ predicate on the "stop_reason" field.
func StopReasonNotIn ¶
StopReasonNotIn applies the NotIn predicate on the "stop_reason" field.
func StopReasonNotNil ¶
StopReasonNotNil applies the NotNil predicate on the "stop_reason" field.
func TotalDurationNs ¶
TotalDurationNs applies equality check predicate on the "total_duration_ns" field. It's identical to TotalDurationNsEQ.
func TotalDurationNsEQ ¶
TotalDurationNsEQ applies the EQ predicate on the "total_duration_ns" field.
func TotalDurationNsGT ¶
TotalDurationNsGT applies the GT predicate on the "total_duration_ns" field.
func TotalDurationNsGTE ¶
TotalDurationNsGTE applies the GTE predicate on the "total_duration_ns" field.
func TotalDurationNsIn ¶
TotalDurationNsIn applies the In predicate on the "total_duration_ns" field.
func TotalDurationNsIsNil ¶
TotalDurationNsIsNil applies the IsNil predicate on the "total_duration_ns" field.
func TotalDurationNsLT ¶
TotalDurationNsLT applies the LT predicate on the "total_duration_ns" field.
func TotalDurationNsLTE ¶
TotalDurationNsLTE applies the LTE predicate on the "total_duration_ns" field.
func TotalDurationNsNEQ ¶
TotalDurationNsNEQ applies the NEQ predicate on the "total_duration_ns" field.
func TotalDurationNsNotIn ¶
TotalDurationNsNotIn applies the NotIn predicate on the "total_duration_ns" field.
func TotalDurationNsNotNil ¶
TotalDurationNsNotNil applies the NotNil predicate on the "total_duration_ns" field.
func TotalTokens ¶
TotalTokens applies equality check predicate on the "total_tokens" field. It's identical to TotalTokensEQ.
func TotalTokensEQ ¶
TotalTokensEQ applies the EQ predicate on the "total_tokens" field.
func TotalTokensGT ¶
TotalTokensGT applies the GT predicate on the "total_tokens" field.
func TotalTokensGTE ¶
TotalTokensGTE applies the GTE predicate on the "total_tokens" field.
func TotalTokensIn ¶
TotalTokensIn applies the In predicate on the "total_tokens" field.
func TotalTokensIsNil ¶
TotalTokensIsNil applies the IsNil predicate on the "total_tokens" field.
func TotalTokensLT ¶
TotalTokensLT applies the LT predicate on the "total_tokens" field.
func TotalTokensLTE ¶
TotalTokensLTE applies the LTE predicate on the "total_tokens" field.
func TotalTokensNEQ ¶
TotalTokensNEQ applies the NEQ predicate on the "total_tokens" field.
func TotalTokensNotIn ¶
TotalTokensNotIn applies the NotIn predicate on the "total_tokens" field.
func TotalTokensNotNil ¶
TotalTokensNotNil applies the NotNil predicate on the "total_tokens" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" 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 Node queries.
func ByAgentName ¶
func ByAgentName(opts ...sql.OrderTermOption) OrderOption
ByAgentName orders the results by the agent_name field.
func ByCacheCreationInputTokens ¶
func ByCacheCreationInputTokens(opts ...sql.OrderTermOption) OrderOption
ByCacheCreationInputTokens orders the results by the cache_creation_input_tokens field.
func ByCacheReadInputTokens ¶
func ByCacheReadInputTokens(opts ...sql.OrderTermOption) OrderOption
ByCacheReadInputTokens orders the results by the cache_read_input_tokens field.
func ByChildren ¶
func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChildren orders the results by children terms.
func ByChildrenCount ¶
func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
ByChildrenCount orders the results by children count.
func ByCompletionTokens ¶
func ByCompletionTokens(opts ...sql.OrderTermOption) OrderOption
ByCompletionTokens orders the results by the completion_tokens 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 ByModel ¶
func ByModel(opts ...sql.OrderTermOption) OrderOption
ByModel orders the results by the model field.
func ByParentField ¶
func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
ByParentField orders the results by parent field.
func ByParentHash ¶
func ByParentHash(opts ...sql.OrderTermOption) OrderOption
ByParentHash orders the results by the parent_hash field.
func ByProject ¶
func ByProject(opts ...sql.OrderTermOption) OrderOption
ByProject orders the results by the project field.
func ByPromptDurationNs ¶
func ByPromptDurationNs(opts ...sql.OrderTermOption) OrderOption
ByPromptDurationNs orders the results by the prompt_duration_ns field.
func ByPromptTokens ¶
func ByPromptTokens(opts ...sql.OrderTermOption) OrderOption
ByPromptTokens orders the results by the prompt_tokens field.
func ByProvider ¶
func ByProvider(opts ...sql.OrderTermOption) OrderOption
ByProvider orders the results by the provider field.
func ByRole ¶
func ByRole(opts ...sql.OrderTermOption) OrderOption
ByRole orders the results by the role field.
func ByStopReason ¶
func ByStopReason(opts ...sql.OrderTermOption) OrderOption
ByStopReason orders the results by the stop_reason field.
func ByTotalDurationNs ¶
func ByTotalDurationNs(opts ...sql.OrderTermOption) OrderOption
ByTotalDurationNs orders the results by the total_duration_ns field.
func ByTotalTokens ¶
func ByTotalTokens(opts ...sql.OrderTermOption) OrderOption
ByTotalTokens orders the results by the total_tokens field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.