Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Workflow) predicate.Workflow
- func CompletedTaskCount(v int) predicate.Workflow
- func CompletedTaskCountEQ(v int) predicate.Workflow
- func CompletedTaskCountGT(v int) predicate.Workflow
- func CompletedTaskCountGTE(v int) predicate.Workflow
- func CompletedTaskCountIn(vs ...int) predicate.Workflow
- func CompletedTaskCountLT(v int) predicate.Workflow
- func CompletedTaskCountLTE(v int) predicate.Workflow
- func CompletedTaskCountNEQ(v int) predicate.Workflow
- func CompletedTaskCountNotIn(vs ...int) predicate.Workflow
- func CreatedAt(v time.Time) predicate.Workflow
- func CreatedAtEQ(v time.Time) predicate.Workflow
- func CreatedAtGT(v time.Time) predicate.Workflow
- func CreatedAtGTE(v time.Time) predicate.Workflow
- func CreatedAtIn(vs ...time.Time) predicate.Workflow
- func CreatedAtLT(v time.Time) predicate.Workflow
- func CreatedAtLTE(v time.Time) predicate.Workflow
- func CreatedAtNEQ(v time.Time) predicate.Workflow
- func CreatedAtNotIn(vs ...time.Time) predicate.Workflow
- func DurationMs(v int64) predicate.Workflow
- func DurationMsEQ(v int64) predicate.Workflow
- func DurationMsGT(v int64) predicate.Workflow
- func DurationMsGTE(v int64) predicate.Workflow
- func DurationMsIn(vs ...int64) predicate.Workflow
- func DurationMsIsNil() predicate.Workflow
- func DurationMsLT(v int64) predicate.Workflow
- func DurationMsLTE(v int64) predicate.Workflow
- func DurationMsNEQ(v int64) predicate.Workflow
- func DurationMsNotIn(vs ...int64) predicate.Workflow
- func DurationMsNotNil() predicate.Workflow
- func EndedAt(v time.Time) predicate.Workflow
- func EndedAtEQ(v time.Time) predicate.Workflow
- func EndedAtGT(v time.Time) predicate.Workflow
- func EndedAtGTE(v time.Time) predicate.Workflow
- func EndedAtIn(vs ...time.Time) predicate.Workflow
- func EndedAtIsNil() predicate.Workflow
- func EndedAtLT(v time.Time) predicate.Workflow
- func EndedAtLTE(v time.Time) predicate.Workflow
- func EndedAtNEQ(v time.Time) predicate.Workflow
- func EndedAtNotIn(vs ...time.Time) predicate.Workflow
- func EndedAtNotNil() predicate.Workflow
- func ErrorMessage(v string) predicate.Workflow
- func ErrorMessageContains(v string) predicate.Workflow
- func ErrorMessageContainsFold(v string) predicate.Workflow
- func ErrorMessageEQ(v string) predicate.Workflow
- func ErrorMessageEqualFold(v string) predicate.Workflow
- func ErrorMessageGT(v string) predicate.Workflow
- func ErrorMessageGTE(v string) predicate.Workflow
- func ErrorMessageHasPrefix(v string) predicate.Workflow
- func ErrorMessageHasSuffix(v string) predicate.Workflow
- func ErrorMessageIn(vs ...string) predicate.Workflow
- func ErrorMessageIsNil() predicate.Workflow
- func ErrorMessageLT(v string) predicate.Workflow
- func ErrorMessageLTE(v string) predicate.Workflow
- func ErrorMessageNEQ(v string) predicate.Workflow
- func ErrorMessageNotIn(vs ...string) predicate.Workflow
- func ErrorMessageNotNil() predicate.Workflow
- func FailedTaskCount(v int) predicate.Workflow
- func FailedTaskCountEQ(v int) predicate.Workflow
- func FailedTaskCountGT(v int) predicate.Workflow
- func FailedTaskCountGTE(v int) predicate.Workflow
- func FailedTaskCountIn(vs ...int) predicate.Workflow
- func FailedTaskCountLT(v int) predicate.Workflow
- func FailedTaskCountLTE(v int) predicate.Workflow
- func FailedTaskCountNEQ(v int) predicate.Workflow
- func FailedTaskCountNotIn(vs ...int) predicate.Workflow
- func HasEvents() predicate.Workflow
- func HasEventsWith(preds ...predicate.AgentEvent) predicate.Workflow
- func HasHandoffs() predicate.Workflow
- func HasHandoffsWith(preds ...predicate.AgentHandoff) predicate.Workflow
- func HasTasks() predicate.Workflow
- func HasTasksWith(preds ...predicate.AgentTask) predicate.Workflow
- func ID(id string) predicate.Workflow
- func IDContainsFold(id string) predicate.Workflow
- func IDEQ(id string) predicate.Workflow
- func IDEqualFold(id string) predicate.Workflow
- func IDGT(id string) predicate.Workflow
- func IDGTE(id string) predicate.Workflow
- func IDIn(ids ...string) predicate.Workflow
- func IDLT(id string) predicate.Workflow
- func IDLTE(id string) predicate.Workflow
- func IDNEQ(id string) predicate.Workflow
- func IDNotIn(ids ...string) predicate.Workflow
- func Initiator(v string) predicate.Workflow
- func InitiatorContains(v string) predicate.Workflow
- func InitiatorContainsFold(v string) predicate.Workflow
- func InitiatorEQ(v string) predicate.Workflow
- func InitiatorEqualFold(v string) predicate.Workflow
- func InitiatorGT(v string) predicate.Workflow
- func InitiatorGTE(v string) predicate.Workflow
- func InitiatorHasPrefix(v string) predicate.Workflow
- func InitiatorHasSuffix(v string) predicate.Workflow
- func InitiatorIn(vs ...string) predicate.Workflow
- func InitiatorIsNil() predicate.Workflow
- func InitiatorLT(v string) predicate.Workflow
- func InitiatorLTE(v string) predicate.Workflow
- func InitiatorNEQ(v string) predicate.Workflow
- func InitiatorNotIn(vs ...string) predicate.Workflow
- func InitiatorNotNil() predicate.Workflow
- func InputIsNil() predicate.Workflow
- func InputNotNil() predicate.Workflow
- func MetadataIsNil() predicate.Workflow
- func MetadataNotNil() predicate.Workflow
- func Name(v string) predicate.Workflow
- func NameContains(v string) predicate.Workflow
- func NameContainsFold(v string) predicate.Workflow
- func NameEQ(v string) predicate.Workflow
- func NameEqualFold(v string) predicate.Workflow
- func NameGT(v string) predicate.Workflow
- func NameGTE(v string) predicate.Workflow
- func NameHasPrefix(v string) predicate.Workflow
- func NameHasSuffix(v string) predicate.Workflow
- func NameIn(vs ...string) predicate.Workflow
- func NameLT(v string) predicate.Workflow
- func NameLTE(v string) predicate.Workflow
- func NameNEQ(v string) predicate.Workflow
- func NameNotIn(vs ...string) predicate.Workflow
- func Not(p predicate.Workflow) predicate.Workflow
- func Or(predicates ...predicate.Workflow) predicate.Workflow
- func OutputIsNil() predicate.Workflow
- func OutputNotNil() predicate.Workflow
- func ParentWorkflowID(v string) predicate.Workflow
- func ParentWorkflowIDContains(v string) predicate.Workflow
- func ParentWorkflowIDContainsFold(v string) predicate.Workflow
- func ParentWorkflowIDEQ(v string) predicate.Workflow
- func ParentWorkflowIDEqualFold(v string) predicate.Workflow
- func ParentWorkflowIDGT(v string) predicate.Workflow
- func ParentWorkflowIDGTE(v string) predicate.Workflow
- func ParentWorkflowIDHasPrefix(v string) predicate.Workflow
- func ParentWorkflowIDHasSuffix(v string) predicate.Workflow
- func ParentWorkflowIDIn(vs ...string) predicate.Workflow
- func ParentWorkflowIDIsNil() predicate.Workflow
- func ParentWorkflowIDLT(v string) predicate.Workflow
- func ParentWorkflowIDLTE(v string) predicate.Workflow
- func ParentWorkflowIDNEQ(v string) predicate.Workflow
- func ParentWorkflowIDNotIn(vs ...string) predicate.Workflow
- func ParentWorkflowIDNotNil() predicate.Workflow
- func StartedAt(v time.Time) predicate.Workflow
- func StartedAtEQ(v time.Time) predicate.Workflow
- func StartedAtGT(v time.Time) predicate.Workflow
- func StartedAtGTE(v time.Time) predicate.Workflow
- func StartedAtIn(vs ...time.Time) predicate.Workflow
- func StartedAtLT(v time.Time) predicate.Workflow
- func StartedAtLTE(v time.Time) predicate.Workflow
- func StartedAtNEQ(v time.Time) predicate.Workflow
- func StartedAtNotIn(vs ...time.Time) predicate.Workflow
- func Status(v string) predicate.Workflow
- func StatusContains(v string) predicate.Workflow
- func StatusContainsFold(v string) predicate.Workflow
- func StatusEQ(v string) predicate.Workflow
- func StatusEqualFold(v string) predicate.Workflow
- func StatusGT(v string) predicate.Workflow
- func StatusGTE(v string) predicate.Workflow
- func StatusHasPrefix(v string) predicate.Workflow
- func StatusHasSuffix(v string) predicate.Workflow
- func StatusIn(vs ...string) predicate.Workflow
- func StatusLT(v string) predicate.Workflow
- func StatusLTE(v string) predicate.Workflow
- func StatusNEQ(v string) predicate.Workflow
- func StatusNotIn(vs ...string) predicate.Workflow
- func TaskCount(v int) predicate.Workflow
- func TaskCountEQ(v int) predicate.Workflow
- func TaskCountGT(v int) predicate.Workflow
- func TaskCountGTE(v int) predicate.Workflow
- func TaskCountIn(vs ...int) predicate.Workflow
- func TaskCountLT(v int) predicate.Workflow
- func TaskCountLTE(v int) predicate.Workflow
- func TaskCountNEQ(v int) predicate.Workflow
- func TaskCountNotIn(vs ...int) predicate.Workflow
- func TotalCostUsd(v float64) predicate.Workflow
- func TotalCostUsdEQ(v float64) predicate.Workflow
- func TotalCostUsdGT(v float64) predicate.Workflow
- func TotalCostUsdGTE(v float64) predicate.Workflow
- func TotalCostUsdIn(vs ...float64) predicate.Workflow
- func TotalCostUsdLT(v float64) predicate.Workflow
- func TotalCostUsdLTE(v float64) predicate.Workflow
- func TotalCostUsdNEQ(v float64) predicate.Workflow
- func TotalCostUsdNotIn(vs ...float64) predicate.Workflow
- func TotalTokens(v int) predicate.Workflow
- func TotalTokensEQ(v int) predicate.Workflow
- func TotalTokensGT(v int) predicate.Workflow
- func TotalTokensGTE(v int) predicate.Workflow
- func TotalTokensIn(vs ...int) predicate.Workflow
- func TotalTokensLT(v int) predicate.Workflow
- func TotalTokensLTE(v int) predicate.Workflow
- func TotalTokensNEQ(v int) predicate.Workflow
- func TotalTokensNotIn(vs ...int) predicate.Workflow
- func TraceID(v string) predicate.Workflow
- func TraceIDContains(v string) predicate.Workflow
- func TraceIDContainsFold(v string) predicate.Workflow
- func TraceIDEQ(v string) predicate.Workflow
- func TraceIDEqualFold(v string) predicate.Workflow
- func TraceIDGT(v string) predicate.Workflow
- func TraceIDGTE(v string) predicate.Workflow
- func TraceIDHasPrefix(v string) predicate.Workflow
- func TraceIDHasSuffix(v string) predicate.Workflow
- func TraceIDIn(vs ...string) predicate.Workflow
- func TraceIDIsNil() predicate.Workflow
- func TraceIDLT(v string) predicate.Workflow
- func TraceIDLTE(v string) predicate.Workflow
- func TraceIDNEQ(v string) predicate.Workflow
- func TraceIDNotIn(vs ...string) predicate.Workflow
- func TraceIDNotNil() predicate.Workflow
- func UpdatedAt(v time.Time) predicate.Workflow
- func UpdatedAtEQ(v time.Time) predicate.Workflow
- func UpdatedAtGT(v time.Time) predicate.Workflow
- func UpdatedAtGTE(v time.Time) predicate.Workflow
- func UpdatedAtIn(vs ...time.Time) predicate.Workflow
- func UpdatedAtLT(v time.Time) predicate.Workflow
- func UpdatedAtLTE(v time.Time) predicate.Workflow
- func UpdatedAtNEQ(v time.Time) predicate.Workflow
- func UpdatedAtNotIn(vs ...time.Time) predicate.Workflow
- func ValidColumn(column string) bool
- type OrderOption
- func ByCompletedTaskCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
- func ByEndedAt(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFailedTaskCount(opts ...sql.OrderTermOption) OrderOption
- func ByHandoffs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByHandoffsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInitiator(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByParentWorkflowID(opts ...sql.OrderTermOption) OrderOption
- func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTaskCount(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByTotalCostUsd(opts ...sql.OrderTermOption) OrderOption
- func ByTotalTokens(opts ...sql.OrderTermOption) OrderOption
- func ByTraceID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the workflow type in the database. Label = "workflow" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldTraceID holds the string denoting the trace_id field in the database. FieldTraceID = "trace_id" // FieldParentWorkflowID holds the string denoting the parent_workflow_id field in the database. FieldParentWorkflowID = "parent_workflow_id" // FieldInitiator holds the string denoting the initiator field in the database. FieldInitiator = "initiator" // FieldInput holds the string denoting the input field in the database. FieldInput = "input" // FieldOutput holds the string denoting the output field in the database. FieldOutput = "output" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldTaskCount holds the string denoting the task_count field in the database. FieldTaskCount = "task_count" // FieldCompletedTaskCount holds the string denoting the completed_task_count field in the database. FieldCompletedTaskCount = "completed_task_count" // FieldFailedTaskCount holds the string denoting the failed_task_count field in the database. FieldFailedTaskCount = "failed_task_count" // FieldTotalCostUsd holds the string denoting the total_cost_usd field in the database. FieldTotalCostUsd = "total_cost_usd" // FieldTotalTokens holds the string denoting the total_tokens field in the database. FieldTotalTokens = "total_tokens" // FieldDurationMs holds the string denoting the duration_ms field in the database. FieldDurationMs = "duration_ms" // FieldErrorMessage holds the string denoting the error_message field in the database. FieldErrorMessage = "error_message" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldEndedAt holds the string denoting the ended_at field in the database. FieldEndedAt = "ended_at" // 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" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeHandoffs holds the string denoting the handoffs edge name in mutations. EdgeHandoffs = "handoffs" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the workflow in the database. Table = "workflows" // TasksTable is the table that holds the tasks relation/edge. TasksTable = "agent_tasks" // TasksInverseTable is the table name for the AgentTask entity. // It exists in this package in order to avoid circular dependency with the "agenttask" package. TasksInverseTable = "agent_tasks" // TasksColumn is the table column denoting the tasks relation/edge. TasksColumn = "workflow_id" // HandoffsTable is the table that holds the handoffs relation/edge. HandoffsTable = "agent_handoffs" // HandoffsInverseTable is the table name for the AgentHandoff entity. // It exists in this package in order to avoid circular dependency with the "agenthandoff" package. HandoffsInverseTable = "agent_handoffs" // HandoffsColumn is the table column denoting the handoffs relation/edge. HandoffsColumn = "workflow_id" // EventsTable is the table that holds the events relation/edge. EventsTable = "agent_events" // EventsInverseTable is the table name for the AgentEvent entity. // It exists in this package in order to avoid circular dependency with the "agentevent" package. EventsInverseTable = "agent_events" // EventsColumn is the table column denoting the events relation/edge. EventsColumn = "workflow_id" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // DefaultTaskCount holds the default value on creation for the "task_count" field. DefaultTaskCount int // DefaultCompletedTaskCount holds the default value on creation for the "completed_task_count" field. DefaultCompletedTaskCount int // DefaultFailedTaskCount holds the default value on creation for the "failed_task_count" field. DefaultFailedTaskCount int // DefaultTotalCostUsd holds the default value on creation for the "total_cost_usd" field. DefaultTotalCostUsd float64 // DefaultTotalTokens holds the default value on creation for the "total_tokens" field. DefaultTotalTokens int // DefaultStartedAt holds the default value on creation for the "started_at" field. DefaultStartedAt func() time.Time // 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, FieldName, FieldStatus, FieldTraceID, FieldParentWorkflowID, FieldInitiator, FieldInput, FieldOutput, FieldMetadata, FieldTaskCount, FieldCompletedTaskCount, FieldFailedTaskCount, FieldTotalCostUsd, FieldTotalTokens, FieldDurationMs, FieldErrorMessage, FieldStartedAt, FieldEndedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for workflow fields.
Functions ¶
func CompletedTaskCount ¶
CompletedTaskCount applies equality check predicate on the "completed_task_count" field. It's identical to CompletedTaskCountEQ.
func CompletedTaskCountEQ ¶
CompletedTaskCountEQ applies the EQ predicate on the "completed_task_count" field.
func CompletedTaskCountGT ¶
CompletedTaskCountGT applies the GT predicate on the "completed_task_count" field.
func CompletedTaskCountGTE ¶
CompletedTaskCountGTE applies the GTE predicate on the "completed_task_count" field.
func CompletedTaskCountIn ¶
CompletedTaskCountIn applies the In predicate on the "completed_task_count" field.
func CompletedTaskCountLT ¶
CompletedTaskCountLT applies the LT predicate on the "completed_task_count" field.
func CompletedTaskCountLTE ¶
CompletedTaskCountLTE applies the LTE predicate on the "completed_task_count" field.
func CompletedTaskCountNEQ ¶
CompletedTaskCountNEQ applies the NEQ predicate on the "completed_task_count" field.
func CompletedTaskCountNotIn ¶
CompletedTaskCountNotIn applies the NotIn predicate on the "completed_task_count" 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 DurationMs ¶
DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.
func DurationMsEQ ¶
DurationMsEQ applies the EQ predicate on the "duration_ms" field.
func DurationMsGT ¶
DurationMsGT applies the GT predicate on the "duration_ms" field.
func DurationMsGTE ¶
DurationMsGTE applies the GTE predicate on the "duration_ms" field.
func DurationMsIn ¶
DurationMsIn applies the In predicate on the "duration_ms" field.
func DurationMsIsNil ¶
DurationMsIsNil applies the IsNil predicate on the "duration_ms" field.
func DurationMsLT ¶
DurationMsLT applies the LT predicate on the "duration_ms" field.
func DurationMsLTE ¶
DurationMsLTE applies the LTE predicate on the "duration_ms" field.
func DurationMsNEQ ¶
DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.
func DurationMsNotIn ¶
DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.
func DurationMsNotNil ¶
DurationMsNotNil applies the NotNil predicate on the "duration_ms" field.
func EndedAt ¶
EndedAt applies equality check predicate on the "ended_at" field. It's identical to EndedAtEQ.
func EndedAtGTE ¶
EndedAtGTE applies the GTE predicate on the "ended_at" field.
func EndedAtIsNil ¶
EndedAtIsNil applies the IsNil predicate on the "ended_at" field.
func EndedAtLTE ¶
EndedAtLTE applies the LTE predicate on the "ended_at" field.
func EndedAtNEQ ¶
EndedAtNEQ applies the NEQ predicate on the "ended_at" field.
func EndedAtNotIn ¶
EndedAtNotIn applies the NotIn predicate on the "ended_at" field.
func EndedAtNotNil ¶
EndedAtNotNil applies the NotNil predicate on the "ended_at" field.
func ErrorMessage ¶
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIsNil ¶
ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageLT ¶
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotNil ¶
ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
func FailedTaskCount ¶
FailedTaskCount applies equality check predicate on the "failed_task_count" field. It's identical to FailedTaskCountEQ.
func FailedTaskCountEQ ¶
FailedTaskCountEQ applies the EQ predicate on the "failed_task_count" field.
func FailedTaskCountGT ¶
FailedTaskCountGT applies the GT predicate on the "failed_task_count" field.
func FailedTaskCountGTE ¶
FailedTaskCountGTE applies the GTE predicate on the "failed_task_count" field.
func FailedTaskCountIn ¶
FailedTaskCountIn applies the In predicate on the "failed_task_count" field.
func FailedTaskCountLT ¶
FailedTaskCountLT applies the LT predicate on the "failed_task_count" field.
func FailedTaskCountLTE ¶
FailedTaskCountLTE applies the LTE predicate on the "failed_task_count" field.
func FailedTaskCountNEQ ¶
FailedTaskCountNEQ applies the NEQ predicate on the "failed_task_count" field.
func FailedTaskCountNotIn ¶
FailedTaskCountNotIn applies the NotIn predicate on the "failed_task_count" field.
func HasEventsWith ¶
func HasEventsWith(preds ...predicate.AgentEvent) predicate.Workflow
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasHandoffs ¶
HasHandoffs applies the HasEdge predicate on the "handoffs" edge.
func HasHandoffsWith ¶
func HasHandoffsWith(preds ...predicate.AgentHandoff) predicate.Workflow
HasHandoffsWith applies the HasEdge predicate on the "handoffs" edge with a given conditions (other predicates).
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" 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 Initiator ¶
Initiator applies equality check predicate on the "initiator" field. It's identical to InitiatorEQ.
func InitiatorContains ¶
InitiatorContains applies the Contains predicate on the "initiator" field.
func InitiatorContainsFold ¶
InitiatorContainsFold applies the ContainsFold predicate on the "initiator" field.
func InitiatorEQ ¶
InitiatorEQ applies the EQ predicate on the "initiator" field.
func InitiatorEqualFold ¶
InitiatorEqualFold applies the EqualFold predicate on the "initiator" field.
func InitiatorGT ¶
InitiatorGT applies the GT predicate on the "initiator" field.
func InitiatorGTE ¶
InitiatorGTE applies the GTE predicate on the "initiator" field.
func InitiatorHasPrefix ¶
InitiatorHasPrefix applies the HasPrefix predicate on the "initiator" field.
func InitiatorHasSuffix ¶
InitiatorHasSuffix applies the HasSuffix predicate on the "initiator" field.
func InitiatorIn ¶
InitiatorIn applies the In predicate on the "initiator" field.
func InitiatorIsNil ¶
InitiatorIsNil applies the IsNil predicate on the "initiator" field.
func InitiatorLT ¶
InitiatorLT applies the LT predicate on the "initiator" field.
func InitiatorLTE ¶
InitiatorLTE applies the LTE predicate on the "initiator" field.
func InitiatorNEQ ¶
InitiatorNEQ applies the NEQ predicate on the "initiator" field.
func InitiatorNotIn ¶
InitiatorNotIn applies the NotIn predicate on the "initiator" field.
func InitiatorNotNil ¶
InitiatorNotNil applies the NotNil predicate on the "initiator" field.
func InputIsNil ¶
InputIsNil applies the IsNil predicate on the "input" field.
func InputNotNil ¶
InputNotNil applies the NotNil predicate on the "input" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OutputIsNil ¶
OutputIsNil applies the IsNil predicate on the "output" field.
func OutputNotNil ¶
OutputNotNil applies the NotNil predicate on the "output" field.
func ParentWorkflowID ¶
ParentWorkflowID applies equality check predicate on the "parent_workflow_id" field. It's identical to ParentWorkflowIDEQ.
func ParentWorkflowIDContains ¶
ParentWorkflowIDContains applies the Contains predicate on the "parent_workflow_id" field.
func ParentWorkflowIDContainsFold ¶
ParentWorkflowIDContainsFold applies the ContainsFold predicate on the "parent_workflow_id" field.
func ParentWorkflowIDEQ ¶
ParentWorkflowIDEQ applies the EQ predicate on the "parent_workflow_id" field.
func ParentWorkflowIDEqualFold ¶
ParentWorkflowIDEqualFold applies the EqualFold predicate on the "parent_workflow_id" field.
func ParentWorkflowIDGT ¶
ParentWorkflowIDGT applies the GT predicate on the "parent_workflow_id" field.
func ParentWorkflowIDGTE ¶
ParentWorkflowIDGTE applies the GTE predicate on the "parent_workflow_id" field.
func ParentWorkflowIDHasPrefix ¶
ParentWorkflowIDHasPrefix applies the HasPrefix predicate on the "parent_workflow_id" field.
func ParentWorkflowIDHasSuffix ¶
ParentWorkflowIDHasSuffix applies the HasSuffix predicate on the "parent_workflow_id" field.
func ParentWorkflowIDIn ¶
ParentWorkflowIDIn applies the In predicate on the "parent_workflow_id" field.
func ParentWorkflowIDIsNil ¶
ParentWorkflowIDIsNil applies the IsNil predicate on the "parent_workflow_id" field.
func ParentWorkflowIDLT ¶
ParentWorkflowIDLT applies the LT predicate on the "parent_workflow_id" field.
func ParentWorkflowIDLTE ¶
ParentWorkflowIDLTE applies the LTE predicate on the "parent_workflow_id" field.
func ParentWorkflowIDNEQ ¶
ParentWorkflowIDNEQ applies the NEQ predicate on the "parent_workflow_id" field.
func ParentWorkflowIDNotIn ¶
ParentWorkflowIDNotIn applies the NotIn predicate on the "parent_workflow_id" field.
func ParentWorkflowIDNotNil ¶
ParentWorkflowIDNotNil applies the NotNil predicate on the "parent_workflow_id" field.
func StartedAt ¶
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtLT ¶
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func TaskCount ¶
TaskCount applies equality check predicate on the "task_count" field. It's identical to TaskCountEQ.
func TaskCountEQ ¶
TaskCountEQ applies the EQ predicate on the "task_count" field.
func TaskCountGT ¶
TaskCountGT applies the GT predicate on the "task_count" field.
func TaskCountGTE ¶
TaskCountGTE applies the GTE predicate on the "task_count" field.
func TaskCountIn ¶
TaskCountIn applies the In predicate on the "task_count" field.
func TaskCountLT ¶
TaskCountLT applies the LT predicate on the "task_count" field.
func TaskCountLTE ¶
TaskCountLTE applies the LTE predicate on the "task_count" field.
func TaskCountNEQ ¶
TaskCountNEQ applies the NEQ predicate on the "task_count" field.
func TaskCountNotIn ¶
TaskCountNotIn applies the NotIn predicate on the "task_count" field.
func TotalCostUsd ¶
TotalCostUsd applies equality check predicate on the "total_cost_usd" field. It's identical to TotalCostUsdEQ.
func TotalCostUsdEQ ¶
TotalCostUsdEQ applies the EQ predicate on the "total_cost_usd" field.
func TotalCostUsdGT ¶
TotalCostUsdGT applies the GT predicate on the "total_cost_usd" field.
func TotalCostUsdGTE ¶
TotalCostUsdGTE applies the GTE predicate on the "total_cost_usd" field.
func TotalCostUsdIn ¶
TotalCostUsdIn applies the In predicate on the "total_cost_usd" field.
func TotalCostUsdLT ¶
TotalCostUsdLT applies the LT predicate on the "total_cost_usd" field.
func TotalCostUsdLTE ¶
TotalCostUsdLTE applies the LTE predicate on the "total_cost_usd" field.
func TotalCostUsdNEQ ¶
TotalCostUsdNEQ applies the NEQ predicate on the "total_cost_usd" field.
func TotalCostUsdNotIn ¶
TotalCostUsdNotIn applies the NotIn predicate on the "total_cost_usd" 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 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 TraceID ¶
TraceID applies equality check predicate on the "trace_id" field. It's identical to TraceIDEQ.
func TraceIDContains ¶
TraceIDContains applies the Contains predicate on the "trace_id" field.
func TraceIDContainsFold ¶
TraceIDContainsFold applies the ContainsFold predicate on the "trace_id" field.
func TraceIDEqualFold ¶
TraceIDEqualFold applies the EqualFold predicate on the "trace_id" field.
func TraceIDGTE ¶
TraceIDGTE applies the GTE predicate on the "trace_id" field.
func TraceIDHasPrefix ¶
TraceIDHasPrefix applies the HasPrefix predicate on the "trace_id" field.
func TraceIDHasSuffix ¶
TraceIDHasSuffix applies the HasSuffix predicate on the "trace_id" field.
func TraceIDIsNil ¶
TraceIDIsNil applies the IsNil predicate on the "trace_id" field.
func TraceIDLTE ¶
TraceIDLTE applies the LTE predicate on the "trace_id" field.
func TraceIDNEQ ¶
TraceIDNEQ applies the NEQ predicate on the "trace_id" field.
func TraceIDNotIn ¶
TraceIDNotIn applies the NotIn predicate on the "trace_id" field.
func TraceIDNotNil ¶
TraceIDNotNil applies the NotNil predicate on the "trace_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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 Workflow queries.
func ByCompletedTaskCount ¶
func ByCompletedTaskCount(opts ...sql.OrderTermOption) OrderOption
ByCompletedTaskCount orders the results by the completed_task_count field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDurationMs ¶
func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
ByDurationMs orders the results by the duration_ms field.
func ByEndedAt ¶
func ByEndedAt(opts ...sql.OrderTermOption) OrderOption
ByEndedAt orders the results by the ended_at field.
func ByErrorMessage ¶
func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
ByErrorMessage orders the results by the error_message field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByFailedTaskCount ¶
func ByFailedTaskCount(opts ...sql.OrderTermOption) OrderOption
ByFailedTaskCount orders the results by the failed_task_count field.
func ByHandoffs ¶
func ByHandoffs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByHandoffs orders the results by handoffs terms.
func ByHandoffsCount ¶
func ByHandoffsCount(opts ...sql.OrderTermOption) OrderOption
ByHandoffsCount orders the results by handoffs count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInitiator ¶
func ByInitiator(opts ...sql.OrderTermOption) OrderOption
ByInitiator orders the results by the initiator field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByParentWorkflowID ¶
func ByParentWorkflowID(opts ...sql.OrderTermOption) OrderOption
ByParentWorkflowID orders the results by the parent_workflow_id field.
func ByStartedAt ¶
func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
ByStartedAt orders the results by the started_at field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTaskCount ¶
func ByTaskCount(opts ...sql.OrderTermOption) OrderOption
ByTaskCount orders the results by the task_count field.
func ByTasks ¶
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByTotalCostUsd ¶
func ByTotalCostUsd(opts ...sql.OrderTermOption) OrderOption
ByTotalCostUsd orders the results by the total_cost_usd field.
func ByTotalTokens ¶
func ByTotalTokens(opts ...sql.OrderTermOption) OrderOption
ByTotalTokens orders the results by the total_tokens field.
func ByTraceID ¶
func ByTraceID(opts ...sql.OrderTermOption) OrderOption
ByTraceID orders the results by the trace_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.