Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func CodeLines(v int64) predicate.Task
- func CodeLinesEQ(v int64) predicate.Task
- func CodeLinesGT(v int64) predicate.Task
- func CodeLinesGTE(v int64) predicate.Task
- func CodeLinesIn(vs ...int64) predicate.Task
- func CodeLinesIsNil() predicate.Task
- func CodeLinesLT(v int64) predicate.Task
- func CodeLinesLTE(v int64) predicate.Task
- func CodeLinesNEQ(v int64) predicate.Task
- func CodeLinesNotIn(vs ...int64) predicate.Task
- func CodeLinesNotNil() predicate.Task
- func Completion(v string) predicate.Task
- func CompletionContains(v string) predicate.Task
- func CompletionContainsFold(v string) predicate.Task
- func CompletionEQ(v string) predicate.Task
- func CompletionEqualFold(v string) predicate.Task
- func CompletionGT(v string) predicate.Task
- func CompletionGTE(v string) predicate.Task
- func CompletionHasPrefix(v string) predicate.Task
- func CompletionHasSuffix(v string) predicate.Task
- func CompletionIn(vs ...string) predicate.Task
- func CompletionIsNil() predicate.Task
- func CompletionLT(v string) predicate.Task
- func CompletionLTE(v string) predicate.Task
- func CompletionNEQ(v string) predicate.Task
- func CompletionNotIn(vs ...string) predicate.Task
- func CompletionNotNil() predicate.Task
- func CreatedAt(v time.Time) predicate.Task
- func CreatedAtEQ(v time.Time) predicate.Task
- func CreatedAtGT(v time.Time) predicate.Task
- func CreatedAtGTE(v time.Time) predicate.Task
- func CreatedAtIn(vs ...time.Time) predicate.Task
- func CreatedAtLT(v time.Time) predicate.Task
- func CreatedAtLTE(v time.Time) predicate.Task
- func CreatedAtNEQ(v time.Time) predicate.Task
- func CreatedAtNotIn(vs ...time.Time) predicate.Task
- func CursorPositionIsNil() predicate.Task
- func CursorPositionNotNil() predicate.Task
- func HasModel() predicate.Task
- func HasModelWith(preds ...predicate.Model) predicate.Task
- func HasTaskRecords() predicate.Task
- func HasTaskRecordsWith(preds ...predicate.TaskRecord) predicate.Task
- func HasUser() predicate.Task
- func HasUserWith(preds ...predicate.User) predicate.Task
- func ID(id uuid.UUID) predicate.Task
- func IDEQ(id uuid.UUID) predicate.Task
- func IDGT(id uuid.UUID) predicate.Task
- func IDGTE(id uuid.UUID) predicate.Task
- func IDIn(ids ...uuid.UUID) predicate.Task
- func IDLT(id uuid.UUID) predicate.Task
- func IDLTE(id uuid.UUID) predicate.Task
- func IDNEQ(id uuid.UUID) predicate.Task
- func IDNotIn(ids ...uuid.UUID) predicate.Task
- func InputTokens(v int64) predicate.Task
- func InputTokensEQ(v int64) predicate.Task
- func InputTokensGT(v int64) predicate.Task
- func InputTokensGTE(v int64) predicate.Task
- func InputTokensIn(vs ...int64) predicate.Task
- func InputTokensIsNil() predicate.Task
- func InputTokensLT(v int64) predicate.Task
- func InputTokensLTE(v int64) predicate.Task
- func InputTokensNEQ(v int64) predicate.Task
- func InputTokensNotIn(vs ...int64) predicate.Task
- func InputTokensNotNil() predicate.Task
- func IsAccept(v bool) predicate.Task
- func IsAcceptEQ(v bool) predicate.Task
- func IsAcceptNEQ(v bool) predicate.Task
- func IsSuggested(v bool) predicate.Task
- func IsSuggestedEQ(v bool) predicate.Task
- func IsSuggestedNEQ(v bool) predicate.Task
- func ModelID(v uuid.UUID) predicate.Task
- func ModelIDEQ(v uuid.UUID) predicate.Task
- func ModelIDIn(vs ...uuid.UUID) predicate.Task
- func ModelIDIsNil() predicate.Task
- func ModelIDNEQ(v uuid.UUID) predicate.Task
- func ModelIDNotIn(vs ...uuid.UUID) predicate.Task
- func ModelIDNotNil() predicate.Task
- func ModelType(v consts.ModelType) predicate.Task
- func ModelTypeContains(v consts.ModelType) predicate.Task
- func ModelTypeContainsFold(v consts.ModelType) predicate.Task
- func ModelTypeEQ(v consts.ModelType) predicate.Task
- func ModelTypeEqualFold(v consts.ModelType) predicate.Task
- func ModelTypeGT(v consts.ModelType) predicate.Task
- func ModelTypeGTE(v consts.ModelType) predicate.Task
- func ModelTypeHasPrefix(v consts.ModelType) predicate.Task
- func ModelTypeHasSuffix(v consts.ModelType) predicate.Task
- func ModelTypeIn(vs ...consts.ModelType) predicate.Task
- func ModelTypeLT(v consts.ModelType) predicate.Task
- func ModelTypeLTE(v consts.ModelType) predicate.Task
- func ModelTypeNEQ(v consts.ModelType) predicate.Task
- func ModelTypeNotIn(vs ...consts.ModelType) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func OutputTokens(v int64) predicate.Task
- func OutputTokensEQ(v int64) predicate.Task
- func OutputTokensGT(v int64) predicate.Task
- func OutputTokensGTE(v int64) predicate.Task
- func OutputTokensIn(vs ...int64) predicate.Task
- func OutputTokensIsNil() predicate.Task
- func OutputTokensLT(v int64) predicate.Task
- func OutputTokensLTE(v int64) predicate.Task
- func OutputTokensNEQ(v int64) predicate.Task
- func OutputTokensNotIn(vs ...int64) predicate.Task
- func OutputTokensNotNil() predicate.Task
- func ProgramLanguage(v string) predicate.Task
- func ProgramLanguageContains(v string) predicate.Task
- func ProgramLanguageContainsFold(v string) predicate.Task
- func ProgramLanguageEQ(v string) predicate.Task
- func ProgramLanguageEqualFold(v string) predicate.Task
- func ProgramLanguageGT(v string) predicate.Task
- func ProgramLanguageGTE(v string) predicate.Task
- func ProgramLanguageHasPrefix(v string) predicate.Task
- func ProgramLanguageHasSuffix(v string) predicate.Task
- func ProgramLanguageIn(vs ...string) predicate.Task
- func ProgramLanguageIsNil() predicate.Task
- func ProgramLanguageLT(v string) predicate.Task
- func ProgramLanguageLTE(v string) predicate.Task
- func ProgramLanguageNEQ(v string) predicate.Task
- func ProgramLanguageNotIn(vs ...string) predicate.Task
- func ProgramLanguageNotNil() predicate.Task
- func Prompt(v string) predicate.Task
- func PromptContains(v string) predicate.Task
- func PromptContainsFold(v string) predicate.Task
- func PromptEQ(v string) predicate.Task
- func PromptEqualFold(v string) predicate.Task
- func PromptGT(v string) predicate.Task
- func PromptGTE(v string) predicate.Task
- func PromptHasPrefix(v string) predicate.Task
- func PromptHasSuffix(v string) predicate.Task
- func PromptIn(vs ...string) predicate.Task
- func PromptIsNil() predicate.Task
- func PromptLT(v string) predicate.Task
- func PromptLTE(v string) predicate.Task
- func PromptNEQ(v string) predicate.Task
- func PromptNotIn(vs ...string) predicate.Task
- func PromptNotNil() predicate.Task
- func RequestID(v string) predicate.Task
- func RequestIDContains(v string) predicate.Task
- func RequestIDContainsFold(v string) predicate.Task
- func RequestIDEQ(v string) predicate.Task
- func RequestIDEqualFold(v string) predicate.Task
- func RequestIDGT(v string) predicate.Task
- func RequestIDGTE(v string) predicate.Task
- func RequestIDHasPrefix(v string) predicate.Task
- func RequestIDHasSuffix(v string) predicate.Task
- func RequestIDIn(vs ...string) predicate.Task
- func RequestIDIsNil() predicate.Task
- func RequestIDLT(v string) predicate.Task
- func RequestIDLTE(v string) predicate.Task
- func RequestIDNEQ(v string) predicate.Task
- func RequestIDNotIn(vs ...string) predicate.Task
- func RequestIDNotNil() predicate.Task
- func SourceCode(v string) predicate.Task
- func SourceCodeContains(v string) predicate.Task
- func SourceCodeContainsFold(v string) predicate.Task
- func SourceCodeEQ(v string) predicate.Task
- func SourceCodeEqualFold(v string) predicate.Task
- func SourceCodeGT(v string) predicate.Task
- func SourceCodeGTE(v string) predicate.Task
- func SourceCodeHasPrefix(v string) predicate.Task
- func SourceCodeHasSuffix(v string) predicate.Task
- func SourceCodeIn(vs ...string) predicate.Task
- func SourceCodeIsNil() predicate.Task
- func SourceCodeLT(v string) predicate.Task
- func SourceCodeLTE(v string) predicate.Task
- func SourceCodeNEQ(v string) predicate.Task
- func SourceCodeNotIn(vs ...string) predicate.Task
- func SourceCodeNotNil() predicate.Task
- func TaskID(v string) predicate.Task
- func TaskIDContains(v string) predicate.Task
- func TaskIDContainsFold(v string) predicate.Task
- func TaskIDEQ(v string) predicate.Task
- func TaskIDEqualFold(v string) predicate.Task
- func TaskIDGT(v string) predicate.Task
- func TaskIDGTE(v string) predicate.Task
- func TaskIDHasPrefix(v string) predicate.Task
- func TaskIDHasSuffix(v string) predicate.Task
- func TaskIDIn(vs ...string) predicate.Task
- func TaskIDLT(v string) predicate.Task
- func TaskIDLTE(v string) predicate.Task
- func TaskIDNEQ(v string) predicate.Task
- func TaskIDNotIn(vs ...string) predicate.Task
- func UpdatedAt(v time.Time) predicate.Task
- func UpdatedAtEQ(v time.Time) predicate.Task
- func UpdatedAtGT(v time.Time) predicate.Task
- func UpdatedAtGTE(v time.Time) predicate.Task
- func UpdatedAtIn(vs ...time.Time) predicate.Task
- func UpdatedAtLT(v time.Time) predicate.Task
- func UpdatedAtLTE(v time.Time) predicate.Task
- func UpdatedAtNEQ(v time.Time) predicate.Task
- func UpdatedAtNotIn(vs ...time.Time) predicate.Task
- func UserID(v uuid.UUID) predicate.Task
- func UserIDEQ(v uuid.UUID) predicate.Task
- func UserIDIn(vs ...uuid.UUID) predicate.Task
- func UserIDIsNil() predicate.Task
- func UserIDNEQ(v uuid.UUID) predicate.Task
- func UserIDNotIn(vs ...uuid.UUID) predicate.Task
- func UserIDNotNil() predicate.Task
- func UserInput(v string) predicate.Task
- func UserInputContains(v string) predicate.Task
- func UserInputContainsFold(v string) predicate.Task
- func UserInputEQ(v string) predicate.Task
- func UserInputEqualFold(v string) predicate.Task
- func UserInputGT(v string) predicate.Task
- func UserInputGTE(v string) predicate.Task
- func UserInputHasPrefix(v string) predicate.Task
- func UserInputHasSuffix(v string) predicate.Task
- func UserInputIn(vs ...string) predicate.Task
- func UserInputIsNil() predicate.Task
- func UserInputLT(v string) predicate.Task
- func UserInputLTE(v string) predicate.Task
- func UserInputNEQ(v string) predicate.Task
- func UserInputNotIn(vs ...string) predicate.Task
- func UserInputNotNil() predicate.Task
- func ValidColumn(column string) bool
- func WorkMode(v string) predicate.Task
- func WorkModeContains(v string) predicate.Task
- func WorkModeContainsFold(v string) predicate.Task
- func WorkModeEQ(v string) predicate.Task
- func WorkModeEqualFold(v string) predicate.Task
- func WorkModeGT(v string) predicate.Task
- func WorkModeGTE(v string) predicate.Task
- func WorkModeHasPrefix(v string) predicate.Task
- func WorkModeHasSuffix(v string) predicate.Task
- func WorkModeIn(vs ...string) predicate.Task
- func WorkModeIsNil() predicate.Task
- func WorkModeLT(v string) predicate.Task
- func WorkModeLTE(v string) predicate.Task
- func WorkModeNEQ(v string) predicate.Task
- func WorkModeNotIn(vs ...string) predicate.Task
- func WorkModeNotNil() predicate.Task
- type OrderOption
- func ByCodeLines(opts ...sql.OrderTermOption) OrderOption
- func ByCompletion(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInputTokens(opts ...sql.OrderTermOption) OrderOption
- func ByIsAccept(opts ...sql.OrderTermOption) OrderOption
- func ByIsSuggested(opts ...sql.OrderTermOption) OrderOption
- func ByModelField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByModelID(opts ...sql.OrderTermOption) OrderOption
- func ByModelType(opts ...sql.OrderTermOption) OrderOption
- func ByOutputTokens(opts ...sql.OrderTermOption) OrderOption
- func ByProgramLanguage(opts ...sql.OrderTermOption) OrderOption
- func ByPrompt(opts ...sql.OrderTermOption) OrderOption
- func ByRequestID(opts ...sql.OrderTermOption) OrderOption
- func BySourceCode(opts ...sql.OrderTermOption) OrderOption
- func ByTaskID(opts ...sql.OrderTermOption) OrderOption
- func ByTaskRecords(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTaskRecordsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUserInput(opts ...sql.OrderTermOption) OrderOption
- func ByWorkMode(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the task type in the database. Label = "task" // FieldID holds the string denoting the id field in the database. FieldID = "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" // FieldModelID holds the string denoting the model_id field in the database. FieldModelID = "model_id" // FieldRequestID holds the string denoting the request_id field in the database. FieldRequestID = "request_id" // FieldModelType holds the string denoting the model_type field in the database. FieldModelType = "model_type" // FieldIsAccept holds the string denoting the is_accept field in the database. FieldIsAccept = "is_accept" // FieldProgramLanguage holds the string denoting the program_language field in the database. FieldProgramLanguage = "program_language" // FieldWorkMode holds the string denoting the work_mode field in the database. FieldWorkMode = "work_mode" // FieldPrompt holds the string denoting the prompt field in the database. FieldPrompt = "prompt" // FieldCompletion holds the string denoting the completion field in the database. FieldCompletion = "completion" // FieldCodeLines holds the string denoting the code_lines field in the database. FieldCodeLines = "code_lines" // FieldInputTokens holds the string denoting the input_tokens field in the database. FieldInputTokens = "input_tokens" // FieldOutputTokens holds the string denoting the output_tokens field in the database. FieldOutputTokens = "output_tokens" // FieldIsSuggested holds the string denoting the is_suggested field in the database. FieldIsSuggested = "is_suggested" // FieldSourceCode holds the string denoting the source_code field in the database. FieldSourceCode = "source_code" // FieldCursorPosition holds the string denoting the cursor_position field in the database. FieldCursorPosition = "cursor_position" // FieldUserInput holds the string denoting the user_input field in the database. FieldUserInput = "user_input" // 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" // EdgeTaskRecords holds the string denoting the task_records edge name in mutations. EdgeTaskRecords = "task_records" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeModel holds the string denoting the model edge name in mutations. EdgeModel = "model" // Table holds the table name of the task in the database. Table = "tasks" // TaskRecordsTable is the table that holds the task_records relation/edge. TaskRecordsTable = "task_records" // TaskRecordsInverseTable is the table name for the TaskRecord entity. // It exists in this package in order to avoid circular dependency with the "taskrecord" package. TaskRecordsInverseTable = "task_records" // TaskRecordsColumn is the table column denoting the task_records relation/edge. TaskRecordsColumn = "task_id" // UserTable is the table that holds the user relation/edge. UserTable = "tasks" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" // ModelTable is the table that holds the model relation/edge. ModelTable = "tasks" // ModelInverseTable is the table name for the Model entity. // It exists in this package in order to avoid circular dependency with the "model" package. ModelInverseTable = "models" // ModelColumn is the table column denoting the model relation/edge. ModelColumn = "model_id" )
Variables ¶
var ( // DefaultIsAccept holds the default value on creation for the "is_accept" field. DefaultIsAccept bool // DefaultIsSuggested holds the default value on creation for the "is_suggested" field. DefaultIsSuggested bool // 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, FieldTaskID, FieldUserID, FieldModelID, FieldRequestID, FieldModelType, FieldIsAccept, FieldProgramLanguage, FieldWorkMode, FieldPrompt, FieldCompletion, FieldCodeLines, FieldInputTokens, FieldOutputTokens, FieldIsSuggested, FieldSourceCode, FieldCursorPosition, FieldUserInput, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for task fields.
Functions ¶
func CodeLines ¶
CodeLines applies equality check predicate on the "code_lines" field. It's identical to CodeLinesEQ.
func CodeLinesEQ ¶
CodeLinesEQ applies the EQ predicate on the "code_lines" field.
func CodeLinesGT ¶
CodeLinesGT applies the GT predicate on the "code_lines" field.
func CodeLinesGTE ¶
CodeLinesGTE applies the GTE predicate on the "code_lines" field.
func CodeLinesIn ¶
CodeLinesIn applies the In predicate on the "code_lines" field.
func CodeLinesIsNil ¶
CodeLinesIsNil applies the IsNil predicate on the "code_lines" field.
func CodeLinesLT ¶
CodeLinesLT applies the LT predicate on the "code_lines" field.
func CodeLinesLTE ¶
CodeLinesLTE applies the LTE predicate on the "code_lines" field.
func CodeLinesNEQ ¶
CodeLinesNEQ applies the NEQ predicate on the "code_lines" field.
func CodeLinesNotIn ¶
CodeLinesNotIn applies the NotIn predicate on the "code_lines" field.
func CodeLinesNotNil ¶
CodeLinesNotNil applies the NotNil predicate on the "code_lines" field.
func Completion ¶
Completion applies equality check predicate on the "completion" field. It's identical to CompletionEQ.
func CompletionContains ¶
CompletionContains applies the Contains predicate on the "completion" field.
func CompletionContainsFold ¶
CompletionContainsFold applies the ContainsFold predicate on the "completion" field.
func CompletionEQ ¶
CompletionEQ applies the EQ predicate on the "completion" field.
func CompletionEqualFold ¶
CompletionEqualFold applies the EqualFold predicate on the "completion" field.
func CompletionGT ¶
CompletionGT applies the GT predicate on the "completion" field.
func CompletionGTE ¶
CompletionGTE applies the GTE predicate on the "completion" field.
func CompletionHasPrefix ¶
CompletionHasPrefix applies the HasPrefix predicate on the "completion" field.
func CompletionHasSuffix ¶
CompletionHasSuffix applies the HasSuffix predicate on the "completion" field.
func CompletionIn ¶
CompletionIn applies the In predicate on the "completion" field.
func CompletionIsNil ¶
CompletionIsNil applies the IsNil predicate on the "completion" field.
func CompletionLT ¶
CompletionLT applies the LT predicate on the "completion" field.
func CompletionLTE ¶
CompletionLTE applies the LTE predicate on the "completion" field.
func CompletionNEQ ¶
CompletionNEQ applies the NEQ predicate on the "completion" field.
func CompletionNotIn ¶
CompletionNotIn applies the NotIn predicate on the "completion" field.
func CompletionNotNil ¶
CompletionNotNil applies the NotNil predicate on the "completion" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CursorPositionIsNil ¶
CursorPositionIsNil applies the IsNil predicate on the "cursor_position" field.
func CursorPositionNotNil ¶
CursorPositionNotNil applies the NotNil predicate on the "cursor_position" field.
func HasModelWith ¶
HasModelWith applies the HasEdge predicate on the "model" edge with a given conditions (other predicates).
func HasTaskRecords ¶
HasTaskRecords applies the HasEdge predicate on the "task_records" edge.
func HasTaskRecordsWith ¶
func HasTaskRecordsWith(preds ...predicate.TaskRecord) predicate.Task
HasTaskRecordsWith applies the HasEdge predicate on the "task_records" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func InputTokens ¶
InputTokens applies equality check predicate on the "input_tokens" field. It's identical to InputTokensEQ.
func InputTokensEQ ¶
InputTokensEQ applies the EQ predicate on the "input_tokens" field.
func InputTokensGT ¶
InputTokensGT applies the GT predicate on the "input_tokens" field.
func InputTokensGTE ¶
InputTokensGTE applies the GTE predicate on the "input_tokens" field.
func InputTokensIn ¶
InputTokensIn applies the In predicate on the "input_tokens" field.
func InputTokensIsNil ¶
InputTokensIsNil applies the IsNil predicate on the "input_tokens" field.
func InputTokensLT ¶
InputTokensLT applies the LT predicate on the "input_tokens" field.
func InputTokensLTE ¶
InputTokensLTE applies the LTE predicate on the "input_tokens" field.
func InputTokensNEQ ¶
InputTokensNEQ applies the NEQ predicate on the "input_tokens" field.
func InputTokensNotIn ¶
InputTokensNotIn applies the NotIn predicate on the "input_tokens" field.
func InputTokensNotNil ¶
InputTokensNotNil applies the NotNil predicate on the "input_tokens" field.
func IsAccept ¶
IsAccept applies equality check predicate on the "is_accept" field. It's identical to IsAcceptEQ.
func IsAcceptEQ ¶
IsAcceptEQ applies the EQ predicate on the "is_accept" field.
func IsAcceptNEQ ¶
IsAcceptNEQ applies the NEQ predicate on the "is_accept" field.
func IsSuggested ¶
IsSuggested applies equality check predicate on the "is_suggested" field. It's identical to IsSuggestedEQ.
func IsSuggestedEQ ¶
IsSuggestedEQ applies the EQ predicate on the "is_suggested" field.
func IsSuggestedNEQ ¶
IsSuggestedNEQ applies the NEQ predicate on the "is_suggested" field.
func ModelID ¶
ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.
func ModelIDIsNil ¶
ModelIDIsNil applies the IsNil predicate on the "model_id" field.
func ModelIDNEQ ¶
ModelIDNEQ applies the NEQ predicate on the "model_id" field.
func ModelIDNotIn ¶
ModelIDNotIn applies the NotIn predicate on the "model_id" field.
func ModelIDNotNil ¶
ModelIDNotNil applies the NotNil predicate on the "model_id" field.
func ModelType ¶
ModelType applies equality check predicate on the "model_type" field. It's identical to ModelTypeEQ.
func ModelTypeContains ¶
ModelTypeContains applies the Contains predicate on the "model_type" field.
func ModelTypeContainsFold ¶
ModelTypeContainsFold applies the ContainsFold predicate on the "model_type" field.
func ModelTypeEQ ¶
ModelTypeEQ applies the EQ predicate on the "model_type" field.
func ModelTypeEqualFold ¶
ModelTypeEqualFold applies the EqualFold predicate on the "model_type" field.
func ModelTypeGT ¶
ModelTypeGT applies the GT predicate on the "model_type" field.
func ModelTypeGTE ¶
ModelTypeGTE applies the GTE predicate on the "model_type" field.
func ModelTypeHasPrefix ¶
ModelTypeHasPrefix applies the HasPrefix predicate on the "model_type" field.
func ModelTypeHasSuffix ¶
ModelTypeHasSuffix applies the HasSuffix predicate on the "model_type" field.
func ModelTypeIn ¶
ModelTypeIn applies the In predicate on the "model_type" field.
func ModelTypeLT ¶
ModelTypeLT applies the LT predicate on the "model_type" field.
func ModelTypeLTE ¶
ModelTypeLTE applies the LTE predicate on the "model_type" field.
func ModelTypeNEQ ¶
ModelTypeNEQ applies the NEQ predicate on the "model_type" field.
func ModelTypeNotIn ¶
ModelTypeNotIn applies the NotIn predicate on the "model_type" field.
func OutputTokens ¶
OutputTokens applies equality check predicate on the "output_tokens" field. It's identical to OutputTokensEQ.
func OutputTokensEQ ¶
OutputTokensEQ applies the EQ predicate on the "output_tokens" field.
func OutputTokensGT ¶
OutputTokensGT applies the GT predicate on the "output_tokens" field.
func OutputTokensGTE ¶
OutputTokensGTE applies the GTE predicate on the "output_tokens" field.
func OutputTokensIn ¶
OutputTokensIn applies the In predicate on the "output_tokens" field.
func OutputTokensIsNil ¶
OutputTokensIsNil applies the IsNil predicate on the "output_tokens" field.
func OutputTokensLT ¶
OutputTokensLT applies the LT predicate on the "output_tokens" field.
func OutputTokensLTE ¶
OutputTokensLTE applies the LTE predicate on the "output_tokens" field.
func OutputTokensNEQ ¶
OutputTokensNEQ applies the NEQ predicate on the "output_tokens" field.
func OutputTokensNotIn ¶
OutputTokensNotIn applies the NotIn predicate on the "output_tokens" field.
func OutputTokensNotNil ¶
OutputTokensNotNil applies the NotNil predicate on the "output_tokens" field.
func ProgramLanguage ¶
ProgramLanguage applies equality check predicate on the "program_language" field. It's identical to ProgramLanguageEQ.
func ProgramLanguageContains ¶
ProgramLanguageContains applies the Contains predicate on the "program_language" field.
func ProgramLanguageContainsFold ¶
ProgramLanguageContainsFold applies the ContainsFold predicate on the "program_language" field.
func ProgramLanguageEQ ¶
ProgramLanguageEQ applies the EQ predicate on the "program_language" field.
func ProgramLanguageEqualFold ¶
ProgramLanguageEqualFold applies the EqualFold predicate on the "program_language" field.
func ProgramLanguageGT ¶
ProgramLanguageGT applies the GT predicate on the "program_language" field.
func ProgramLanguageGTE ¶
ProgramLanguageGTE applies the GTE predicate on the "program_language" field.
func ProgramLanguageHasPrefix ¶
ProgramLanguageHasPrefix applies the HasPrefix predicate on the "program_language" field.
func ProgramLanguageHasSuffix ¶
ProgramLanguageHasSuffix applies the HasSuffix predicate on the "program_language" field.
func ProgramLanguageIn ¶
ProgramLanguageIn applies the In predicate on the "program_language" field.
func ProgramLanguageIsNil ¶
ProgramLanguageIsNil applies the IsNil predicate on the "program_language" field.
func ProgramLanguageLT ¶
ProgramLanguageLT applies the LT predicate on the "program_language" field.
func ProgramLanguageLTE ¶
ProgramLanguageLTE applies the LTE predicate on the "program_language" field.
func ProgramLanguageNEQ ¶
ProgramLanguageNEQ applies the NEQ predicate on the "program_language" field.
func ProgramLanguageNotIn ¶
ProgramLanguageNotIn applies the NotIn predicate on the "program_language" field.
func ProgramLanguageNotNil ¶
ProgramLanguageNotNil applies the NotNil predicate on the "program_language" field.
func Prompt ¶
Prompt applies equality check predicate on the "prompt" field. It's identical to PromptEQ.
func PromptContains ¶
PromptContains applies the Contains predicate on the "prompt" field.
func PromptContainsFold ¶
PromptContainsFold applies the ContainsFold predicate on the "prompt" field.
func PromptEqualFold ¶
PromptEqualFold applies the EqualFold predicate on the "prompt" field.
func PromptHasPrefix ¶
PromptHasPrefix applies the HasPrefix predicate on the "prompt" field.
func PromptHasSuffix ¶
PromptHasSuffix applies the HasSuffix predicate on the "prompt" field.
func PromptIsNil ¶
PromptIsNil applies the IsNil predicate on the "prompt" field.
func PromptNotIn ¶
PromptNotIn applies the NotIn predicate on the "prompt" field.
func PromptNotNil ¶
PromptNotNil applies the NotNil predicate on the "prompt" field.
func RequestID ¶
RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.
func RequestIDContains ¶
RequestIDContains applies the Contains predicate on the "request_id" field.
func RequestIDContainsFold ¶
RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.
func RequestIDEQ ¶
RequestIDEQ applies the EQ predicate on the "request_id" field.
func RequestIDEqualFold ¶
RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.
func RequestIDGT ¶
RequestIDGT applies the GT predicate on the "request_id" field.
func RequestIDGTE ¶
RequestIDGTE applies the GTE predicate on the "request_id" field.
func RequestIDHasPrefix ¶
RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.
func RequestIDHasSuffix ¶
RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.
func RequestIDIn ¶
RequestIDIn applies the In predicate on the "request_id" field.
func RequestIDIsNil ¶
RequestIDIsNil applies the IsNil predicate on the "request_id" field.
func RequestIDLT ¶
RequestIDLT applies the LT predicate on the "request_id" field.
func RequestIDLTE ¶
RequestIDLTE applies the LTE predicate on the "request_id" field.
func RequestIDNEQ ¶
RequestIDNEQ applies the NEQ predicate on the "request_id" field.
func RequestIDNotIn ¶
RequestIDNotIn applies the NotIn predicate on the "request_id" field.
func RequestIDNotNil ¶
RequestIDNotNil applies the NotNil predicate on the "request_id" field.
func SourceCode ¶
SourceCode applies equality check predicate on the "source_code" field. It's identical to SourceCodeEQ.
func SourceCodeContains ¶
SourceCodeContains applies the Contains predicate on the "source_code" field.
func SourceCodeContainsFold ¶
SourceCodeContainsFold applies the ContainsFold predicate on the "source_code" field.
func SourceCodeEQ ¶
SourceCodeEQ applies the EQ predicate on the "source_code" field.
func SourceCodeEqualFold ¶
SourceCodeEqualFold applies the EqualFold predicate on the "source_code" field.
func SourceCodeGT ¶
SourceCodeGT applies the GT predicate on the "source_code" field.
func SourceCodeGTE ¶
SourceCodeGTE applies the GTE predicate on the "source_code" field.
func SourceCodeHasPrefix ¶
SourceCodeHasPrefix applies the HasPrefix predicate on the "source_code" field.
func SourceCodeHasSuffix ¶
SourceCodeHasSuffix applies the HasSuffix predicate on the "source_code" field.
func SourceCodeIn ¶
SourceCodeIn applies the In predicate on the "source_code" field.
func SourceCodeIsNil ¶
SourceCodeIsNil applies the IsNil predicate on the "source_code" field.
func SourceCodeLT ¶
SourceCodeLT applies the LT predicate on the "source_code" field.
func SourceCodeLTE ¶
SourceCodeLTE applies the LTE predicate on the "source_code" field.
func SourceCodeNEQ ¶
SourceCodeNEQ applies the NEQ predicate on the "source_code" field.
func SourceCodeNotIn ¶
SourceCodeNotIn applies the NotIn predicate on the "source_code" field.
func SourceCodeNotNil ¶
SourceCodeNotNil applies the NotNil predicate on the "source_code" field.
func TaskID ¶
TaskID applies equality check predicate on the "task_id" field. It's identical to TaskIDEQ.
func TaskIDContains ¶
TaskIDContains applies the Contains predicate on the "task_id" field.
func TaskIDContainsFold ¶
TaskIDContainsFold applies the ContainsFold predicate on the "task_id" field.
func TaskIDEqualFold ¶
TaskIDEqualFold applies the EqualFold predicate on the "task_id" field.
func TaskIDHasPrefix ¶
TaskIDHasPrefix applies the HasPrefix predicate on the "task_id" field.
func TaskIDHasSuffix ¶
TaskIDHasSuffix applies the HasSuffix predicate on the "task_id" field.
func TaskIDNotIn ¶
TaskIDNotIn applies the NotIn predicate on the "task_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDIsNil ¶
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func UserInput ¶
UserInput applies equality check predicate on the "user_input" field. It's identical to UserInputEQ.
func UserInputContains ¶
UserInputContains applies the Contains predicate on the "user_input" field.
func UserInputContainsFold ¶
UserInputContainsFold applies the ContainsFold predicate on the "user_input" field.
func UserInputEQ ¶
UserInputEQ applies the EQ predicate on the "user_input" field.
func UserInputEqualFold ¶
UserInputEqualFold applies the EqualFold predicate on the "user_input" field.
func UserInputGT ¶
UserInputGT applies the GT predicate on the "user_input" field.
func UserInputGTE ¶
UserInputGTE applies the GTE predicate on the "user_input" field.
func UserInputHasPrefix ¶
UserInputHasPrefix applies the HasPrefix predicate on the "user_input" field.
func UserInputHasSuffix ¶
UserInputHasSuffix applies the HasSuffix predicate on the "user_input" field.
func UserInputIn ¶
UserInputIn applies the In predicate on the "user_input" field.
func UserInputIsNil ¶
UserInputIsNil applies the IsNil predicate on the "user_input" field.
func UserInputLT ¶
UserInputLT applies the LT predicate on the "user_input" field.
func UserInputLTE ¶
UserInputLTE applies the LTE predicate on the "user_input" field.
func UserInputNEQ ¶
UserInputNEQ applies the NEQ predicate on the "user_input" field.
func UserInputNotIn ¶
UserInputNotIn applies the NotIn predicate on the "user_input" field.
func UserInputNotNil ¶
UserInputNotNil applies the NotNil predicate on the "user_input" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkMode ¶
WorkMode applies equality check predicate on the "work_mode" field. It's identical to WorkModeEQ.
func WorkModeContains ¶
WorkModeContains applies the Contains predicate on the "work_mode" field.
func WorkModeContainsFold ¶
WorkModeContainsFold applies the ContainsFold predicate on the "work_mode" field.
func WorkModeEQ ¶
WorkModeEQ applies the EQ predicate on the "work_mode" field.
func WorkModeEqualFold ¶
WorkModeEqualFold applies the EqualFold predicate on the "work_mode" field.
func WorkModeGT ¶
WorkModeGT applies the GT predicate on the "work_mode" field.
func WorkModeGTE ¶
WorkModeGTE applies the GTE predicate on the "work_mode" field.
func WorkModeHasPrefix ¶
WorkModeHasPrefix applies the HasPrefix predicate on the "work_mode" field.
func WorkModeHasSuffix ¶
WorkModeHasSuffix applies the HasSuffix predicate on the "work_mode" field.
func WorkModeIn ¶
WorkModeIn applies the In predicate on the "work_mode" field.
func WorkModeIsNil ¶
WorkModeIsNil applies the IsNil predicate on the "work_mode" field.
func WorkModeLT ¶
WorkModeLT applies the LT predicate on the "work_mode" field.
func WorkModeLTE ¶
WorkModeLTE applies the LTE predicate on the "work_mode" field.
func WorkModeNEQ ¶
WorkModeNEQ applies the NEQ predicate on the "work_mode" field.
func WorkModeNotIn ¶
WorkModeNotIn applies the NotIn predicate on the "work_mode" field.
func WorkModeNotNil ¶
WorkModeNotNil applies the NotNil predicate on the "work_mode" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Task queries.
func ByCodeLines ¶
func ByCodeLines(opts ...sql.OrderTermOption) OrderOption
ByCodeLines orders the results by the code_lines field.
func ByCompletion ¶
func ByCompletion(opts ...sql.OrderTermOption) OrderOption
ByCompletion orders the results by the completion field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInputTokens ¶
func ByInputTokens(opts ...sql.OrderTermOption) OrderOption
ByInputTokens orders the results by the input_tokens field.
func ByIsAccept ¶
func ByIsAccept(opts ...sql.OrderTermOption) OrderOption
ByIsAccept orders the results by the is_accept field.
func ByIsSuggested ¶
func ByIsSuggested(opts ...sql.OrderTermOption) OrderOption
ByIsSuggested orders the results by the is_suggested field.
func ByModelField ¶
func ByModelField(field string, opts ...sql.OrderTermOption) OrderOption
ByModelField orders the results by model field.
func ByModelID ¶
func ByModelID(opts ...sql.OrderTermOption) OrderOption
ByModelID orders the results by the model_id field.
func ByModelType ¶
func ByModelType(opts ...sql.OrderTermOption) OrderOption
ByModelType orders the results by the model_type field.
func ByOutputTokens ¶
func ByOutputTokens(opts ...sql.OrderTermOption) OrderOption
ByOutputTokens orders the results by the output_tokens field.
func ByProgramLanguage ¶
func ByProgramLanguage(opts ...sql.OrderTermOption) OrderOption
ByProgramLanguage orders the results by the program_language field.
func ByPrompt ¶
func ByPrompt(opts ...sql.OrderTermOption) OrderOption
ByPrompt orders the results by the prompt field.
func ByRequestID ¶
func ByRequestID(opts ...sql.OrderTermOption) OrderOption
ByRequestID orders the results by the request_id field.
func BySourceCode ¶
func BySourceCode(opts ...sql.OrderTermOption) OrderOption
BySourceCode orders the results by the source_code field.
func ByTaskID ¶
func ByTaskID(opts ...sql.OrderTermOption) OrderOption
ByTaskID orders the results by the task_id field.
func ByTaskRecords ¶
func ByTaskRecords(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTaskRecords orders the results by task_records terms.
func ByTaskRecordsCount ¶
func ByTaskRecordsCount(opts ...sql.OrderTermOption) OrderOption
ByTaskRecordsCount orders the results by task_records count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByUserInput ¶
func ByUserInput(opts ...sql.OrderTermOption) OrderOption
ByUserInput orders the results by the user_input field.
func ByWorkMode ¶
func ByWorkMode(opts ...sql.OrderTermOption) OrderOption
ByWorkMode orders the results by the work_mode field.