agenttoolcall

package
v0.0.0-...-65c6c44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agenttoolcall type in the database.
	Label = "agent_tool_call"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldCallIndex holds the string denoting the call_index field in the database.
	FieldCallIndex = "call_index"
	// FieldToolName holds the string denoting the tool_name field in the database.
	FieldToolName = "tool_name"
	// FieldArgsJSON holds the string denoting the args_json field in the database.
	FieldArgsJSON = "args_json"
	// FieldResultBytes holds the string denoting the result_bytes field in the database.
	FieldResultBytes = "result_bytes"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldErrorCode holds the string denoting the error_code field in the database.
	FieldErrorCode = "error_code"
	// FieldTrustTier holds the string denoting the trust_tier field in the database.
	FieldTrustTier = "trust_tier"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeTurn holds the string denoting the turn edge name in mutations.
	EdgeTurn = "turn"
	// Table holds the table name of the agenttoolcall in the database.
	Table = "agent_tool_calls"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "agent_tool_calls"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_agent_tool_calls"
	// TurnTable is the table that holds the turn relation/edge.
	TurnTable = "agent_tool_calls"
	// TurnInverseTable is the table name for the AgentTurn entity.
	// It exists in this package in order to avoid circular dependency with the "agentturn" package.
	TurnInverseTable = "agent_turns"
	// TurnColumn is the table column denoting the turn relation/edge.
	TurnColumn = "agent_turn_tool_calls"
)

Variables

View Source
var (
	Hooks  [1]ent.Hook
	Policy ent.Policy
	// 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
	// CallIndexValidator is a validator for the "call_index" field. It is called by the builders before save.
	CallIndexValidator func(int) error
	// ToolNameValidator is a validator for the "tool_name" field. It is called by the builders before save.
	ToolNameValidator func(string) error
	// ArgsJSONValidator is a validator for the "args_json" field. It is called by the builders before save.
	ArgsJSONValidator func(string) error
	// DefaultResultBytes holds the default value on creation for the "result_bytes" field.
	DefaultResultBytes int
	// ResultBytesValidator is a validator for the "result_bytes" field. It is called by the builders before save.
	ResultBytesValidator func(int) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// StatusValidator is a validator for the "status" field. It is called by the builders before save.
	StatusValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"

Columns holds all SQL columns for agenttoolcall fields.

View Source
var ForeignKeys = []string{
	"agent_turn_tool_calls",
	"user_agent_tool_calls",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "agent_tool_calls" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func ArgsJSON

func ArgsJSON(v string) predicate.AgentToolCall

ArgsJSON applies equality check predicate on the "args_json" field. It's identical to ArgsJSONEQ.

func ArgsJSONContains

func ArgsJSONContains(v string) predicate.AgentToolCall

ArgsJSONContains applies the Contains predicate on the "args_json" field.

func ArgsJSONContainsFold

func ArgsJSONContainsFold(v string) predicate.AgentToolCall

ArgsJSONContainsFold applies the ContainsFold predicate on the "args_json" field.

func ArgsJSONEQ

func ArgsJSONEQ(v string) predicate.AgentToolCall

ArgsJSONEQ applies the EQ predicate on the "args_json" field.

func ArgsJSONEqualFold

func ArgsJSONEqualFold(v string) predicate.AgentToolCall

ArgsJSONEqualFold applies the EqualFold predicate on the "args_json" field.

func ArgsJSONGT

func ArgsJSONGT(v string) predicate.AgentToolCall

ArgsJSONGT applies the GT predicate on the "args_json" field.

func ArgsJSONGTE

func ArgsJSONGTE(v string) predicate.AgentToolCall

ArgsJSONGTE applies the GTE predicate on the "args_json" field.

func ArgsJSONHasPrefix

func ArgsJSONHasPrefix(v string) predicate.AgentToolCall

ArgsJSONHasPrefix applies the HasPrefix predicate on the "args_json" field.

func ArgsJSONHasSuffix

func ArgsJSONHasSuffix(v string) predicate.AgentToolCall

ArgsJSONHasSuffix applies the HasSuffix predicate on the "args_json" field.

func ArgsJSONIn

func ArgsJSONIn(vs ...string) predicate.AgentToolCall

ArgsJSONIn applies the In predicate on the "args_json" field.

func ArgsJSONIsNil

func ArgsJSONIsNil() predicate.AgentToolCall

ArgsJSONIsNil applies the IsNil predicate on the "args_json" field.

func ArgsJSONLT

func ArgsJSONLT(v string) predicate.AgentToolCall

ArgsJSONLT applies the LT predicate on the "args_json" field.

func ArgsJSONLTE

func ArgsJSONLTE(v string) predicate.AgentToolCall

ArgsJSONLTE applies the LTE predicate on the "args_json" field.

func ArgsJSONNEQ

func ArgsJSONNEQ(v string) predicate.AgentToolCall

ArgsJSONNEQ applies the NEQ predicate on the "args_json" field.

func ArgsJSONNotIn

func ArgsJSONNotIn(vs ...string) predicate.AgentToolCall

ArgsJSONNotIn applies the NotIn predicate on the "args_json" field.

func ArgsJSONNotNil

func ArgsJSONNotNil() predicate.AgentToolCall

ArgsJSONNotNil applies the NotNil predicate on the "args_json" field.

func CallIndex

func CallIndex(v int) predicate.AgentToolCall

CallIndex applies equality check predicate on the "call_index" field. It's identical to CallIndexEQ.

func CallIndexEQ

func CallIndexEQ(v int) predicate.AgentToolCall

CallIndexEQ applies the EQ predicate on the "call_index" field.

func CallIndexGT

func CallIndexGT(v int) predicate.AgentToolCall

CallIndexGT applies the GT predicate on the "call_index" field.

func CallIndexGTE

func CallIndexGTE(v int) predicate.AgentToolCall

CallIndexGTE applies the GTE predicate on the "call_index" field.

func CallIndexIn

func CallIndexIn(vs ...int) predicate.AgentToolCall

CallIndexIn applies the In predicate on the "call_index" field.

func CallIndexLT

func CallIndexLT(v int) predicate.AgentToolCall

CallIndexLT applies the LT predicate on the "call_index" field.

func CallIndexLTE

func CallIndexLTE(v int) predicate.AgentToolCall

CallIndexLTE applies the LTE predicate on the "call_index" field.

func CallIndexNEQ

func CallIndexNEQ(v int) predicate.AgentToolCall

CallIndexNEQ applies the NEQ predicate on the "call_index" field.

func CallIndexNotIn

func CallIndexNotIn(vs ...int) predicate.AgentToolCall

CallIndexNotIn applies the NotIn predicate on the "call_index" field.

func CompletedAt

func CompletedAt(v time.Time) predicate.AgentToolCall

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.AgentToolCall

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.AgentToolCall

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.AgentToolCall

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.AgentToolCall

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.AgentToolCall

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.AgentToolCall

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.AgentToolCall

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.AgentToolCall

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.AgentToolCall

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.AgentToolCall

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AgentToolCall

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentToolCall

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentToolCall

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentToolCall

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AgentToolCall

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentToolCall

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentToolCall

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentToolCall

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AgentToolCall

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ErrorCode

func ErrorCode(v string) predicate.AgentToolCall

ErrorCode applies equality check predicate on the "error_code" field. It's identical to ErrorCodeEQ.

func ErrorCodeContains

func ErrorCodeContains(v string) predicate.AgentToolCall

ErrorCodeContains applies the Contains predicate on the "error_code" field.

func ErrorCodeContainsFold

func ErrorCodeContainsFold(v string) predicate.AgentToolCall

ErrorCodeContainsFold applies the ContainsFold predicate on the "error_code" field.

func ErrorCodeEQ

func ErrorCodeEQ(v string) predicate.AgentToolCall

ErrorCodeEQ applies the EQ predicate on the "error_code" field.

func ErrorCodeEqualFold

func ErrorCodeEqualFold(v string) predicate.AgentToolCall

ErrorCodeEqualFold applies the EqualFold predicate on the "error_code" field.

func ErrorCodeGT

func ErrorCodeGT(v string) predicate.AgentToolCall

ErrorCodeGT applies the GT predicate on the "error_code" field.

func ErrorCodeGTE

func ErrorCodeGTE(v string) predicate.AgentToolCall

ErrorCodeGTE applies the GTE predicate on the "error_code" field.

func ErrorCodeHasPrefix

func ErrorCodeHasPrefix(v string) predicate.AgentToolCall

ErrorCodeHasPrefix applies the HasPrefix predicate on the "error_code" field.

func ErrorCodeHasSuffix

func ErrorCodeHasSuffix(v string) predicate.AgentToolCall

ErrorCodeHasSuffix applies the HasSuffix predicate on the "error_code" field.

func ErrorCodeIn

func ErrorCodeIn(vs ...string) predicate.AgentToolCall

ErrorCodeIn applies the In predicate on the "error_code" field.

func ErrorCodeIsNil

func ErrorCodeIsNil() predicate.AgentToolCall

ErrorCodeIsNil applies the IsNil predicate on the "error_code" field.

func ErrorCodeLT

func ErrorCodeLT(v string) predicate.AgentToolCall

ErrorCodeLT applies the LT predicate on the "error_code" field.

func ErrorCodeLTE

func ErrorCodeLTE(v string) predicate.AgentToolCall

ErrorCodeLTE applies the LTE predicate on the "error_code" field.

func ErrorCodeNEQ

func ErrorCodeNEQ(v string) predicate.AgentToolCall

ErrorCodeNEQ applies the NEQ predicate on the "error_code" field.

func ErrorCodeNotIn

func ErrorCodeNotIn(vs ...string) predicate.AgentToolCall

ErrorCodeNotIn applies the NotIn predicate on the "error_code" field.

func ErrorCodeNotNil

func ErrorCodeNotNil() predicate.AgentToolCall

ErrorCodeNotNil applies the NotNil predicate on the "error_code" field.

func HasTurn

func HasTurn() predicate.AgentToolCall

HasTurn applies the HasEdge predicate on the "turn" edge.

func HasTurnWith

func HasTurnWith(preds ...predicate.AgentTurn) predicate.AgentToolCall

HasTurnWith applies the HasEdge predicate on the "turn" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.AgentToolCall

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.AgentToolCall

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.AgentToolCall

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.AgentToolCall

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.AgentToolCall

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.AgentToolCall

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.AgentToolCall

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ResultBytes

func ResultBytes(v int) predicate.AgentToolCall

ResultBytes applies equality check predicate on the "result_bytes" field. It's identical to ResultBytesEQ.

func ResultBytesEQ

func ResultBytesEQ(v int) predicate.AgentToolCall

ResultBytesEQ applies the EQ predicate on the "result_bytes" field.

func ResultBytesGT

func ResultBytesGT(v int) predicate.AgentToolCall

ResultBytesGT applies the GT predicate on the "result_bytes" field.

func ResultBytesGTE

func ResultBytesGTE(v int) predicate.AgentToolCall

ResultBytesGTE applies the GTE predicate on the "result_bytes" field.

func ResultBytesIn

func ResultBytesIn(vs ...int) predicate.AgentToolCall

ResultBytesIn applies the In predicate on the "result_bytes" field.

func ResultBytesLT

func ResultBytesLT(v int) predicate.AgentToolCall

ResultBytesLT applies the LT predicate on the "result_bytes" field.

func ResultBytesLTE

func ResultBytesLTE(v int) predicate.AgentToolCall

ResultBytesLTE applies the LTE predicate on the "result_bytes" field.

func ResultBytesNEQ

func ResultBytesNEQ(v int) predicate.AgentToolCall

ResultBytesNEQ applies the NEQ predicate on the "result_bytes" field.

func ResultBytesNotIn

func ResultBytesNotIn(vs ...int) predicate.AgentToolCall

ResultBytesNotIn applies the NotIn predicate on the "result_bytes" field.

func StartedAt

func StartedAt(v time.Time) predicate.AgentToolCall

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.AgentToolCall

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.AgentToolCall

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.AgentToolCall

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.AgentToolCall

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.AgentToolCall

StartedAtIsNil applies the IsNil predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.AgentToolCall

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.AgentToolCall

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.AgentToolCall

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.AgentToolCall

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.AgentToolCall

StartedAtNotNil applies the NotNil predicate on the "started_at" field.

func Status

func Status(v string) predicate.AgentToolCall

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.AgentToolCall

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.AgentToolCall

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.AgentToolCall

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.AgentToolCall

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.AgentToolCall

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.AgentToolCall

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.AgentToolCall

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.AgentToolCall

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.AgentToolCall

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.AgentToolCall

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.AgentToolCall

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.AgentToolCall

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.AgentToolCall

StatusNotIn applies the NotIn predicate on the "status" field.

func ToolName

func ToolName(v string) predicate.AgentToolCall

ToolName applies equality check predicate on the "tool_name" field. It's identical to ToolNameEQ.

func ToolNameContains

func ToolNameContains(v string) predicate.AgentToolCall

ToolNameContains applies the Contains predicate on the "tool_name" field.

func ToolNameContainsFold

func ToolNameContainsFold(v string) predicate.AgentToolCall

ToolNameContainsFold applies the ContainsFold predicate on the "tool_name" field.

func ToolNameEQ

func ToolNameEQ(v string) predicate.AgentToolCall

ToolNameEQ applies the EQ predicate on the "tool_name" field.

func ToolNameEqualFold

func ToolNameEqualFold(v string) predicate.AgentToolCall

ToolNameEqualFold applies the EqualFold predicate on the "tool_name" field.

func ToolNameGT

func ToolNameGT(v string) predicate.AgentToolCall

ToolNameGT applies the GT predicate on the "tool_name" field.

func ToolNameGTE

func ToolNameGTE(v string) predicate.AgentToolCall

ToolNameGTE applies the GTE predicate on the "tool_name" field.

func ToolNameHasPrefix

func ToolNameHasPrefix(v string) predicate.AgentToolCall

ToolNameHasPrefix applies the HasPrefix predicate on the "tool_name" field.

func ToolNameHasSuffix

func ToolNameHasSuffix(v string) predicate.AgentToolCall

ToolNameHasSuffix applies the HasSuffix predicate on the "tool_name" field.

func ToolNameIn

func ToolNameIn(vs ...string) predicate.AgentToolCall

ToolNameIn applies the In predicate on the "tool_name" field.

func ToolNameLT

func ToolNameLT(v string) predicate.AgentToolCall

ToolNameLT applies the LT predicate on the "tool_name" field.

func ToolNameLTE

func ToolNameLTE(v string) predicate.AgentToolCall

ToolNameLTE applies the LTE predicate on the "tool_name" field.

func ToolNameNEQ

func ToolNameNEQ(v string) predicate.AgentToolCall

ToolNameNEQ applies the NEQ predicate on the "tool_name" field.

func ToolNameNotIn

func ToolNameNotIn(vs ...string) predicate.AgentToolCall

ToolNameNotIn applies the NotIn predicate on the "tool_name" field.

func TrustTier

func TrustTier(v string) predicate.AgentToolCall

TrustTier applies equality check predicate on the "trust_tier" field. It's identical to TrustTierEQ.

func TrustTierContains

func TrustTierContains(v string) predicate.AgentToolCall

TrustTierContains applies the Contains predicate on the "trust_tier" field.

func TrustTierContainsFold

func TrustTierContainsFold(v string) predicate.AgentToolCall

TrustTierContainsFold applies the ContainsFold predicate on the "trust_tier" field.

func TrustTierEQ

func TrustTierEQ(v string) predicate.AgentToolCall

TrustTierEQ applies the EQ predicate on the "trust_tier" field.

func TrustTierEqualFold

func TrustTierEqualFold(v string) predicate.AgentToolCall

TrustTierEqualFold applies the EqualFold predicate on the "trust_tier" field.

func TrustTierGT

func TrustTierGT(v string) predicate.AgentToolCall

TrustTierGT applies the GT predicate on the "trust_tier" field.

func TrustTierGTE

func TrustTierGTE(v string) predicate.AgentToolCall

TrustTierGTE applies the GTE predicate on the "trust_tier" field.

func TrustTierHasPrefix

func TrustTierHasPrefix(v string) predicate.AgentToolCall

TrustTierHasPrefix applies the HasPrefix predicate on the "trust_tier" field.

func TrustTierHasSuffix

func TrustTierHasSuffix(v string) predicate.AgentToolCall

TrustTierHasSuffix applies the HasSuffix predicate on the "trust_tier" field.

func TrustTierIn

func TrustTierIn(vs ...string) predicate.AgentToolCall

TrustTierIn applies the In predicate on the "trust_tier" field.

func TrustTierIsNil

func TrustTierIsNil() predicate.AgentToolCall

TrustTierIsNil applies the IsNil predicate on the "trust_tier" field.

func TrustTierLT

func TrustTierLT(v string) predicate.AgentToolCall

TrustTierLT applies the LT predicate on the "trust_tier" field.

func TrustTierLTE

func TrustTierLTE(v string) predicate.AgentToolCall

TrustTierLTE applies the LTE predicate on the "trust_tier" field.

func TrustTierNEQ

func TrustTierNEQ(v string) predicate.AgentToolCall

TrustTierNEQ applies the NEQ predicate on the "trust_tier" field.

func TrustTierNotIn

func TrustTierNotIn(vs ...string) predicate.AgentToolCall

TrustTierNotIn applies the NotIn predicate on the "trust_tier" field.

func TrustTierNotNil

func TrustTierNotNil() predicate.AgentToolCall

TrustTierNotNil applies the NotNil predicate on the "trust_tier" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AgentToolCall

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AgentToolCall

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AgentToolCall

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AgentToolCall

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AgentToolCall

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AgentToolCall

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AgentToolCall

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AgentToolCall

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AgentToolCall

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentToolCall queries.

func ByArgsJSON

func ByArgsJSON(opts ...sql.OrderTermOption) OrderOption

ByArgsJSON orders the results by the args_json field.

func ByCallIndex

func ByCallIndex(opts ...sql.OrderTermOption) OrderOption

ByCallIndex orders the results by the call_index field.

func ByCompletedAt

func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption

ByCompletedAt orders the results by the completed_at field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByErrorCode

func ByErrorCode(opts ...sql.OrderTermOption) OrderOption

ByErrorCode orders the results by the error_code field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByResultBytes

func ByResultBytes(opts ...sql.OrderTermOption) OrderOption

ByResultBytes orders the results by the result_bytes 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 ByToolName

func ByToolName(opts ...sql.OrderTermOption) OrderOption

ByToolName orders the results by the tool_name field.

func ByTrustTier

func ByTrustTier(opts ...sql.OrderTermOption) OrderOption

ByTrustTier orders the results by the trust_tier field.

func ByTurnField

func ByTurnField(field string, opts ...sql.OrderTermOption) OrderOption

ByTurnField orders the results by turn field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL