Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RequestExecution) predicate.RequestExecution
- func ChannelID(v int) predicate.RequestExecution
- func ChannelIDEQ(v int) predicate.RequestExecution
- func ChannelIDIn(vs ...int) predicate.RequestExecution
- func ChannelIDIsNil() predicate.RequestExecution
- func ChannelIDNEQ(v int) predicate.RequestExecution
- func ChannelIDNotIn(vs ...int) predicate.RequestExecution
- func ChannelIDNotNil() predicate.RequestExecution
- func CreatedAt(v time.Time) predicate.RequestExecution
- func CreatedAtEQ(v time.Time) predicate.RequestExecution
- func CreatedAtGT(v time.Time) predicate.RequestExecution
- func CreatedAtGTE(v time.Time) predicate.RequestExecution
- func CreatedAtIn(vs ...time.Time) predicate.RequestExecution
- func CreatedAtLT(v time.Time) predicate.RequestExecution
- func CreatedAtLTE(v time.Time) predicate.RequestExecution
- func CreatedAtNEQ(v time.Time) predicate.RequestExecution
- func CreatedAtNotIn(vs ...time.Time) predicate.RequestExecution
- func DataStorageID(v int) predicate.RequestExecution
- func DataStorageIDEQ(v int) predicate.RequestExecution
- func DataStorageIDIn(vs ...int) predicate.RequestExecution
- func DataStorageIDIsNil() predicate.RequestExecution
- func DataStorageIDNEQ(v int) predicate.RequestExecution
- func DataStorageIDNotIn(vs ...int) predicate.RequestExecution
- func DataStorageIDNotNil() predicate.RequestExecution
- func ErrorMessage(v string) predicate.RequestExecution
- func ErrorMessageContains(v string) predicate.RequestExecution
- func ErrorMessageContainsFold(v string) predicate.RequestExecution
- func ErrorMessageEQ(v string) predicate.RequestExecution
- func ErrorMessageEqualFold(v string) predicate.RequestExecution
- func ErrorMessageGT(v string) predicate.RequestExecution
- func ErrorMessageGTE(v string) predicate.RequestExecution
- func ErrorMessageHasPrefix(v string) predicate.RequestExecution
- func ErrorMessageHasSuffix(v string) predicate.RequestExecution
- func ErrorMessageIn(vs ...string) predicate.RequestExecution
- func ErrorMessageIsNil() predicate.RequestExecution
- func ErrorMessageLT(v string) predicate.RequestExecution
- func ErrorMessageLTE(v string) predicate.RequestExecution
- func ErrorMessageNEQ(v string) predicate.RequestExecution
- func ErrorMessageNotIn(vs ...string) predicate.RequestExecution
- func ErrorMessageNotNil() predicate.RequestExecution
- func ExternalID(v string) predicate.RequestExecution
- func ExternalIDContains(v string) predicate.RequestExecution
- func ExternalIDContainsFold(v string) predicate.RequestExecution
- func ExternalIDEQ(v string) predicate.RequestExecution
- func ExternalIDEqualFold(v string) predicate.RequestExecution
- func ExternalIDGT(v string) predicate.RequestExecution
- func ExternalIDGTE(v string) predicate.RequestExecution
- func ExternalIDHasPrefix(v string) predicate.RequestExecution
- func ExternalIDHasSuffix(v string) predicate.RequestExecution
- func ExternalIDIn(vs ...string) predicate.RequestExecution
- func ExternalIDIsNil() predicate.RequestExecution
- func ExternalIDLT(v string) predicate.RequestExecution
- func ExternalIDLTE(v string) predicate.RequestExecution
- func ExternalIDNEQ(v string) predicate.RequestExecution
- func ExternalIDNotIn(vs ...string) predicate.RequestExecution
- func ExternalIDNotNil() predicate.RequestExecution
- func Format(v string) predicate.RequestExecution
- func FormatContains(v string) predicate.RequestExecution
- func FormatContainsFold(v string) predicate.RequestExecution
- func FormatEQ(v string) predicate.RequestExecution
- func FormatEqualFold(v string) predicate.RequestExecution
- func FormatGT(v string) predicate.RequestExecution
- func FormatGTE(v string) predicate.RequestExecution
- func FormatHasPrefix(v string) predicate.RequestExecution
- func FormatHasSuffix(v string) predicate.RequestExecution
- func FormatIn(vs ...string) predicate.RequestExecution
- func FormatLT(v string) predicate.RequestExecution
- func FormatLTE(v string) predicate.RequestExecution
- func FormatNEQ(v string) predicate.RequestExecution
- func FormatNotIn(vs ...string) predicate.RequestExecution
- func HasChannel() predicate.RequestExecution
- func HasChannelWith(preds ...predicate.Channel) predicate.RequestExecution
- func HasDataStorage() predicate.RequestExecution
- func HasDataStorageWith(preds ...predicate.DataStorage) predicate.RequestExecution
- func HasRequest() predicate.RequestExecution
- func HasRequestWith(preds ...predicate.Request) predicate.RequestExecution
- func ID(id int) predicate.RequestExecution
- func IDEQ(id int) predicate.RequestExecution
- func IDGT(id int) predicate.RequestExecution
- func IDGTE(id int) predicate.RequestExecution
- func IDIn(ids ...int) predicate.RequestExecution
- func IDLT(id int) predicate.RequestExecution
- func IDLTE(id int) predicate.RequestExecution
- func IDNEQ(id int) predicate.RequestExecution
- func IDNotIn(ids ...int) predicate.RequestExecution
- func MetricsFirstTokenLatencyMs(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsEQ(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsGT(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsGTE(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsIn(vs ...int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsIsNil() predicate.RequestExecution
- func MetricsFirstTokenLatencyMsLT(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsLTE(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsNEQ(v int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsNotIn(vs ...int64) predicate.RequestExecution
- func MetricsFirstTokenLatencyMsNotNil() predicate.RequestExecution
- func MetricsLatencyMs(v int64) predicate.RequestExecution
- func MetricsLatencyMsEQ(v int64) predicate.RequestExecution
- func MetricsLatencyMsGT(v int64) predicate.RequestExecution
- func MetricsLatencyMsGTE(v int64) predicate.RequestExecution
- func MetricsLatencyMsIn(vs ...int64) predicate.RequestExecution
- func MetricsLatencyMsIsNil() predicate.RequestExecution
- func MetricsLatencyMsLT(v int64) predicate.RequestExecution
- func MetricsLatencyMsLTE(v int64) predicate.RequestExecution
- func MetricsLatencyMsNEQ(v int64) predicate.RequestExecution
- func MetricsLatencyMsNotIn(vs ...int64) predicate.RequestExecution
- func MetricsLatencyMsNotNil() predicate.RequestExecution
- func MetricsReasoningDurationMs(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsEQ(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsGT(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsGTE(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsIn(vs ...int64) predicate.RequestExecution
- func MetricsReasoningDurationMsIsNil() predicate.RequestExecution
- func MetricsReasoningDurationMsLT(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsLTE(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsNEQ(v int64) predicate.RequestExecution
- func MetricsReasoningDurationMsNotIn(vs ...int64) predicate.RequestExecution
- func MetricsReasoningDurationMsNotNil() predicate.RequestExecution
- func ModelID(v string) predicate.RequestExecution
- func ModelIDContains(v string) predicate.RequestExecution
- func ModelIDContainsFold(v string) predicate.RequestExecution
- func ModelIDEQ(v string) predicate.RequestExecution
- func ModelIDEqualFold(v string) predicate.RequestExecution
- func ModelIDGT(v string) predicate.RequestExecution
- func ModelIDGTE(v string) predicate.RequestExecution
- func ModelIDHasPrefix(v string) predicate.RequestExecution
- func ModelIDHasSuffix(v string) predicate.RequestExecution
- func ModelIDIn(vs ...string) predicate.RequestExecution
- func ModelIDLT(v string) predicate.RequestExecution
- func ModelIDLTE(v string) predicate.RequestExecution
- func ModelIDNEQ(v string) predicate.RequestExecution
- func ModelIDNotIn(vs ...string) predicate.RequestExecution
- func Not(p predicate.RequestExecution) predicate.RequestExecution
- func Or(predicates ...predicate.RequestExecution) predicate.RequestExecution
- func ProjectID(v int) predicate.RequestExecution
- func ProjectIDEQ(v int) predicate.RequestExecution
- func ProjectIDGT(v int) predicate.RequestExecution
- func ProjectIDGTE(v int) predicate.RequestExecution
- func ProjectIDIn(vs ...int) predicate.RequestExecution
- func ProjectIDLT(v int) predicate.RequestExecution
- func ProjectIDLTE(v int) predicate.RequestExecution
- func ProjectIDNEQ(v int) predicate.RequestExecution
- func ProjectIDNotIn(vs ...int) predicate.RequestExecution
- func RequestHeadersIsNil() predicate.RequestExecution
- func RequestHeadersNotNil() predicate.RequestExecution
- func RequestID(v int) predicate.RequestExecution
- func RequestIDEQ(v int) predicate.RequestExecution
- func RequestIDIn(vs ...int) predicate.RequestExecution
- func RequestIDNEQ(v int) predicate.RequestExecution
- func RequestIDNotIn(vs ...int) predicate.RequestExecution
- func ResponseBodyIsNil() predicate.RequestExecution
- func ResponseBodyNotNil() predicate.RequestExecution
- func ResponseChunksIsNil() predicate.RequestExecution
- func ResponseChunksNotNil() predicate.RequestExecution
- func ResponseStatusCode(v int) predicate.RequestExecution
- func ResponseStatusCodeEQ(v int) predicate.RequestExecution
- func ResponseStatusCodeGT(v int) predicate.RequestExecution
- func ResponseStatusCodeGTE(v int) predicate.RequestExecution
- func ResponseStatusCodeIn(vs ...int) predicate.RequestExecution
- func ResponseStatusCodeIsNil() predicate.RequestExecution
- func ResponseStatusCodeLT(v int) predicate.RequestExecution
- func ResponseStatusCodeLTE(v int) predicate.RequestExecution
- func ResponseStatusCodeNEQ(v int) predicate.RequestExecution
- func ResponseStatusCodeNotIn(vs ...int) predicate.RequestExecution
- func ResponseStatusCodeNotNil() predicate.RequestExecution
- func StatusEQ(v Status) predicate.RequestExecution
- func StatusIn(vs ...Status) predicate.RequestExecution
- func StatusNEQ(v Status) predicate.RequestExecution
- func StatusNotIn(vs ...Status) predicate.RequestExecution
- func StatusValidator(s Status) error
- func Stream(v bool) predicate.RequestExecution
- func StreamEQ(v bool) predicate.RequestExecution
- func StreamNEQ(v bool) predicate.RequestExecution
- func UpdatedAt(v time.Time) predicate.RequestExecution
- func UpdatedAtEQ(v time.Time) predicate.RequestExecution
- func UpdatedAtGT(v time.Time) predicate.RequestExecution
- func UpdatedAtGTE(v time.Time) predicate.RequestExecution
- func UpdatedAtIn(vs ...time.Time) predicate.RequestExecution
- func UpdatedAtLT(v time.Time) predicate.RequestExecution
- func UpdatedAtLTE(v time.Time) predicate.RequestExecution
- func UpdatedAtNEQ(v time.Time) predicate.RequestExecution
- func UpdatedAtNotIn(vs ...time.Time) predicate.RequestExecution
- func ValidColumn(column string) bool
- type OrderOption
- func ByChannelField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByChannelID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDataStorageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDataStorageID(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByExternalID(opts ...sql.OrderTermOption) OrderOption
- func ByFormat(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMetricsFirstTokenLatencyMs(opts ...sql.OrderTermOption) OrderOption
- func ByMetricsLatencyMs(opts ...sql.OrderTermOption) OrderOption
- func ByMetricsReasoningDurationMs(opts ...sql.OrderTermOption) OrderOption
- func ByModelID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByRequestField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRequestID(opts ...sql.OrderTermOption) OrderOption
- func ByResponseStatusCode(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByStream(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the requestexecution type in the database. Label = "request_execution" // 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" // FieldProjectID holds the string denoting the project_id field in the database. FieldProjectID = "project_id" // FieldRequestID holds the string denoting the request_id field in the database. FieldRequestID = "request_id" // FieldChannelID holds the string denoting the channel_id field in the database. FieldChannelID = "channel_id" // FieldDataStorageID holds the string denoting the data_storage_id field in the database. FieldDataStorageID = "data_storage_id" // FieldExternalID holds the string denoting the external_id field in the database. FieldExternalID = "external_id" // FieldModelID holds the string denoting the model_id field in the database. FieldModelID = "model_id" // FieldFormat holds the string denoting the format field in the database. FieldFormat = "format" // FieldRequestBody holds the string denoting the request_body field in the database. FieldRequestBody = "request_body" // FieldResponseBody holds the string denoting the response_body field in the database. FieldResponseBody = "response_body" // FieldResponseChunks holds the string denoting the response_chunks field in the database. FieldResponseChunks = "response_chunks" // FieldErrorMessage holds the string denoting the error_message field in the database. FieldErrorMessage = "error_message" // FieldResponseStatusCode holds the string denoting the response_status_code field in the database. FieldResponseStatusCode = "response_status_code" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldStream holds the string denoting the stream field in the database. FieldStream = "stream" // FieldMetricsLatencyMs holds the string denoting the metrics_latency_ms field in the database. FieldMetricsLatencyMs = "metrics_latency_ms" // FieldMetricsFirstTokenLatencyMs holds the string denoting the metrics_first_token_latency_ms field in the database. FieldMetricsFirstTokenLatencyMs = "metrics_first_token_latency_ms" // FieldMetricsReasoningDurationMs holds the string denoting the metrics_reasoning_duration_ms field in the database. FieldMetricsReasoningDurationMs = "metrics_reasoning_duration_ms" // FieldRequestHeaders holds the string denoting the request_headers field in the database. FieldRequestHeaders = "request_headers" // EdgeRequest holds the string denoting the request edge name in mutations. EdgeRequest = "request" // EdgeChannel holds the string denoting the channel edge name in mutations. EdgeChannel = "channel" // EdgeDataStorage holds the string denoting the data_storage edge name in mutations. EdgeDataStorage = "data_storage" // Table holds the table name of the requestexecution in the database. Table = "request_executions" // RequestTable is the table that holds the request relation/edge. RequestTable = "request_executions" // RequestInverseTable is the table name for the Request entity. // It exists in this package in order to avoid circular dependency with the "request" package. RequestInverseTable = "requests" // RequestColumn is the table column denoting the request relation/edge. RequestColumn = "request_id" // ChannelTable is the table that holds the channel relation/edge. ChannelTable = "request_executions" // ChannelInverseTable is the table name for the Channel entity. // It exists in this package in order to avoid circular dependency with the "channel" package. ChannelInverseTable = "channels" // ChannelColumn is the table column denoting the channel relation/edge. ChannelColumn = "channel_id" // DataStorageTable is the table that holds the data_storage relation/edge. DataStorageTable = "request_executions" // DataStorageInverseTable is the table name for the DataStorage entity. // It exists in this package in order to avoid circular dependency with the "datastorage" package. DataStorageInverseTable = "data_storages" // DataStorageColumn is the table column denoting the data_storage relation/edge. DataStorageColumn = "data_storage_id" )
Variables ¶
var ( // 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 // DefaultProjectID holds the default value on creation for the "project_id" field. DefaultProjectID int // ExternalIDValidator is a validator for the "external_id" field. It is called by the builders before save. ExternalIDValidator func(string) error // DefaultFormat holds the default value on creation for the "format" field. DefaultFormat string // DefaultStream holds the default value on creation for the "stream" field. DefaultStream bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldProjectID, FieldRequestID, FieldChannelID, FieldDataStorageID, FieldExternalID, FieldModelID, FieldFormat, FieldRequestBody, FieldResponseBody, FieldResponseChunks, FieldErrorMessage, FieldResponseStatusCode, FieldStatus, FieldStream, FieldMetricsLatencyMs, FieldMetricsFirstTokenLatencyMs, FieldMetricsReasoningDurationMs, FieldRequestHeaders, }
Columns holds all SQL columns for requestexecution fields.
Functions ¶
func And ¶
func And(predicates ...predicate.RequestExecution) predicate.RequestExecution
And groups predicates with the AND operator between them.
func ChannelID ¶
func ChannelID(v int) predicate.RequestExecution
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDEQ ¶
func ChannelIDEQ(v int) predicate.RequestExecution
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDIn ¶
func ChannelIDIn(vs ...int) predicate.RequestExecution
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDIsNil ¶ added in v0.4.2
func ChannelIDIsNil() predicate.RequestExecution
ChannelIDIsNil applies the IsNil predicate on the "channel_id" field.
func ChannelIDNEQ ¶
func ChannelIDNEQ(v int) predicate.RequestExecution
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
func ChannelIDNotIn(vs ...int) predicate.RequestExecution
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func ChannelIDNotNil ¶ added in v0.4.2
func ChannelIDNotNil() predicate.RequestExecution
ChannelIDNotNil applies the NotNil predicate on the "channel_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.RequestExecution
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.RequestExecution
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.RequestExecution
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.RequestExecution
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.RequestExecution
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.RequestExecution
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.RequestExecution
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.RequestExecution
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.RequestExecution
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DataStorageID ¶ added in v0.4.0
func DataStorageID(v int) predicate.RequestExecution
DataStorageID applies equality check predicate on the "data_storage_id" field. It's identical to DataStorageIDEQ.
func DataStorageIDEQ ¶ added in v0.4.0
func DataStorageIDEQ(v int) predicate.RequestExecution
DataStorageIDEQ applies the EQ predicate on the "data_storage_id" field.
func DataStorageIDIn ¶ added in v0.4.0
func DataStorageIDIn(vs ...int) predicate.RequestExecution
DataStorageIDIn applies the In predicate on the "data_storage_id" field.
func DataStorageIDIsNil ¶ added in v0.4.0
func DataStorageIDIsNil() predicate.RequestExecution
DataStorageIDIsNil applies the IsNil predicate on the "data_storage_id" field.
func DataStorageIDNEQ ¶ added in v0.4.0
func DataStorageIDNEQ(v int) predicate.RequestExecution
DataStorageIDNEQ applies the NEQ predicate on the "data_storage_id" field.
func DataStorageIDNotIn ¶ added in v0.4.0
func DataStorageIDNotIn(vs ...int) predicate.RequestExecution
DataStorageIDNotIn applies the NotIn predicate on the "data_storage_id" field.
func DataStorageIDNotNil ¶ added in v0.4.0
func DataStorageIDNotNil() predicate.RequestExecution
DataStorageIDNotNil applies the NotNil predicate on the "data_storage_id" field.
func ErrorMessage ¶
func ErrorMessage(v string) predicate.RequestExecution
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶
func ErrorMessageContains(v string) predicate.RequestExecution
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶
func ErrorMessageContainsFold(v string) predicate.RequestExecution
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶
func ErrorMessageEQ(v string) predicate.RequestExecution
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶
func ErrorMessageEqualFold(v string) predicate.RequestExecution
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶
func ErrorMessageGT(v string) predicate.RequestExecution
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶
func ErrorMessageGTE(v string) predicate.RequestExecution
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶
func ErrorMessageHasPrefix(v string) predicate.RequestExecution
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶
func ErrorMessageHasSuffix(v string) predicate.RequestExecution
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶
func ErrorMessageIn(vs ...string) predicate.RequestExecution
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIsNil ¶
func ErrorMessageIsNil() predicate.RequestExecution
ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageLT ¶
func ErrorMessageLT(v string) predicate.RequestExecution
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶
func ErrorMessageLTE(v string) predicate.RequestExecution
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶
func ErrorMessageNEQ(v string) predicate.RequestExecution
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶
func ErrorMessageNotIn(vs ...string) predicate.RequestExecution
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotNil ¶
func ErrorMessageNotNil() predicate.RequestExecution
ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
func ExternalID ¶
func ExternalID(v string) predicate.RequestExecution
ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.
func ExternalIDContains ¶
func ExternalIDContains(v string) predicate.RequestExecution
ExternalIDContains applies the Contains predicate on the "external_id" field.
func ExternalIDContainsFold ¶
func ExternalIDContainsFold(v string) predicate.RequestExecution
ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.
func ExternalIDEQ ¶
func ExternalIDEQ(v string) predicate.RequestExecution
ExternalIDEQ applies the EQ predicate on the "external_id" field.
func ExternalIDEqualFold ¶
func ExternalIDEqualFold(v string) predicate.RequestExecution
ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.
func ExternalIDGT ¶
func ExternalIDGT(v string) predicate.RequestExecution
ExternalIDGT applies the GT predicate on the "external_id" field.
func ExternalIDGTE ¶
func ExternalIDGTE(v string) predicate.RequestExecution
ExternalIDGTE applies the GTE predicate on the "external_id" field.
func ExternalIDHasPrefix ¶
func ExternalIDHasPrefix(v string) predicate.RequestExecution
ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.
func ExternalIDHasSuffix ¶
func ExternalIDHasSuffix(v string) predicate.RequestExecution
ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.
func ExternalIDIn ¶
func ExternalIDIn(vs ...string) predicate.RequestExecution
ExternalIDIn applies the In predicate on the "external_id" field.
func ExternalIDIsNil ¶
func ExternalIDIsNil() predicate.RequestExecution
ExternalIDIsNil applies the IsNil predicate on the "external_id" field.
func ExternalIDLT ¶
func ExternalIDLT(v string) predicate.RequestExecution
ExternalIDLT applies the LT predicate on the "external_id" field.
func ExternalIDLTE ¶
func ExternalIDLTE(v string) predicate.RequestExecution
ExternalIDLTE applies the LTE predicate on the "external_id" field.
func ExternalIDNEQ ¶
func ExternalIDNEQ(v string) predicate.RequestExecution
ExternalIDNEQ applies the NEQ predicate on the "external_id" field.
func ExternalIDNotIn ¶
func ExternalIDNotIn(vs ...string) predicate.RequestExecution
ExternalIDNotIn applies the NotIn predicate on the "external_id" field.
func ExternalIDNotNil ¶
func ExternalIDNotNil() predicate.RequestExecution
ExternalIDNotNil applies the NotNil predicate on the "external_id" field.
func Format ¶
func Format(v string) predicate.RequestExecution
Format applies equality check predicate on the "format" field. It's identical to FormatEQ.
func FormatContains ¶
func FormatContains(v string) predicate.RequestExecution
FormatContains applies the Contains predicate on the "format" field.
func FormatContainsFold ¶
func FormatContainsFold(v string) predicate.RequestExecution
FormatContainsFold applies the ContainsFold predicate on the "format" field.
func FormatEQ ¶
func FormatEQ(v string) predicate.RequestExecution
FormatEQ applies the EQ predicate on the "format" field.
func FormatEqualFold ¶
func FormatEqualFold(v string) predicate.RequestExecution
FormatEqualFold applies the EqualFold predicate on the "format" field.
func FormatGT ¶
func FormatGT(v string) predicate.RequestExecution
FormatGT applies the GT predicate on the "format" field.
func FormatGTE ¶
func FormatGTE(v string) predicate.RequestExecution
FormatGTE applies the GTE predicate on the "format" field.
func FormatHasPrefix ¶
func FormatHasPrefix(v string) predicate.RequestExecution
FormatHasPrefix applies the HasPrefix predicate on the "format" field.
func FormatHasSuffix ¶
func FormatHasSuffix(v string) predicate.RequestExecution
FormatHasSuffix applies the HasSuffix predicate on the "format" field.
func FormatIn ¶
func FormatIn(vs ...string) predicate.RequestExecution
FormatIn applies the In predicate on the "format" field.
func FormatLT ¶
func FormatLT(v string) predicate.RequestExecution
FormatLT applies the LT predicate on the "format" field.
func FormatLTE ¶
func FormatLTE(v string) predicate.RequestExecution
FormatLTE applies the LTE predicate on the "format" field.
func FormatNEQ ¶
func FormatNEQ(v string) predicate.RequestExecution
FormatNEQ applies the NEQ predicate on the "format" field.
func FormatNotIn ¶
func FormatNotIn(vs ...string) predicate.RequestExecution
FormatNotIn applies the NotIn predicate on the "format" field.
func HasChannel ¶
func HasChannel() predicate.RequestExecution
HasChannel applies the HasEdge predicate on the "channel" edge.
func HasChannelWith ¶
func HasChannelWith(preds ...predicate.Channel) predicate.RequestExecution
HasChannelWith applies the HasEdge predicate on the "channel" edge with a given conditions (other predicates).
func HasDataStorage ¶ added in v0.4.0
func HasDataStorage() predicate.RequestExecution
HasDataStorage applies the HasEdge predicate on the "data_storage" edge.
func HasDataStorageWith ¶ added in v0.4.0
func HasDataStorageWith(preds ...predicate.DataStorage) predicate.RequestExecution
HasDataStorageWith applies the HasEdge predicate on the "data_storage" edge with a given conditions (other predicates).
func HasRequest ¶
func HasRequest() predicate.RequestExecution
HasRequest applies the HasEdge predicate on the "request" edge.
func HasRequestWith ¶
func HasRequestWith(preds ...predicate.Request) predicate.RequestExecution
HasRequestWith applies the HasEdge predicate on the "request" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.RequestExecution
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.RequestExecution
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.RequestExecution
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.RequestExecution
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.RequestExecution
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.RequestExecution
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.RequestExecution
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.RequestExecution
IDNotIn applies the NotIn predicate on the ID field.
func MetricsFirstTokenLatencyMs ¶ added in v0.6.7
func MetricsFirstTokenLatencyMs(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMs applies equality check predicate on the "metrics_first_token_latency_ms" field. It's identical to MetricsFirstTokenLatencyMsEQ.
func MetricsFirstTokenLatencyMsEQ ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsEQ(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsEQ applies the EQ predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsGT ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsGT(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsGT applies the GT predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsGTE ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsGTE(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsGTE applies the GTE predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsIn ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsIn(vs ...int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsIn applies the In predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsIsNil ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsIsNil() predicate.RequestExecution
MetricsFirstTokenLatencyMsIsNil applies the IsNil predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsLT ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsLT(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsLT applies the LT predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsLTE ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsLTE(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsLTE applies the LTE predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsNEQ ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsNEQ(v int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsNEQ applies the NEQ predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsNotIn ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsNotIn(vs ...int64) predicate.RequestExecution
MetricsFirstTokenLatencyMsNotIn applies the NotIn predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsNotNil ¶ added in v0.6.7
func MetricsFirstTokenLatencyMsNotNil() predicate.RequestExecution
MetricsFirstTokenLatencyMsNotNil applies the NotNil predicate on the "metrics_first_token_latency_ms" field.
func MetricsLatencyMs ¶ added in v0.6.7
func MetricsLatencyMs(v int64) predicate.RequestExecution
MetricsLatencyMs applies equality check predicate on the "metrics_latency_ms" field. It's identical to MetricsLatencyMsEQ.
func MetricsLatencyMsEQ ¶ added in v0.6.7
func MetricsLatencyMsEQ(v int64) predicate.RequestExecution
MetricsLatencyMsEQ applies the EQ predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsGT ¶ added in v0.6.7
func MetricsLatencyMsGT(v int64) predicate.RequestExecution
MetricsLatencyMsGT applies the GT predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsGTE ¶ added in v0.6.7
func MetricsLatencyMsGTE(v int64) predicate.RequestExecution
MetricsLatencyMsGTE applies the GTE predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsIn ¶ added in v0.6.7
func MetricsLatencyMsIn(vs ...int64) predicate.RequestExecution
MetricsLatencyMsIn applies the In predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsIsNil ¶ added in v0.6.7
func MetricsLatencyMsIsNil() predicate.RequestExecution
MetricsLatencyMsIsNil applies the IsNil predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsLT ¶ added in v0.6.7
func MetricsLatencyMsLT(v int64) predicate.RequestExecution
MetricsLatencyMsLT applies the LT predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsLTE ¶ added in v0.6.7
func MetricsLatencyMsLTE(v int64) predicate.RequestExecution
MetricsLatencyMsLTE applies the LTE predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsNEQ ¶ added in v0.6.7
func MetricsLatencyMsNEQ(v int64) predicate.RequestExecution
MetricsLatencyMsNEQ applies the NEQ predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsNotIn ¶ added in v0.6.7
func MetricsLatencyMsNotIn(vs ...int64) predicate.RequestExecution
MetricsLatencyMsNotIn applies the NotIn predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsNotNil ¶ added in v0.6.7
func MetricsLatencyMsNotNil() predicate.RequestExecution
MetricsLatencyMsNotNil applies the NotNil predicate on the "metrics_latency_ms" field.
func MetricsReasoningDurationMs ¶ added in v0.9.33
func MetricsReasoningDurationMs(v int64) predicate.RequestExecution
MetricsReasoningDurationMs applies equality check predicate on the "metrics_reasoning_duration_ms" field. It's identical to MetricsReasoningDurationMsEQ.
func MetricsReasoningDurationMsEQ ¶ added in v0.9.33
func MetricsReasoningDurationMsEQ(v int64) predicate.RequestExecution
MetricsReasoningDurationMsEQ applies the EQ predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsGT ¶ added in v0.9.33
func MetricsReasoningDurationMsGT(v int64) predicate.RequestExecution
MetricsReasoningDurationMsGT applies the GT predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsGTE ¶ added in v0.9.33
func MetricsReasoningDurationMsGTE(v int64) predicate.RequestExecution
MetricsReasoningDurationMsGTE applies the GTE predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsIn ¶ added in v0.9.33
func MetricsReasoningDurationMsIn(vs ...int64) predicate.RequestExecution
MetricsReasoningDurationMsIn applies the In predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsIsNil ¶ added in v0.9.33
func MetricsReasoningDurationMsIsNil() predicate.RequestExecution
MetricsReasoningDurationMsIsNil applies the IsNil predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsLT ¶ added in v0.9.33
func MetricsReasoningDurationMsLT(v int64) predicate.RequestExecution
MetricsReasoningDurationMsLT applies the LT predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsLTE ¶ added in v0.9.33
func MetricsReasoningDurationMsLTE(v int64) predicate.RequestExecution
MetricsReasoningDurationMsLTE applies the LTE predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsNEQ ¶ added in v0.9.33
func MetricsReasoningDurationMsNEQ(v int64) predicate.RequestExecution
MetricsReasoningDurationMsNEQ applies the NEQ predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsNotIn ¶ added in v0.9.33
func MetricsReasoningDurationMsNotIn(vs ...int64) predicate.RequestExecution
MetricsReasoningDurationMsNotIn applies the NotIn predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsNotNil ¶ added in v0.9.33
func MetricsReasoningDurationMsNotNil() predicate.RequestExecution
MetricsReasoningDurationMsNotNil applies the NotNil predicate on the "metrics_reasoning_duration_ms" field.
func ModelID ¶
func ModelID(v string) predicate.RequestExecution
ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.
func ModelIDContains ¶
func ModelIDContains(v string) predicate.RequestExecution
ModelIDContains applies the Contains predicate on the "model_id" field.
func ModelIDContainsFold ¶
func ModelIDContainsFold(v string) predicate.RequestExecution
ModelIDContainsFold applies the ContainsFold predicate on the "model_id" field.
func ModelIDEQ ¶
func ModelIDEQ(v string) predicate.RequestExecution
ModelIDEQ applies the EQ predicate on the "model_id" field.
func ModelIDEqualFold ¶
func ModelIDEqualFold(v string) predicate.RequestExecution
ModelIDEqualFold applies the EqualFold predicate on the "model_id" field.
func ModelIDGT ¶
func ModelIDGT(v string) predicate.RequestExecution
ModelIDGT applies the GT predicate on the "model_id" field.
func ModelIDGTE ¶
func ModelIDGTE(v string) predicate.RequestExecution
ModelIDGTE applies the GTE predicate on the "model_id" field.
func ModelIDHasPrefix ¶
func ModelIDHasPrefix(v string) predicate.RequestExecution
ModelIDHasPrefix applies the HasPrefix predicate on the "model_id" field.
func ModelIDHasSuffix ¶
func ModelIDHasSuffix(v string) predicate.RequestExecution
ModelIDHasSuffix applies the HasSuffix predicate on the "model_id" field.
func ModelIDIn ¶
func ModelIDIn(vs ...string) predicate.RequestExecution
ModelIDIn applies the In predicate on the "model_id" field.
func ModelIDLT ¶
func ModelIDLT(v string) predicate.RequestExecution
ModelIDLT applies the LT predicate on the "model_id" field.
func ModelIDLTE ¶
func ModelIDLTE(v string) predicate.RequestExecution
ModelIDLTE applies the LTE predicate on the "model_id" field.
func ModelIDNEQ ¶
func ModelIDNEQ(v string) predicate.RequestExecution
ModelIDNEQ applies the NEQ predicate on the "model_id" field.
func ModelIDNotIn ¶
func ModelIDNotIn(vs ...string) predicate.RequestExecution
ModelIDNotIn applies the NotIn predicate on the "model_id" field.
func Not ¶
func Not(p predicate.RequestExecution) predicate.RequestExecution
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.RequestExecution) predicate.RequestExecution
Or groups predicates with the OR operator between them.
func ProjectID ¶ added in v0.3.0
func ProjectID(v int) predicate.RequestExecution
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶ added in v0.3.0
func ProjectIDEQ(v int) predicate.RequestExecution
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDGT ¶ added in v0.3.0
func ProjectIDGT(v int) predicate.RequestExecution
ProjectIDGT applies the GT predicate on the "project_id" field.
func ProjectIDGTE ¶ added in v0.3.0
func ProjectIDGTE(v int) predicate.RequestExecution
ProjectIDGTE applies the GTE predicate on the "project_id" field.
func ProjectIDIn ¶ added in v0.3.0
func ProjectIDIn(vs ...int) predicate.RequestExecution
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDLT ¶ added in v0.3.0
func ProjectIDLT(v int) predicate.RequestExecution
ProjectIDLT applies the LT predicate on the "project_id" field.
func ProjectIDLTE ¶ added in v0.3.0
func ProjectIDLTE(v int) predicate.RequestExecution
ProjectIDLTE applies the LTE predicate on the "project_id" field.
func ProjectIDNEQ ¶ added in v0.3.0
func ProjectIDNEQ(v int) predicate.RequestExecution
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶ added in v0.3.0
func ProjectIDNotIn(vs ...int) predicate.RequestExecution
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func RequestHeadersIsNil ¶ added in v0.7.10
func RequestHeadersIsNil() predicate.RequestExecution
RequestHeadersIsNil applies the IsNil predicate on the "request_headers" field.
func RequestHeadersNotNil ¶ added in v0.7.10
func RequestHeadersNotNil() predicate.RequestExecution
RequestHeadersNotNil applies the NotNil predicate on the "request_headers" field.
func RequestID ¶
func RequestID(v int) predicate.RequestExecution
RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.
func RequestIDEQ ¶
func RequestIDEQ(v int) predicate.RequestExecution
RequestIDEQ applies the EQ predicate on the "request_id" field.
func RequestIDIn ¶
func RequestIDIn(vs ...int) predicate.RequestExecution
RequestIDIn applies the In predicate on the "request_id" field.
func RequestIDNEQ ¶
func RequestIDNEQ(v int) predicate.RequestExecution
RequestIDNEQ applies the NEQ predicate on the "request_id" field.
func RequestIDNotIn ¶
func RequestIDNotIn(vs ...int) predicate.RequestExecution
RequestIDNotIn applies the NotIn predicate on the "request_id" field.
func ResponseBodyIsNil ¶
func ResponseBodyIsNil() predicate.RequestExecution
ResponseBodyIsNil applies the IsNil predicate on the "response_body" field.
func ResponseBodyNotNil ¶
func ResponseBodyNotNil() predicate.RequestExecution
ResponseBodyNotNil applies the NotNil predicate on the "response_body" field.
func ResponseChunksIsNil ¶
func ResponseChunksIsNil() predicate.RequestExecution
ResponseChunksIsNil applies the IsNil predicate on the "response_chunks" field.
func ResponseChunksNotNil ¶
func ResponseChunksNotNil() predicate.RequestExecution
ResponseChunksNotNil applies the NotNil predicate on the "response_chunks" field.
func ResponseStatusCode ¶ added in v0.9.18
func ResponseStatusCode(v int) predicate.RequestExecution
ResponseStatusCode applies equality check predicate on the "response_status_code" field. It's identical to ResponseStatusCodeEQ.
func ResponseStatusCodeEQ ¶ added in v0.9.18
func ResponseStatusCodeEQ(v int) predicate.RequestExecution
ResponseStatusCodeEQ applies the EQ predicate on the "response_status_code" field.
func ResponseStatusCodeGT ¶ added in v0.9.18
func ResponseStatusCodeGT(v int) predicate.RequestExecution
ResponseStatusCodeGT applies the GT predicate on the "response_status_code" field.
func ResponseStatusCodeGTE ¶ added in v0.9.18
func ResponseStatusCodeGTE(v int) predicate.RequestExecution
ResponseStatusCodeGTE applies the GTE predicate on the "response_status_code" field.
func ResponseStatusCodeIn ¶ added in v0.9.18
func ResponseStatusCodeIn(vs ...int) predicate.RequestExecution
ResponseStatusCodeIn applies the In predicate on the "response_status_code" field.
func ResponseStatusCodeIsNil ¶ added in v0.9.18
func ResponseStatusCodeIsNil() predicate.RequestExecution
ResponseStatusCodeIsNil applies the IsNil predicate on the "response_status_code" field.
func ResponseStatusCodeLT ¶ added in v0.9.18
func ResponseStatusCodeLT(v int) predicate.RequestExecution
ResponseStatusCodeLT applies the LT predicate on the "response_status_code" field.
func ResponseStatusCodeLTE ¶ added in v0.9.18
func ResponseStatusCodeLTE(v int) predicate.RequestExecution
ResponseStatusCodeLTE applies the LTE predicate on the "response_status_code" field.
func ResponseStatusCodeNEQ ¶ added in v0.9.18
func ResponseStatusCodeNEQ(v int) predicate.RequestExecution
ResponseStatusCodeNEQ applies the NEQ predicate on the "response_status_code" field.
func ResponseStatusCodeNotIn ¶ added in v0.9.18
func ResponseStatusCodeNotIn(vs ...int) predicate.RequestExecution
ResponseStatusCodeNotIn applies the NotIn predicate on the "response_status_code" field.
func ResponseStatusCodeNotNil ¶ added in v0.9.18
func ResponseStatusCodeNotNil() predicate.RequestExecution
ResponseStatusCodeNotNil applies the NotNil predicate on the "response_status_code" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.RequestExecution
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.RequestExecution
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.RequestExecution
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.RequestExecution
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 Stream ¶ added in v0.8.0
func Stream(v bool) predicate.RequestExecution
Stream applies equality check predicate on the "stream" field. It's identical to StreamEQ.
func StreamEQ ¶ added in v0.8.0
func StreamEQ(v bool) predicate.RequestExecution
StreamEQ applies the EQ predicate on the "stream" field.
func StreamNEQ ¶ added in v0.8.0
func StreamNEQ(v bool) predicate.RequestExecution
StreamNEQ applies the NEQ predicate on the "stream" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.RequestExecution
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.RequestExecution
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.RequestExecution
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.RequestExecution
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.RequestExecution
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.RequestExecution
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.RequestExecution
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.RequestExecution
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.RequestExecution
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 RequestExecution queries.
func ByChannelField ¶
func ByChannelField(field string, opts ...sql.OrderTermOption) OrderOption
ByChannelField orders the results by channel field.
func ByChannelID ¶
func ByChannelID(opts ...sql.OrderTermOption) OrderOption
ByChannelID orders the results by the channel_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDataStorageField ¶ added in v0.4.0
func ByDataStorageField(field string, opts ...sql.OrderTermOption) OrderOption
ByDataStorageField orders the results by data_storage field.
func ByDataStorageID ¶ added in v0.4.0
func ByDataStorageID(opts ...sql.OrderTermOption) OrderOption
ByDataStorageID orders the results by the data_storage_id field.
func ByErrorMessage ¶
func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
ByErrorMessage orders the results by the error_message field.
func ByExternalID ¶
func ByExternalID(opts ...sql.OrderTermOption) OrderOption
ByExternalID orders the results by the external_id field.
func ByFormat ¶
func ByFormat(opts ...sql.OrderTermOption) OrderOption
ByFormat orders the results by the format field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMetricsFirstTokenLatencyMs ¶ added in v0.6.7
func ByMetricsFirstTokenLatencyMs(opts ...sql.OrderTermOption) OrderOption
ByMetricsFirstTokenLatencyMs orders the results by the metrics_first_token_latency_ms field.
func ByMetricsLatencyMs ¶ added in v0.6.7
func ByMetricsLatencyMs(opts ...sql.OrderTermOption) OrderOption
ByMetricsLatencyMs orders the results by the metrics_latency_ms field.
func ByMetricsReasoningDurationMs ¶ added in v0.9.33
func ByMetricsReasoningDurationMs(opts ...sql.OrderTermOption) OrderOption
ByMetricsReasoningDurationMs orders the results by the metrics_reasoning_duration_ms field.
func ByModelID ¶
func ByModelID(opts ...sql.OrderTermOption) OrderOption
ByModelID orders the results by the model_id field.
func ByProjectID ¶ added in v0.3.0
func ByProjectID(opts ...sql.OrderTermOption) OrderOption
ByProjectID orders the results by the project_id field.
func ByRequestField ¶
func ByRequestField(field string, opts ...sql.OrderTermOption) OrderOption
ByRequestField orders the results by request field.
func ByRequestID ¶
func ByRequestID(opts ...sql.OrderTermOption) OrderOption
ByRequestID orders the results by the request_id field.
func ByResponseStatusCode ¶ added in v0.9.18
func ByResponseStatusCode(opts ...sql.OrderTermOption) OrderOption
ByResponseStatusCode orders the results by the response_status_code field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByStream ¶ added in v0.8.0
func ByStream(opts ...sql.OrderTermOption) OrderOption
ByStream orders the results by the stream field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
type Status ¶
type Status string
Status defines the type for the "status" enum field.
const ( StatusPending Status = "pending" StatusProcessing Status = "processing" StatusCompleted Status = "completed" StatusFailed Status = "failed" StatusCanceled Status = "canceled" )
Status values.
func (Status) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Status) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.