Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MCPToolCall) predicate.MCPToolCall
- func ArgsJSONIsNil() predicate.MCPToolCall
- func ArgsJSONNotNil() predicate.MCPToolCall
- func CreatedAt(v time.Time) predicate.MCPToolCall
- func CreatedAtEQ(v time.Time) predicate.MCPToolCall
- func CreatedAtGT(v time.Time) predicate.MCPToolCall
- func CreatedAtGTE(v time.Time) predicate.MCPToolCall
- func CreatedAtIn(vs ...time.Time) predicate.MCPToolCall
- func CreatedAtLT(v time.Time) predicate.MCPToolCall
- func CreatedAtLTE(v time.Time) predicate.MCPToolCall
- func CreatedAtNEQ(v time.Time) predicate.MCPToolCall
- func CreatedAtNotIn(vs ...time.Time) predicate.MCPToolCall
- func ErrorMessage(v string) predicate.MCPToolCall
- func ErrorMessageContains(v string) predicate.MCPToolCall
- func ErrorMessageContainsFold(v string) predicate.MCPToolCall
- func ErrorMessageEQ(v string) predicate.MCPToolCall
- func ErrorMessageEqualFold(v string) predicate.MCPToolCall
- func ErrorMessageGT(v string) predicate.MCPToolCall
- func ErrorMessageGTE(v string) predicate.MCPToolCall
- func ErrorMessageHasPrefix(v string) predicate.MCPToolCall
- func ErrorMessageHasSuffix(v string) predicate.MCPToolCall
- func ErrorMessageIn(vs ...string) predicate.MCPToolCall
- func ErrorMessageLT(v string) predicate.MCPToolCall
- func ErrorMessageLTE(v string) predicate.MCPToolCall
- func ErrorMessageNEQ(v string) predicate.MCPToolCall
- func ErrorMessageNotIn(vs ...string) predicate.MCPToolCall
- func FinishedAt(v time.Time) predicate.MCPToolCall
- func FinishedAtEQ(v time.Time) predicate.MCPToolCall
- func FinishedAtGT(v time.Time) predicate.MCPToolCall
- func FinishedAtGTE(v time.Time) predicate.MCPToolCall
- func FinishedAtIn(vs ...time.Time) predicate.MCPToolCall
- func FinishedAtIsNil() predicate.MCPToolCall
- func FinishedAtLT(v time.Time) predicate.MCPToolCall
- func FinishedAtLTE(v time.Time) predicate.MCPToolCall
- func FinishedAtNEQ(v time.Time) predicate.MCPToolCall
- func FinishedAtNotIn(vs ...time.Time) predicate.MCPToolCall
- func FinishedAtNotNil() predicate.MCPToolCall
- func HasTool() predicate.MCPToolCall
- func HasToolWith(preds ...predicate.MCPTool) predicate.MCPToolCall
- func HasUpstream() predicate.MCPToolCall
- func HasUpstreamWith(preds ...predicate.MCPUpstream) predicate.MCPToolCall
- func ID(id uuid.UUID) predicate.MCPToolCall
- func IDEQ(id uuid.UUID) predicate.MCPToolCall
- func IDGT(id uuid.UUID) predicate.MCPToolCall
- func IDGTE(id uuid.UUID) predicate.MCPToolCall
- func IDIn(ids ...uuid.UUID) predicate.MCPToolCall
- func IDLT(id uuid.UUID) predicate.MCPToolCall
- func IDLTE(id uuid.UUID) predicate.MCPToolCall
- func IDNEQ(id uuid.UUID) predicate.MCPToolCall
- func IDNotIn(ids ...uuid.UUID) predicate.MCPToolCall
- func Not(p predicate.MCPToolCall) predicate.MCPToolCall
- func Or(predicates ...predicate.MCPToolCall) predicate.MCPToolCall
- func PriceSnapshot(v int64) predicate.MCPToolCall
- func PriceSnapshotEQ(v int64) predicate.MCPToolCall
- func PriceSnapshotGT(v int64) predicate.MCPToolCall
- func PriceSnapshotGTE(v int64) predicate.MCPToolCall
- func PriceSnapshotIn(vs ...int64) predicate.MCPToolCall
- func PriceSnapshotLT(v int64) predicate.MCPToolCall
- func PriceSnapshotLTE(v int64) predicate.MCPToolCall
- func PriceSnapshotNEQ(v int64) predicate.MCPToolCall
- func PriceSnapshotNotIn(vs ...int64) predicate.MCPToolCall
- func RequestID(v string) predicate.MCPToolCall
- func RequestIDContains(v string) predicate.MCPToolCall
- func RequestIDContainsFold(v string) predicate.MCPToolCall
- func RequestIDEQ(v string) predicate.MCPToolCall
- func RequestIDEqualFold(v string) predicate.MCPToolCall
- func RequestIDGT(v string) predicate.MCPToolCall
- func RequestIDGTE(v string) predicate.MCPToolCall
- func RequestIDHasPrefix(v string) predicate.MCPToolCall
- func RequestIDHasSuffix(v string) predicate.MCPToolCall
- func RequestIDIn(vs ...string) predicate.MCPToolCall
- func RequestIDLT(v string) predicate.MCPToolCall
- func RequestIDLTE(v string) predicate.MCPToolCall
- func RequestIDNEQ(v string) predicate.MCPToolCall
- func RequestIDNotIn(vs ...string) predicate.MCPToolCall
- func ResultJSONIsNil() predicate.MCPToolCall
- func ResultJSONNotNil() predicate.MCPToolCall
- func StartedAt(v time.Time) predicate.MCPToolCall
- func StartedAtEQ(v time.Time) predicate.MCPToolCall
- func StartedAtGT(v time.Time) predicate.MCPToolCall
- func StartedAtGTE(v time.Time) predicate.MCPToolCall
- func StartedAtIn(vs ...time.Time) predicate.MCPToolCall
- func StartedAtLT(v time.Time) predicate.MCPToolCall
- func StartedAtLTE(v time.Time) predicate.MCPToolCall
- func StartedAtNEQ(v time.Time) predicate.MCPToolCall
- func StartedAtNotIn(vs ...time.Time) predicate.MCPToolCall
- func StatusEQ(v Status) predicate.MCPToolCall
- func StatusIn(vs ...Status) predicate.MCPToolCall
- func StatusNEQ(v Status) predicate.MCPToolCall
- func StatusNotIn(vs ...Status) predicate.MCPToolCall
- func StatusValidator(s Status) error
- func TaskID(v uuid.UUID) predicate.MCPToolCall
- func TaskIDEQ(v uuid.UUID) predicate.MCPToolCall
- func TaskIDGT(v uuid.UUID) predicate.MCPToolCall
- func TaskIDGTE(v uuid.UUID) predicate.MCPToolCall
- func TaskIDIn(vs ...uuid.UUID) predicate.MCPToolCall
- func TaskIDLT(v uuid.UUID) predicate.MCPToolCall
- func TaskIDLTE(v uuid.UUID) predicate.MCPToolCall
- func TaskIDNEQ(v uuid.UUID) predicate.MCPToolCall
- func TaskIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
- func ToolID(v uuid.UUID) predicate.MCPToolCall
- func ToolIDEQ(v uuid.UUID) predicate.MCPToolCall
- func ToolIDIn(vs ...uuid.UUID) predicate.MCPToolCall
- func ToolIDNEQ(v uuid.UUID) predicate.MCPToolCall
- func ToolIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
- func ToolNameSnapshot(v string) predicate.MCPToolCall
- func ToolNameSnapshotContains(v string) predicate.MCPToolCall
- func ToolNameSnapshotContainsFold(v string) predicate.MCPToolCall
- func ToolNameSnapshotEQ(v string) predicate.MCPToolCall
- func ToolNameSnapshotEqualFold(v string) predicate.MCPToolCall
- func ToolNameSnapshotGT(v string) predicate.MCPToolCall
- func ToolNameSnapshotGTE(v string) predicate.MCPToolCall
- func ToolNameSnapshotHasPrefix(v string) predicate.MCPToolCall
- func ToolNameSnapshotHasSuffix(v string) predicate.MCPToolCall
- func ToolNameSnapshotIn(vs ...string) predicate.MCPToolCall
- func ToolNameSnapshotLT(v string) predicate.MCPToolCall
- func ToolNameSnapshotLTE(v string) predicate.MCPToolCall
- func ToolNameSnapshotNEQ(v string) predicate.MCPToolCall
- func ToolNameSnapshotNotIn(vs ...string) predicate.MCPToolCall
- func ToolScopeSnapshotEQ(v ToolScopeSnapshot) predicate.MCPToolCall
- func ToolScopeSnapshotIn(vs ...ToolScopeSnapshot) predicate.MCPToolCall
- func ToolScopeSnapshotNEQ(v ToolScopeSnapshot) predicate.MCPToolCall
- func ToolScopeSnapshotNotIn(vs ...ToolScopeSnapshot) predicate.MCPToolCall
- func ToolScopeSnapshotValidator(tss ToolScopeSnapshot) error
- func UpdatedAt(v time.Time) predicate.MCPToolCall
- func UpdatedAtEQ(v time.Time) predicate.MCPToolCall
- func UpdatedAtGT(v time.Time) predicate.MCPToolCall
- func UpdatedAtGTE(v time.Time) predicate.MCPToolCall
- func UpdatedAtIn(vs ...time.Time) predicate.MCPToolCall
- func UpdatedAtLT(v time.Time) predicate.MCPToolCall
- func UpdatedAtLTE(v time.Time) predicate.MCPToolCall
- func UpdatedAtNEQ(v time.Time) predicate.MCPToolCall
- func UpdatedAtNotIn(vs ...time.Time) predicate.MCPToolCall
- func UpstreamID(v uuid.UUID) predicate.MCPToolCall
- func UpstreamIDEQ(v uuid.UUID) predicate.MCPToolCall
- func UpstreamIDIn(vs ...uuid.UUID) predicate.MCPToolCall
- func UpstreamIDNEQ(v uuid.UUID) predicate.MCPToolCall
- func UpstreamIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
- func UpstreamRequestID(v string) predicate.MCPToolCall
- func UpstreamRequestIDContains(v string) predicate.MCPToolCall
- func UpstreamRequestIDContainsFold(v string) predicate.MCPToolCall
- func UpstreamRequestIDEQ(v string) predicate.MCPToolCall
- func UpstreamRequestIDEqualFold(v string) predicate.MCPToolCall
- func UpstreamRequestIDGT(v string) predicate.MCPToolCall
- func UpstreamRequestIDGTE(v string) predicate.MCPToolCall
- func UpstreamRequestIDHasPrefix(v string) predicate.MCPToolCall
- func UpstreamRequestIDHasSuffix(v string) predicate.MCPToolCall
- func UpstreamRequestIDIn(vs ...string) predicate.MCPToolCall
- func UpstreamRequestIDIsNil() predicate.MCPToolCall
- func UpstreamRequestIDLT(v string) predicate.MCPToolCall
- func UpstreamRequestIDLTE(v string) predicate.MCPToolCall
- func UpstreamRequestIDNEQ(v string) predicate.MCPToolCall
- func UpstreamRequestIDNotIn(vs ...string) predicate.MCPToolCall
- func UpstreamRequestIDNotNil() predicate.MCPToolCall
- func UserID(v uuid.UUID) predicate.MCPToolCall
- func UserIDEQ(v uuid.UUID) predicate.MCPToolCall
- func UserIDGT(v uuid.UUID) predicate.MCPToolCall
- func UserIDGTE(v uuid.UUID) predicate.MCPToolCall
- func UserIDIn(vs ...uuid.UUID) predicate.MCPToolCall
- func UserIDLT(v uuid.UUID) predicate.MCPToolCall
- func UserIDLTE(v uuid.UUID) predicate.MCPToolCall
- func UserIDNEQ(v uuid.UUID) predicate.MCPToolCall
- func UserIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByFinishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPriceSnapshot(opts ...sql.OrderTermOption) OrderOption
- func ByRequestID(opts ...sql.OrderTermOption) OrderOption
- func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTaskID(opts ...sql.OrderTermOption) OrderOption
- func ByToolField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByToolID(opts ...sql.OrderTermOption) OrderOption
- func ByToolNameSnapshot(opts ...sql.OrderTermOption) OrderOption
- func ByToolScopeSnapshot(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpstreamField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUpstreamID(opts ...sql.OrderTermOption) OrderOption
- func ByUpstreamRequestID(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- type Status
- type ToolScopeSnapshot
Constants ¶
const ( // Label holds the string label denoting the mcptoolcall type in the database. Label = "mcp_tool_call" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldRequestID holds the string denoting the request_id field in the database. FieldRequestID = "request_id" // FieldTaskID holds the string denoting the task_id field in the database. FieldTaskID = "task_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldUpstreamID holds the string denoting the upstream_id field in the database. FieldUpstreamID = "upstream_id" // FieldToolID holds the string denoting the tool_id field in the database. FieldToolID = "tool_id" // FieldToolNameSnapshot holds the string denoting the tool_name_snapshot field in the database. FieldToolNameSnapshot = "tool_name_snapshot" // FieldToolScopeSnapshot holds the string denoting the tool_scope_snapshot field in the database. FieldToolScopeSnapshot = "tool_scope_snapshot" // FieldPriceSnapshot holds the string denoting the price_snapshot field in the database. FieldPriceSnapshot = "price_snapshot" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldArgsJSON holds the string denoting the args_json field in the database. FieldArgsJSON = "args_json" // FieldResultJSON holds the string denoting the result_json field in the database. FieldResultJSON = "result_json" // FieldErrorMessage holds the string denoting the error_message field in the database. FieldErrorMessage = "error_message" // FieldUpstreamRequestID holds the string denoting the upstream_request_id field in the database. FieldUpstreamRequestID = "upstream_request_id" // FieldStartedAt holds the string denoting the started_at field in the database. FieldStartedAt = "started_at" // FieldFinishedAt holds the string denoting the finished_at field in the database. FieldFinishedAt = "finished_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" // EdgeUpstream holds the string denoting the upstream edge name in mutations. EdgeUpstream = "upstream" // EdgeTool holds the string denoting the tool edge name in mutations. EdgeTool = "tool" // Table holds the table name of the mcptoolcall in the database. Table = "mcp_tool_calls" // UpstreamTable is the table that holds the upstream relation/edge. UpstreamTable = "mcp_tool_calls" // UpstreamInverseTable is the table name for the MCPUpstream entity. // It exists in this package in order to avoid circular dependency with the "mcpupstream" package. UpstreamInverseTable = "mcp_upstreams" // UpstreamColumn is the table column denoting the upstream relation/edge. UpstreamColumn = "upstream_id" // ToolTable is the table that holds the tool relation/edge. ToolTable = "mcp_tool_calls" // ToolInverseTable is the table name for the MCPTool entity. // It exists in this package in order to avoid circular dependency with the "mcptool" package. ToolInverseTable = "mcp_tools" // ToolColumn is the table column denoting the tool relation/edge. ToolColumn = "tool_id" )
const DefaultStatus = StatusPending
StatusPending is the default value of the Status enum.
const DefaultToolScopeSnapshot = ToolScopeSnapshotPlatform
ToolScopeSnapshotPlatform is the default value of the ToolScopeSnapshot enum.
Variables ¶
var ( // RequestIDValidator is a validator for the "request_id" field. It is called by the builders before save. RequestIDValidator func(string) error // ToolNameSnapshotValidator is a validator for the "tool_name_snapshot" field. It is called by the builders before save. ToolNameSnapshotValidator func(string) error // DefaultPriceSnapshot holds the default value on creation for the "price_snapshot" field. DefaultPriceSnapshot int64 // DefaultErrorMessage holds the default value on creation for the "error_message" field. DefaultErrorMessage string // UpstreamRequestIDValidator is a validator for the "upstream_request_id" field. It is called by the builders before save. UpstreamRequestIDValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldRequestID, FieldTaskID, FieldUserID, FieldUpstreamID, FieldToolID, FieldToolNameSnapshot, FieldToolScopeSnapshot, FieldPriceSnapshot, FieldStatus, FieldArgsJSON, FieldResultJSON, FieldErrorMessage, FieldUpstreamRequestID, FieldStartedAt, FieldFinishedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for mcptoolcall fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MCPToolCall) predicate.MCPToolCall
And groups predicates with the AND operator between them.
func ArgsJSONIsNil ¶
func ArgsJSONIsNil() predicate.MCPToolCall
ArgsJSONIsNil applies the IsNil predicate on the "args_json" field.
func ArgsJSONNotNil ¶
func ArgsJSONNotNil() predicate.MCPToolCall
ArgsJSONNotNil applies the NotNil predicate on the "args_json" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MCPToolCall
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MCPToolCall
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MCPToolCall
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MCPToolCall
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MCPToolCall
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MCPToolCall
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MCPToolCall
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MCPToolCall
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MCPToolCall
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ErrorMessage ¶
func ErrorMessage(v string) predicate.MCPToolCall
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶
func ErrorMessageContains(v string) predicate.MCPToolCall
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶
func ErrorMessageContainsFold(v string) predicate.MCPToolCall
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶
func ErrorMessageEQ(v string) predicate.MCPToolCall
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶
func ErrorMessageEqualFold(v string) predicate.MCPToolCall
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶
func ErrorMessageGT(v string) predicate.MCPToolCall
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶
func ErrorMessageGTE(v string) predicate.MCPToolCall
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶
func ErrorMessageHasPrefix(v string) predicate.MCPToolCall
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶
func ErrorMessageHasSuffix(v string) predicate.MCPToolCall
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶
func ErrorMessageIn(vs ...string) predicate.MCPToolCall
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageLT ¶
func ErrorMessageLT(v string) predicate.MCPToolCall
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶
func ErrorMessageLTE(v string) predicate.MCPToolCall
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶
func ErrorMessageNEQ(v string) predicate.MCPToolCall
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶
func ErrorMessageNotIn(vs ...string) predicate.MCPToolCall
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func FinishedAt ¶
func FinishedAt(v time.Time) predicate.MCPToolCall
FinishedAt applies equality check predicate on the "finished_at" field. It's identical to FinishedAtEQ.
func FinishedAtEQ ¶
func FinishedAtEQ(v time.Time) predicate.MCPToolCall
FinishedAtEQ applies the EQ predicate on the "finished_at" field.
func FinishedAtGT ¶
func FinishedAtGT(v time.Time) predicate.MCPToolCall
FinishedAtGT applies the GT predicate on the "finished_at" field.
func FinishedAtGTE ¶
func FinishedAtGTE(v time.Time) predicate.MCPToolCall
FinishedAtGTE applies the GTE predicate on the "finished_at" field.
func FinishedAtIn ¶
func FinishedAtIn(vs ...time.Time) predicate.MCPToolCall
FinishedAtIn applies the In predicate on the "finished_at" field.
func FinishedAtIsNil ¶
func FinishedAtIsNil() predicate.MCPToolCall
FinishedAtIsNil applies the IsNil predicate on the "finished_at" field.
func FinishedAtLT ¶
func FinishedAtLT(v time.Time) predicate.MCPToolCall
FinishedAtLT applies the LT predicate on the "finished_at" field.
func FinishedAtLTE ¶
func FinishedAtLTE(v time.Time) predicate.MCPToolCall
FinishedAtLTE applies the LTE predicate on the "finished_at" field.
func FinishedAtNEQ ¶
func FinishedAtNEQ(v time.Time) predicate.MCPToolCall
FinishedAtNEQ applies the NEQ predicate on the "finished_at" field.
func FinishedAtNotIn ¶
func FinishedAtNotIn(vs ...time.Time) predicate.MCPToolCall
FinishedAtNotIn applies the NotIn predicate on the "finished_at" field.
func FinishedAtNotNil ¶
func FinishedAtNotNil() predicate.MCPToolCall
FinishedAtNotNil applies the NotNil predicate on the "finished_at" field.
func HasTool ¶
func HasTool() predicate.MCPToolCall
HasTool applies the HasEdge predicate on the "tool" edge.
func HasToolWith ¶
func HasToolWith(preds ...predicate.MCPTool) predicate.MCPToolCall
HasToolWith applies the HasEdge predicate on the "tool" edge with a given conditions (other predicates).
func HasUpstream ¶
func HasUpstream() predicate.MCPToolCall
HasUpstream applies the HasEdge predicate on the "upstream" edge.
func HasUpstreamWith ¶
func HasUpstreamWith(preds ...predicate.MCPUpstream) predicate.MCPToolCall
HasUpstreamWith applies the HasEdge predicate on the "upstream" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.MCPToolCall
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.MCPToolCall
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.MCPToolCall
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.MCPToolCall
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.MCPToolCall
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.MCPToolCall
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.MCPToolCall
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.MCPToolCall
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.MCPToolCall) predicate.MCPToolCall
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MCPToolCall) predicate.MCPToolCall
Or groups predicates with the OR operator between them.
func PriceSnapshot ¶
func PriceSnapshot(v int64) predicate.MCPToolCall
PriceSnapshot applies equality check predicate on the "price_snapshot" field. It's identical to PriceSnapshotEQ.
func PriceSnapshotEQ ¶
func PriceSnapshotEQ(v int64) predicate.MCPToolCall
PriceSnapshotEQ applies the EQ predicate on the "price_snapshot" field.
func PriceSnapshotGT ¶
func PriceSnapshotGT(v int64) predicate.MCPToolCall
PriceSnapshotGT applies the GT predicate on the "price_snapshot" field.
func PriceSnapshotGTE ¶
func PriceSnapshotGTE(v int64) predicate.MCPToolCall
PriceSnapshotGTE applies the GTE predicate on the "price_snapshot" field.
func PriceSnapshotIn ¶
func PriceSnapshotIn(vs ...int64) predicate.MCPToolCall
PriceSnapshotIn applies the In predicate on the "price_snapshot" field.
func PriceSnapshotLT ¶
func PriceSnapshotLT(v int64) predicate.MCPToolCall
PriceSnapshotLT applies the LT predicate on the "price_snapshot" field.
func PriceSnapshotLTE ¶
func PriceSnapshotLTE(v int64) predicate.MCPToolCall
PriceSnapshotLTE applies the LTE predicate on the "price_snapshot" field.
func PriceSnapshotNEQ ¶
func PriceSnapshotNEQ(v int64) predicate.MCPToolCall
PriceSnapshotNEQ applies the NEQ predicate on the "price_snapshot" field.
func PriceSnapshotNotIn ¶
func PriceSnapshotNotIn(vs ...int64) predicate.MCPToolCall
PriceSnapshotNotIn applies the NotIn predicate on the "price_snapshot" field.
func RequestID ¶
func RequestID(v string) predicate.MCPToolCall
RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.
func RequestIDContains ¶
func RequestIDContains(v string) predicate.MCPToolCall
RequestIDContains applies the Contains predicate on the "request_id" field.
func RequestIDContainsFold ¶
func RequestIDContainsFold(v string) predicate.MCPToolCall
RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.
func RequestIDEQ ¶
func RequestIDEQ(v string) predicate.MCPToolCall
RequestIDEQ applies the EQ predicate on the "request_id" field.
func RequestIDEqualFold ¶
func RequestIDEqualFold(v string) predicate.MCPToolCall
RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.
func RequestIDGT ¶
func RequestIDGT(v string) predicate.MCPToolCall
RequestIDGT applies the GT predicate on the "request_id" field.
func RequestIDGTE ¶
func RequestIDGTE(v string) predicate.MCPToolCall
RequestIDGTE applies the GTE predicate on the "request_id" field.
func RequestIDHasPrefix ¶
func RequestIDHasPrefix(v string) predicate.MCPToolCall
RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.
func RequestIDHasSuffix ¶
func RequestIDHasSuffix(v string) predicate.MCPToolCall
RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.
func RequestIDIn ¶
func RequestIDIn(vs ...string) predicate.MCPToolCall
RequestIDIn applies the In predicate on the "request_id" field.
func RequestIDLT ¶
func RequestIDLT(v string) predicate.MCPToolCall
RequestIDLT applies the LT predicate on the "request_id" field.
func RequestIDLTE ¶
func RequestIDLTE(v string) predicate.MCPToolCall
RequestIDLTE applies the LTE predicate on the "request_id" field.
func RequestIDNEQ ¶
func RequestIDNEQ(v string) predicate.MCPToolCall
RequestIDNEQ applies the NEQ predicate on the "request_id" field.
func RequestIDNotIn ¶
func RequestIDNotIn(vs ...string) predicate.MCPToolCall
RequestIDNotIn applies the NotIn predicate on the "request_id" field.
func ResultJSONIsNil ¶
func ResultJSONIsNil() predicate.MCPToolCall
ResultJSONIsNil applies the IsNil predicate on the "result_json" field.
func ResultJSONNotNil ¶
func ResultJSONNotNil() predicate.MCPToolCall
ResultJSONNotNil applies the NotNil predicate on the "result_json" field.
func StartedAt ¶
func StartedAt(v time.Time) predicate.MCPToolCall
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
func StartedAtEQ(v time.Time) predicate.MCPToolCall
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
func StartedAtGT(v time.Time) predicate.MCPToolCall
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
func StartedAtGTE(v time.Time) predicate.MCPToolCall
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
func StartedAtIn(vs ...time.Time) predicate.MCPToolCall
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtLT ¶
func StartedAtLT(v time.Time) predicate.MCPToolCall
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
func StartedAtLTE(v time.Time) predicate.MCPToolCall
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
func StartedAtNEQ(v time.Time) predicate.MCPToolCall
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
func StartedAtNotIn(vs ...time.Time) predicate.MCPToolCall
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.MCPToolCall
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.MCPToolCall
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.MCPToolCall
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.MCPToolCall
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TaskID ¶
func TaskID(v uuid.UUID) predicate.MCPToolCall
TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
func TaskIDEQ ¶
func TaskIDEQ(v uuid.UUID) predicate.MCPToolCall
TaskIDEQ applies the EQ predicate on the "task_id" field.
func TaskIDGT ¶
func TaskIDGT(v uuid.UUID) predicate.MCPToolCall
TaskIDGT applies the GT predicate on the "task_id" field.
func TaskIDGTE ¶
func TaskIDGTE(v uuid.UUID) predicate.MCPToolCall
TaskIDGTE applies the GTE predicate on the "task_id" field.
func TaskIDIn ¶
func TaskIDIn(vs ...uuid.UUID) predicate.MCPToolCall
TaskIDIn applies the In predicate on the "task_id" field.
func TaskIDLT ¶
func TaskIDLT(v uuid.UUID) predicate.MCPToolCall
TaskIDLT applies the LT predicate on the "task_id" field.
func TaskIDLTE ¶
func TaskIDLTE(v uuid.UUID) predicate.MCPToolCall
TaskIDLTE applies the LTE predicate on the "task_id" field.
func TaskIDNEQ ¶
func TaskIDNEQ(v uuid.UUID) predicate.MCPToolCall
TaskIDNEQ applies the NEQ predicate on the "task_id" field.
func TaskIDNotIn ¶
func TaskIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
TaskIDNotIn applies the NotIn predicate on the "task_id" field.
func ToolID ¶
func ToolID(v uuid.UUID) predicate.MCPToolCall
ToolID applies equality check predicate on the "tool_id" field. It's identical to ToolIDEQ.
func ToolIDEQ ¶
func ToolIDEQ(v uuid.UUID) predicate.MCPToolCall
ToolIDEQ applies the EQ predicate on the "tool_id" field.
func ToolIDIn ¶
func ToolIDIn(vs ...uuid.UUID) predicate.MCPToolCall
ToolIDIn applies the In predicate on the "tool_id" field.
func ToolIDNEQ ¶
func ToolIDNEQ(v uuid.UUID) predicate.MCPToolCall
ToolIDNEQ applies the NEQ predicate on the "tool_id" field.
func ToolIDNotIn ¶
func ToolIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
ToolIDNotIn applies the NotIn predicate on the "tool_id" field.
func ToolNameSnapshot ¶
func ToolNameSnapshot(v string) predicate.MCPToolCall
ToolNameSnapshot applies equality check predicate on the "tool_name_snapshot" field. It's identical to ToolNameSnapshotEQ.
func ToolNameSnapshotContains ¶
func ToolNameSnapshotContains(v string) predicate.MCPToolCall
ToolNameSnapshotContains applies the Contains predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotContainsFold ¶
func ToolNameSnapshotContainsFold(v string) predicate.MCPToolCall
ToolNameSnapshotContainsFold applies the ContainsFold predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotEQ ¶
func ToolNameSnapshotEQ(v string) predicate.MCPToolCall
ToolNameSnapshotEQ applies the EQ predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotEqualFold ¶
func ToolNameSnapshotEqualFold(v string) predicate.MCPToolCall
ToolNameSnapshotEqualFold applies the EqualFold predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotGT ¶
func ToolNameSnapshotGT(v string) predicate.MCPToolCall
ToolNameSnapshotGT applies the GT predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotGTE ¶
func ToolNameSnapshotGTE(v string) predicate.MCPToolCall
ToolNameSnapshotGTE applies the GTE predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotHasPrefix ¶
func ToolNameSnapshotHasPrefix(v string) predicate.MCPToolCall
ToolNameSnapshotHasPrefix applies the HasPrefix predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotHasSuffix ¶
func ToolNameSnapshotHasSuffix(v string) predicate.MCPToolCall
ToolNameSnapshotHasSuffix applies the HasSuffix predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotIn ¶
func ToolNameSnapshotIn(vs ...string) predicate.MCPToolCall
ToolNameSnapshotIn applies the In predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotLT ¶
func ToolNameSnapshotLT(v string) predicate.MCPToolCall
ToolNameSnapshotLT applies the LT predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotLTE ¶
func ToolNameSnapshotLTE(v string) predicate.MCPToolCall
ToolNameSnapshotLTE applies the LTE predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotNEQ ¶
func ToolNameSnapshotNEQ(v string) predicate.MCPToolCall
ToolNameSnapshotNEQ applies the NEQ predicate on the "tool_name_snapshot" field.
func ToolNameSnapshotNotIn ¶
func ToolNameSnapshotNotIn(vs ...string) predicate.MCPToolCall
ToolNameSnapshotNotIn applies the NotIn predicate on the "tool_name_snapshot" field.
func ToolScopeSnapshotEQ ¶
func ToolScopeSnapshotEQ(v ToolScopeSnapshot) predicate.MCPToolCall
ToolScopeSnapshotEQ applies the EQ predicate on the "tool_scope_snapshot" field.
func ToolScopeSnapshotIn ¶
func ToolScopeSnapshotIn(vs ...ToolScopeSnapshot) predicate.MCPToolCall
ToolScopeSnapshotIn applies the In predicate on the "tool_scope_snapshot" field.
func ToolScopeSnapshotNEQ ¶
func ToolScopeSnapshotNEQ(v ToolScopeSnapshot) predicate.MCPToolCall
ToolScopeSnapshotNEQ applies the NEQ predicate on the "tool_scope_snapshot" field.
func ToolScopeSnapshotNotIn ¶
func ToolScopeSnapshotNotIn(vs ...ToolScopeSnapshot) predicate.MCPToolCall
ToolScopeSnapshotNotIn applies the NotIn predicate on the "tool_scope_snapshot" field.
func ToolScopeSnapshotValidator ¶
func ToolScopeSnapshotValidator(tss ToolScopeSnapshot) error
ToolScopeSnapshotValidator is a validator for the "tool_scope_snapshot" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MCPToolCall
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MCPToolCall
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MCPToolCall
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MCPToolCall
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MCPToolCall
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MCPToolCall
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MCPToolCall
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MCPToolCall
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MCPToolCall
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpstreamID ¶
func UpstreamID(v uuid.UUID) predicate.MCPToolCall
UpstreamID applies equality check predicate on the "upstream_id" field. It's identical to UpstreamIDEQ.
func UpstreamIDEQ ¶
func UpstreamIDEQ(v uuid.UUID) predicate.MCPToolCall
UpstreamIDEQ applies the EQ predicate on the "upstream_id" field.
func UpstreamIDIn ¶
func UpstreamIDIn(vs ...uuid.UUID) predicate.MCPToolCall
UpstreamIDIn applies the In predicate on the "upstream_id" field.
func UpstreamIDNEQ ¶
func UpstreamIDNEQ(v uuid.UUID) predicate.MCPToolCall
UpstreamIDNEQ applies the NEQ predicate on the "upstream_id" field.
func UpstreamIDNotIn ¶
func UpstreamIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
UpstreamIDNotIn applies the NotIn predicate on the "upstream_id" field.
func UpstreamRequestID ¶
func UpstreamRequestID(v string) predicate.MCPToolCall
UpstreamRequestID applies equality check predicate on the "upstream_request_id" field. It's identical to UpstreamRequestIDEQ.
func UpstreamRequestIDContains ¶
func UpstreamRequestIDContains(v string) predicate.MCPToolCall
UpstreamRequestIDContains applies the Contains predicate on the "upstream_request_id" field.
func UpstreamRequestIDContainsFold ¶
func UpstreamRequestIDContainsFold(v string) predicate.MCPToolCall
UpstreamRequestIDContainsFold applies the ContainsFold predicate on the "upstream_request_id" field.
func UpstreamRequestIDEQ ¶
func UpstreamRequestIDEQ(v string) predicate.MCPToolCall
UpstreamRequestIDEQ applies the EQ predicate on the "upstream_request_id" field.
func UpstreamRequestIDEqualFold ¶
func UpstreamRequestIDEqualFold(v string) predicate.MCPToolCall
UpstreamRequestIDEqualFold applies the EqualFold predicate on the "upstream_request_id" field.
func UpstreamRequestIDGT ¶
func UpstreamRequestIDGT(v string) predicate.MCPToolCall
UpstreamRequestIDGT applies the GT predicate on the "upstream_request_id" field.
func UpstreamRequestIDGTE ¶
func UpstreamRequestIDGTE(v string) predicate.MCPToolCall
UpstreamRequestIDGTE applies the GTE predicate on the "upstream_request_id" field.
func UpstreamRequestIDHasPrefix ¶
func UpstreamRequestIDHasPrefix(v string) predicate.MCPToolCall
UpstreamRequestIDHasPrefix applies the HasPrefix predicate on the "upstream_request_id" field.
func UpstreamRequestIDHasSuffix ¶
func UpstreamRequestIDHasSuffix(v string) predicate.MCPToolCall
UpstreamRequestIDHasSuffix applies the HasSuffix predicate on the "upstream_request_id" field.
func UpstreamRequestIDIn ¶
func UpstreamRequestIDIn(vs ...string) predicate.MCPToolCall
UpstreamRequestIDIn applies the In predicate on the "upstream_request_id" field.
func UpstreamRequestIDIsNil ¶
func UpstreamRequestIDIsNil() predicate.MCPToolCall
UpstreamRequestIDIsNil applies the IsNil predicate on the "upstream_request_id" field.
func UpstreamRequestIDLT ¶
func UpstreamRequestIDLT(v string) predicate.MCPToolCall
UpstreamRequestIDLT applies the LT predicate on the "upstream_request_id" field.
func UpstreamRequestIDLTE ¶
func UpstreamRequestIDLTE(v string) predicate.MCPToolCall
UpstreamRequestIDLTE applies the LTE predicate on the "upstream_request_id" field.
func UpstreamRequestIDNEQ ¶
func UpstreamRequestIDNEQ(v string) predicate.MCPToolCall
UpstreamRequestIDNEQ applies the NEQ predicate on the "upstream_request_id" field.
func UpstreamRequestIDNotIn ¶
func UpstreamRequestIDNotIn(vs ...string) predicate.MCPToolCall
UpstreamRequestIDNotIn applies the NotIn predicate on the "upstream_request_id" field.
func UpstreamRequestIDNotNil ¶
func UpstreamRequestIDNotNil() predicate.MCPToolCall
UpstreamRequestIDNotNil applies the NotNil predicate on the "upstream_request_id" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.MCPToolCall
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.MCPToolCall
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v uuid.UUID) predicate.MCPToolCall
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v uuid.UUID) predicate.MCPToolCall
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.MCPToolCall
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v uuid.UUID) predicate.MCPToolCall
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v uuid.UUID) predicate.MCPToolCall
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.MCPToolCall
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.MCPToolCall
UserIDNotIn applies the NotIn predicate on the "user_id" 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 MCPToolCall queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByErrorMessage ¶
func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
ByErrorMessage orders the results by the error_message field.
func ByFinishedAt ¶
func ByFinishedAt(opts ...sql.OrderTermOption) OrderOption
ByFinishedAt orders the results by the finished_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPriceSnapshot ¶
func ByPriceSnapshot(opts ...sql.OrderTermOption) OrderOption
ByPriceSnapshot orders the results by the price_snapshot field.
func ByRequestID ¶
func ByRequestID(opts ...sql.OrderTermOption) OrderOption
ByRequestID orders the results by the request_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 ByTaskID ¶
func ByTaskID(opts ...sql.OrderTermOption) OrderOption
ByTaskID orders the results by the task_id field.
func ByToolField ¶
func ByToolField(field string, opts ...sql.OrderTermOption) OrderOption
ByToolField orders the results by tool field.
func ByToolID ¶
func ByToolID(opts ...sql.OrderTermOption) OrderOption
ByToolID orders the results by the tool_id field.
func ByToolNameSnapshot ¶
func ByToolNameSnapshot(opts ...sql.OrderTermOption) OrderOption
ByToolNameSnapshot orders the results by the tool_name_snapshot field.
func ByToolScopeSnapshot ¶
func ByToolScopeSnapshot(opts ...sql.OrderTermOption) OrderOption
ByToolScopeSnapshot orders the results by the tool_scope_snapshot field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpstreamField ¶
func ByUpstreamField(field string, opts ...sql.OrderTermOption) OrderOption
ByUpstreamField orders the results by upstream field.
func ByUpstreamID ¶
func ByUpstreamID(opts ...sql.OrderTermOption) OrderOption
ByUpstreamID orders the results by the upstream_id field.
func ByUpstreamRequestID ¶
func ByUpstreamRequestID(opts ...sql.OrderTermOption) OrderOption
ByUpstreamRequestID orders the results by the upstream_request_id field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
type Status ¶
type Status string
Status defines the type for the "status" enum field.
type ToolScopeSnapshot ¶
type ToolScopeSnapshot string
ToolScopeSnapshot defines the type for the "tool_scope_snapshot" enum field.
const ( ToolScopeSnapshotPlatform ToolScopeSnapshot = "platform" ToolScopeSnapshotUser ToolScopeSnapshot = "user" ToolScopeSnapshotTeam ToolScopeSnapshot = "team" )
ToolScopeSnapshot values.
func (ToolScopeSnapshot) String ¶
func (tss ToolScopeSnapshot) String() string