Documentation
¶
Index ¶
- Constants
- Variables
- func APIBase(v string) predicate.Model
- func APIBaseContains(v string) predicate.Model
- func APIBaseContainsFold(v string) predicate.Model
- func APIBaseEQ(v string) predicate.Model
- func APIBaseEqualFold(v string) predicate.Model
- func APIBaseGT(v string) predicate.Model
- func APIBaseGTE(v string) predicate.Model
- func APIBaseHasPrefix(v string) predicate.Model
- func APIBaseHasSuffix(v string) predicate.Model
- func APIBaseIn(vs ...string) predicate.Model
- func APIBaseLT(v string) predicate.Model
- func APIBaseLTE(v string) predicate.Model
- func APIBaseNEQ(v string) predicate.Model
- func APIBaseNotIn(vs ...string) predicate.Model
- func APIHeader(v string) predicate.Model
- func APIHeaderContains(v string) predicate.Model
- func APIHeaderContainsFold(v string) predicate.Model
- func APIHeaderEQ(v string) predicate.Model
- func APIHeaderEqualFold(v string) predicate.Model
- func APIHeaderGT(v string) predicate.Model
- func APIHeaderGTE(v string) predicate.Model
- func APIHeaderHasPrefix(v string) predicate.Model
- func APIHeaderHasSuffix(v string) predicate.Model
- func APIHeaderIn(vs ...string) predicate.Model
- func APIHeaderIsNil() predicate.Model
- func APIHeaderLT(v string) predicate.Model
- func APIHeaderLTE(v string) predicate.Model
- func APIHeaderNEQ(v string) predicate.Model
- func APIHeaderNotIn(vs ...string) predicate.Model
- func APIHeaderNotNil() predicate.Model
- func APIKey(v string) predicate.Model
- func APIKeyContains(v string) predicate.Model
- func APIKeyContainsFold(v string) predicate.Model
- func APIKeyEQ(v string) predicate.Model
- func APIKeyEqualFold(v string) predicate.Model
- func APIKeyGT(v string) predicate.Model
- func APIKeyGTE(v string) predicate.Model
- func APIKeyHasPrefix(v string) predicate.Model
- func APIKeyHasSuffix(v string) predicate.Model
- func APIKeyIn(vs ...string) predicate.Model
- func APIKeyIsNil() predicate.Model
- func APIKeyLT(v string) predicate.Model
- func APIKeyLTE(v string) predicate.Model
- func APIKeyNEQ(v string) predicate.Model
- func APIKeyNotIn(vs ...string) predicate.Model
- func APIKeyNotNil() predicate.Model
- func APIVersion(v string) predicate.Model
- func APIVersionContains(v string) predicate.Model
- func APIVersionContainsFold(v string) predicate.Model
- func APIVersionEQ(v string) predicate.Model
- func APIVersionEqualFold(v string) predicate.Model
- func APIVersionGT(v string) predicate.Model
- func APIVersionGTE(v string) predicate.Model
- func APIVersionHasPrefix(v string) predicate.Model
- func APIVersionHasSuffix(v string) predicate.Model
- func APIVersionIn(vs ...string) predicate.Model
- func APIVersionIsNil() predicate.Model
- func APIVersionLT(v string) predicate.Model
- func APIVersionLTE(v string) predicate.Model
- func APIVersionNEQ(v string) predicate.Model
- func APIVersionNotIn(vs ...string) predicate.Model
- func APIVersionNotNil() predicate.Model
- func And(predicates ...predicate.Model) predicate.Model
- func ContextLength(v int) predicate.Model
- func ContextLengthEQ(v int) predicate.Model
- func ContextLengthGT(v int) predicate.Model
- func ContextLengthGTE(v int) predicate.Model
- func ContextLengthIn(vs ...int) predicate.Model
- func ContextLengthIsNil() predicate.Model
- func ContextLengthLT(v int) predicate.Model
- func ContextLengthLTE(v int) predicate.Model
- func ContextLengthNEQ(v int) predicate.Model
- func ContextLengthNotIn(vs ...int) predicate.Model
- func ContextLengthNotNil() predicate.Model
- func CreatedAt(v time.Time) predicate.Model
- func CreatedAtEQ(v time.Time) predicate.Model
- func CreatedAtGT(v time.Time) predicate.Model
- func CreatedAtGTE(v time.Time) predicate.Model
- func CreatedAtIn(vs ...time.Time) predicate.Model
- func CreatedAtLT(v time.Time) predicate.Model
- func CreatedAtLTE(v time.Time) predicate.Model
- func CreatedAtNEQ(v time.Time) predicate.Model
- func CreatedAtNotIn(vs ...time.Time) predicate.Model
- func Description(v string) predicate.Model
- func DescriptionContains(v string) predicate.Model
- func DescriptionContainsFold(v string) predicate.Model
- func DescriptionEQ(v string) predicate.Model
- func DescriptionEqualFold(v string) predicate.Model
- func DescriptionGT(v string) predicate.Model
- func DescriptionGTE(v string) predicate.Model
- func DescriptionHasPrefix(v string) predicate.Model
- func DescriptionHasSuffix(v string) predicate.Model
- func DescriptionIn(vs ...string) predicate.Model
- func DescriptionIsNil() predicate.Model
- func DescriptionLT(v string) predicate.Model
- func DescriptionLTE(v string) predicate.Model
- func DescriptionNEQ(v string) predicate.Model
- func DescriptionNotIn(vs ...string) predicate.Model
- func DescriptionNotNil() predicate.Model
- func HasTasks() predicate.Model
- func HasTasksWith(preds ...predicate.Task) predicate.Model
- func HasUser() predicate.Model
- func HasUserWith(preds ...predicate.User) predicate.Model
- func ID(id uuid.UUID) predicate.Model
- func IDEQ(id uuid.UUID) predicate.Model
- func IDGT(id uuid.UUID) predicate.Model
- func IDGTE(id uuid.UUID) predicate.Model
- func IDIn(ids ...uuid.UUID) predicate.Model
- func IDLT(id uuid.UUID) predicate.Model
- func IDLTE(id uuid.UUID) predicate.Model
- func IDNEQ(id uuid.UUID) predicate.Model
- func IDNotIn(ids ...uuid.UUID) predicate.Model
- func IsInternal(v bool) predicate.Model
- func IsInternalEQ(v bool) predicate.Model
- func IsInternalNEQ(v bool) predicate.Model
- func ModelName(v string) predicate.Model
- func ModelNameContains(v string) predicate.Model
- func ModelNameContainsFold(v string) predicate.Model
- func ModelNameEQ(v string) predicate.Model
- func ModelNameEqualFold(v string) predicate.Model
- func ModelNameGT(v string) predicate.Model
- func ModelNameGTE(v string) predicate.Model
- func ModelNameHasPrefix(v string) predicate.Model
- func ModelNameHasSuffix(v string) predicate.Model
- func ModelNameIn(vs ...string) predicate.Model
- func ModelNameLT(v string) predicate.Model
- func ModelNameLTE(v string) predicate.Model
- func ModelNameNEQ(v string) predicate.Model
- func ModelNameNotIn(vs ...string) predicate.Model
- func ModelType(v consts.ModelType) predicate.Model
- func ModelTypeContains(v consts.ModelType) predicate.Model
- func ModelTypeContainsFold(v consts.ModelType) predicate.Model
- func ModelTypeEQ(v consts.ModelType) predicate.Model
- func ModelTypeEqualFold(v consts.ModelType) predicate.Model
- func ModelTypeGT(v consts.ModelType) predicate.Model
- func ModelTypeGTE(v consts.ModelType) predicate.Model
- func ModelTypeHasPrefix(v consts.ModelType) predicate.Model
- func ModelTypeHasSuffix(v consts.ModelType) predicate.Model
- func ModelTypeIn(vs ...consts.ModelType) predicate.Model
- func ModelTypeLT(v consts.ModelType) predicate.Model
- func ModelTypeLTE(v consts.ModelType) predicate.Model
- func ModelTypeNEQ(v consts.ModelType) predicate.Model
- func ModelTypeNotIn(vs ...consts.ModelType) predicate.Model
- func Not(p predicate.Model) predicate.Model
- func Or(predicates ...predicate.Model) predicate.Model
- func ParametersIsNil() predicate.Model
- func ParametersNotNil() predicate.Model
- func Provider(v consts.ModelProvider) predicate.Model
- func ProviderContains(v consts.ModelProvider) predicate.Model
- func ProviderContainsFold(v consts.ModelProvider) predicate.Model
- func ProviderEQ(v consts.ModelProvider) predicate.Model
- func ProviderEqualFold(v consts.ModelProvider) predicate.Model
- func ProviderGT(v consts.ModelProvider) predicate.Model
- func ProviderGTE(v consts.ModelProvider) predicate.Model
- func ProviderHasPrefix(v consts.ModelProvider) predicate.Model
- func ProviderHasSuffix(v consts.ModelProvider) predicate.Model
- func ProviderIn(vs ...consts.ModelProvider) predicate.Model
- func ProviderLT(v consts.ModelProvider) predicate.Model
- func ProviderLTE(v consts.ModelProvider) predicate.Model
- func ProviderNEQ(v consts.ModelProvider) predicate.Model
- func ProviderNotIn(vs ...consts.ModelProvider) predicate.Model
- func ShowName(v string) predicate.Model
- func ShowNameContains(v string) predicate.Model
- func ShowNameContainsFold(v string) predicate.Model
- func ShowNameEQ(v string) predicate.Model
- func ShowNameEqualFold(v string) predicate.Model
- func ShowNameGT(v string) predicate.Model
- func ShowNameGTE(v string) predicate.Model
- func ShowNameHasPrefix(v string) predicate.Model
- func ShowNameHasSuffix(v string) predicate.Model
- func ShowNameIn(vs ...string) predicate.Model
- func ShowNameIsNil() predicate.Model
- func ShowNameLT(v string) predicate.Model
- func ShowNameLTE(v string) predicate.Model
- func ShowNameNEQ(v string) predicate.Model
- func ShowNameNotIn(vs ...string) predicate.Model
- func ShowNameNotNil() predicate.Model
- func Status(v consts.ModelStatus) predicate.Model
- func StatusContains(v consts.ModelStatus) predicate.Model
- func StatusContainsFold(v consts.ModelStatus) predicate.Model
- func StatusEQ(v consts.ModelStatus) predicate.Model
- func StatusEqualFold(v consts.ModelStatus) predicate.Model
- func StatusGT(v consts.ModelStatus) predicate.Model
- func StatusGTE(v consts.ModelStatus) predicate.Model
- func StatusHasPrefix(v consts.ModelStatus) predicate.Model
- func StatusHasSuffix(v consts.ModelStatus) predicate.Model
- func StatusIn(vs ...consts.ModelStatus) predicate.Model
- func StatusLT(v consts.ModelStatus) predicate.Model
- func StatusLTE(v consts.ModelStatus) predicate.Model
- func StatusNEQ(v consts.ModelStatus) predicate.Model
- func StatusNotIn(vs ...consts.ModelStatus) predicate.Model
- func UpdatedAt(v time.Time) predicate.Model
- func UpdatedAtEQ(v time.Time) predicate.Model
- func UpdatedAtGT(v time.Time) predicate.Model
- func UpdatedAtGTE(v time.Time) predicate.Model
- func UpdatedAtIn(vs ...time.Time) predicate.Model
- func UpdatedAtLT(v time.Time) predicate.Model
- func UpdatedAtLTE(v time.Time) predicate.Model
- func UpdatedAtNEQ(v time.Time) predicate.Model
- func UpdatedAtNotIn(vs ...time.Time) predicate.Model
- func UserID(v uuid.UUID) predicate.Model
- func UserIDEQ(v uuid.UUID) predicate.Model
- func UserIDIn(vs ...uuid.UUID) predicate.Model
- func UserIDIsNil() predicate.Model
- func UserIDNEQ(v uuid.UUID) predicate.Model
- func UserIDNotIn(vs ...uuid.UUID) predicate.Model
- func UserIDNotNil() predicate.Model
- func ValidColumn(column string) bool
- type OrderOption
- func ByAPIBase(opts ...sql.OrderTermOption) OrderOption
- func ByAPIHeader(opts ...sql.OrderTermOption) OrderOption
- func ByAPIKey(opts ...sql.OrderTermOption) OrderOption
- func ByAPIVersion(opts ...sql.OrderTermOption) OrderOption
- func ByContextLength(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsInternal(opts ...sql.OrderTermOption) OrderOption
- func ByModelName(opts ...sql.OrderTermOption) OrderOption
- func ByModelType(opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func ByShowName(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the model type in the database. Label = "model" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldModelName holds the string denoting the model_name field in the database. FieldModelName = "model_name" // FieldModelType holds the string denoting the model_type field in the database. FieldModelType = "model_type" // FieldShowName holds the string denoting the show_name field in the database. FieldShowName = "show_name" // FieldAPIBase holds the string denoting the api_base field in the database. FieldAPIBase = "api_base" // FieldAPIKey holds the string denoting the api_key field in the database. FieldAPIKey = "api_key" // FieldAPIVersion holds the string denoting the api_version field in the database. FieldAPIVersion = "api_version" // FieldAPIHeader holds the string denoting the api_header field in the database. FieldAPIHeader = "api_header" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldIsInternal holds the string denoting the is_internal field in the database. FieldIsInternal = "is_internal" // FieldProvider holds the string denoting the provider field in the database. FieldProvider = "provider" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldParameters holds the string denoting the parameters field in the database. FieldParameters = "parameters" // FieldContextLength holds the string denoting the context_length field in the database. FieldContextLength = "context_length" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the model in the database. Table = "models" // TasksTable is the table that holds the tasks relation/edge. TasksTable = "tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // TasksColumn is the table column denoting the tasks relation/edge. TasksColumn = "model_id" // UserTable is the table that holds the user relation/edge. UserTable = "models" // 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" )
Variables ¶
var ( // DefaultIsInternal holds the default value on creation for the "is_internal" field. DefaultIsInternal bool // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus consts.ModelStatus // 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, FieldUserID, FieldModelName, FieldModelType, FieldShowName, FieldAPIBase, FieldAPIKey, FieldAPIVersion, FieldAPIHeader, FieldDescription, FieldIsInternal, FieldProvider, FieldStatus, FieldParameters, FieldContextLength, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for model fields.
Functions ¶
func APIBase ¶
APIBase applies equality check predicate on the "api_base" field. It's identical to APIBaseEQ.
func APIBaseContains ¶
APIBaseContains applies the Contains predicate on the "api_base" field.
func APIBaseContainsFold ¶
APIBaseContainsFold applies the ContainsFold predicate on the "api_base" field.
func APIBaseEqualFold ¶
APIBaseEqualFold applies the EqualFold predicate on the "api_base" field.
func APIBaseGTE ¶
APIBaseGTE applies the GTE predicate on the "api_base" field.
func APIBaseHasPrefix ¶
APIBaseHasPrefix applies the HasPrefix predicate on the "api_base" field.
func APIBaseHasSuffix ¶
APIBaseHasSuffix applies the HasSuffix predicate on the "api_base" field.
func APIBaseLTE ¶
APIBaseLTE applies the LTE predicate on the "api_base" field.
func APIBaseNEQ ¶
APIBaseNEQ applies the NEQ predicate on the "api_base" field.
func APIBaseNotIn ¶
APIBaseNotIn applies the NotIn predicate on the "api_base" field.
func APIHeader ¶
APIHeader applies equality check predicate on the "api_header" field. It's identical to APIHeaderEQ.
func APIHeaderContains ¶
APIHeaderContains applies the Contains predicate on the "api_header" field.
func APIHeaderContainsFold ¶
APIHeaderContainsFold applies the ContainsFold predicate on the "api_header" field.
func APIHeaderEQ ¶
APIHeaderEQ applies the EQ predicate on the "api_header" field.
func APIHeaderEqualFold ¶
APIHeaderEqualFold applies the EqualFold predicate on the "api_header" field.
func APIHeaderGT ¶
APIHeaderGT applies the GT predicate on the "api_header" field.
func APIHeaderGTE ¶
APIHeaderGTE applies the GTE predicate on the "api_header" field.
func APIHeaderHasPrefix ¶
APIHeaderHasPrefix applies the HasPrefix predicate on the "api_header" field.
func APIHeaderHasSuffix ¶
APIHeaderHasSuffix applies the HasSuffix predicate on the "api_header" field.
func APIHeaderIn ¶
APIHeaderIn applies the In predicate on the "api_header" field.
func APIHeaderIsNil ¶
APIHeaderIsNil applies the IsNil predicate on the "api_header" field.
func APIHeaderLT ¶
APIHeaderLT applies the LT predicate on the "api_header" field.
func APIHeaderLTE ¶
APIHeaderLTE applies the LTE predicate on the "api_header" field.
func APIHeaderNEQ ¶
APIHeaderNEQ applies the NEQ predicate on the "api_header" field.
func APIHeaderNotIn ¶
APIHeaderNotIn applies the NotIn predicate on the "api_header" field.
func APIHeaderNotNil ¶
APIHeaderNotNil applies the NotNil predicate on the "api_header" field.
func APIKey ¶
APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
func APIKeyContains ¶
APIKeyContains applies the Contains predicate on the "api_key" field.
func APIKeyContainsFold ¶
APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
func APIKeyEqualFold ¶
APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
func APIKeyHasPrefix ¶
APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
func APIKeyHasSuffix ¶
APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
func APIKeyIsNil ¶
APIKeyIsNil applies the IsNil predicate on the "api_key" field.
func APIKeyNotIn ¶
APIKeyNotIn applies the NotIn predicate on the "api_key" field.
func APIKeyNotNil ¶
APIKeyNotNil applies the NotNil predicate on the "api_key" field.
func APIVersion ¶
APIVersion applies equality check predicate on the "api_version" field. It's identical to APIVersionEQ.
func APIVersionContains ¶
APIVersionContains applies the Contains predicate on the "api_version" field.
func APIVersionContainsFold ¶
APIVersionContainsFold applies the ContainsFold predicate on the "api_version" field.
func APIVersionEQ ¶
APIVersionEQ applies the EQ predicate on the "api_version" field.
func APIVersionEqualFold ¶
APIVersionEqualFold applies the EqualFold predicate on the "api_version" field.
func APIVersionGT ¶
APIVersionGT applies the GT predicate on the "api_version" field.
func APIVersionGTE ¶
APIVersionGTE applies the GTE predicate on the "api_version" field.
func APIVersionHasPrefix ¶
APIVersionHasPrefix applies the HasPrefix predicate on the "api_version" field.
func APIVersionHasSuffix ¶
APIVersionHasSuffix applies the HasSuffix predicate on the "api_version" field.
func APIVersionIn ¶
APIVersionIn applies the In predicate on the "api_version" field.
func APIVersionIsNil ¶
APIVersionIsNil applies the IsNil predicate on the "api_version" field.
func APIVersionLT ¶
APIVersionLT applies the LT predicate on the "api_version" field.
func APIVersionLTE ¶
APIVersionLTE applies the LTE predicate on the "api_version" field.
func APIVersionNEQ ¶
APIVersionNEQ applies the NEQ predicate on the "api_version" field.
func APIVersionNotIn ¶
APIVersionNotIn applies the NotIn predicate on the "api_version" field.
func APIVersionNotNil ¶
APIVersionNotNil applies the NotNil predicate on the "api_version" field.
func ContextLength ¶
ContextLength applies equality check predicate on the "context_length" field. It's identical to ContextLengthEQ.
func ContextLengthEQ ¶
ContextLengthEQ applies the EQ predicate on the "context_length" field.
func ContextLengthGT ¶
ContextLengthGT applies the GT predicate on the "context_length" field.
func ContextLengthGTE ¶
ContextLengthGTE applies the GTE predicate on the "context_length" field.
func ContextLengthIn ¶
ContextLengthIn applies the In predicate on the "context_length" field.
func ContextLengthIsNil ¶
ContextLengthIsNil applies the IsNil predicate on the "context_length" field.
func ContextLengthLT ¶
ContextLengthLT applies the LT predicate on the "context_length" field.
func ContextLengthLTE ¶
ContextLengthLTE applies the LTE predicate on the "context_length" field.
func ContextLengthNEQ ¶
ContextLengthNEQ applies the NEQ predicate on the "context_length" field.
func ContextLengthNotIn ¶
ContextLengthNotIn applies the NotIn predicate on the "context_length" field.
func ContextLengthNotNil ¶
ContextLengthNotNil applies the NotNil predicate on the "context_length" 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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" 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 IsInternal ¶
IsInternal applies equality check predicate on the "is_internal" field. It's identical to IsInternalEQ.
func IsInternalEQ ¶
IsInternalEQ applies the EQ predicate on the "is_internal" field.
func IsInternalNEQ ¶
IsInternalNEQ applies the NEQ predicate on the "is_internal" field.
func ModelName ¶
ModelName applies equality check predicate on the "model_name" field. It's identical to ModelNameEQ.
func ModelNameContains ¶
ModelNameContains applies the Contains predicate on the "model_name" field.
func ModelNameContainsFold ¶
ModelNameContainsFold applies the ContainsFold predicate on the "model_name" field.
func ModelNameEQ ¶
ModelNameEQ applies the EQ predicate on the "model_name" field.
func ModelNameEqualFold ¶
ModelNameEqualFold applies the EqualFold predicate on the "model_name" field.
func ModelNameGT ¶
ModelNameGT applies the GT predicate on the "model_name" field.
func ModelNameGTE ¶
ModelNameGTE applies the GTE predicate on the "model_name" field.
func ModelNameHasPrefix ¶
ModelNameHasPrefix applies the HasPrefix predicate on the "model_name" field.
func ModelNameHasSuffix ¶
ModelNameHasSuffix applies the HasSuffix predicate on the "model_name" field.
func ModelNameIn ¶
ModelNameIn applies the In predicate on the "model_name" field.
func ModelNameLT ¶
ModelNameLT applies the LT predicate on the "model_name" field.
func ModelNameLTE ¶
ModelNameLTE applies the LTE predicate on the "model_name" field.
func ModelNameNEQ ¶
ModelNameNEQ applies the NEQ predicate on the "model_name" field.
func ModelNameNotIn ¶
ModelNameNotIn applies the NotIn predicate on the "model_name" 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 ParametersIsNil ¶
ParametersIsNil applies the IsNil predicate on the "parameters" field.
func ParametersNotNil ¶
ParametersNotNil applies the NotNil predicate on the "parameters" field.
func Provider ¶
func Provider(v consts.ModelProvider) predicate.Model
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶
func ProviderContains(v consts.ModelProvider) predicate.Model
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶
func ProviderContainsFold(v consts.ModelProvider) predicate.Model
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶
func ProviderEQ(v consts.ModelProvider) predicate.Model
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶
func ProviderEqualFold(v consts.ModelProvider) predicate.Model
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶
func ProviderGT(v consts.ModelProvider) predicate.Model
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶
func ProviderGTE(v consts.ModelProvider) predicate.Model
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶
func ProviderHasPrefix(v consts.ModelProvider) predicate.Model
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶
func ProviderHasSuffix(v consts.ModelProvider) predicate.Model
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶
func ProviderIn(vs ...consts.ModelProvider) predicate.Model
ProviderIn applies the In predicate on the "provider" field.
func ProviderLT ¶
func ProviderLT(v consts.ModelProvider) predicate.Model
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶
func ProviderLTE(v consts.ModelProvider) predicate.Model
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶
func ProviderNEQ(v consts.ModelProvider) predicate.Model
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
func ProviderNotIn(vs ...consts.ModelProvider) predicate.Model
ProviderNotIn applies the NotIn predicate on the "provider" field.
func ShowName ¶
ShowName applies equality check predicate on the "show_name" field. It's identical to ShowNameEQ.
func ShowNameContains ¶
ShowNameContains applies the Contains predicate on the "show_name" field.
func ShowNameContainsFold ¶
ShowNameContainsFold applies the ContainsFold predicate on the "show_name" field.
func ShowNameEQ ¶
ShowNameEQ applies the EQ predicate on the "show_name" field.
func ShowNameEqualFold ¶
ShowNameEqualFold applies the EqualFold predicate on the "show_name" field.
func ShowNameGT ¶
ShowNameGT applies the GT predicate on the "show_name" field.
func ShowNameGTE ¶
ShowNameGTE applies the GTE predicate on the "show_name" field.
func ShowNameHasPrefix ¶
ShowNameHasPrefix applies the HasPrefix predicate on the "show_name" field.
func ShowNameHasSuffix ¶
ShowNameHasSuffix applies the HasSuffix predicate on the "show_name" field.
func ShowNameIn ¶
ShowNameIn applies the In predicate on the "show_name" field.
func ShowNameIsNil ¶
ShowNameIsNil applies the IsNil predicate on the "show_name" field.
func ShowNameLT ¶
ShowNameLT applies the LT predicate on the "show_name" field.
func ShowNameLTE ¶
ShowNameLTE applies the LTE predicate on the "show_name" field.
func ShowNameNEQ ¶
ShowNameNEQ applies the NEQ predicate on the "show_name" field.
func ShowNameNotIn ¶
ShowNameNotIn applies the NotIn predicate on the "show_name" field.
func ShowNameNotNil ¶
ShowNameNotNil applies the NotNil predicate on the "show_name" field.
func Status ¶
func Status(v consts.ModelStatus) predicate.Model
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v consts.ModelStatus) predicate.Model
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v consts.ModelStatus) predicate.Model
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v consts.ModelStatus) predicate.Model
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v consts.ModelStatus) predicate.Model
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v consts.ModelStatus) predicate.Model
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v consts.ModelStatus) predicate.Model
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v consts.ModelStatus) predicate.Model
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v consts.ModelStatus) predicate.Model
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...consts.ModelStatus) predicate.Model
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v consts.ModelStatus) predicate.Model
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v consts.ModelStatus) predicate.Model
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v consts.ModelStatus) predicate.Model
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...consts.ModelStatus) predicate.Model
StatusNotIn applies the NotIn predicate on the "status" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Model queries.
func ByAPIBase ¶
func ByAPIBase(opts ...sql.OrderTermOption) OrderOption
ByAPIBase orders the results by the api_base field.
func ByAPIHeader ¶
func ByAPIHeader(opts ...sql.OrderTermOption) OrderOption
ByAPIHeader orders the results by the api_header field.
func ByAPIKey ¶
func ByAPIKey(opts ...sql.OrderTermOption) OrderOption
ByAPIKey orders the results by the api_key field.
func ByAPIVersion ¶
func ByAPIVersion(opts ...sql.OrderTermOption) OrderOption
ByAPIVersion orders the results by the api_version field.
func ByContextLength ¶
func ByContextLength(opts ...sql.OrderTermOption) OrderOption
ByContextLength orders the results by the context_length field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsInternal ¶
func ByIsInternal(opts ...sql.OrderTermOption) OrderOption
ByIsInternal orders the results by the is_internal field.
func ByModelName ¶
func ByModelName(opts ...sql.OrderTermOption) OrderOption
ByModelName orders the results by the model_name field.
func ByModelType ¶
func ByModelType(opts ...sql.OrderTermOption) OrderOption
ByModelType orders the results by the model_type field.
func ByProvider ¶
func ByProvider(opts ...sql.OrderTermOption) OrderOption
ByProvider orders the results by the provider field.
func ByShowName ¶
func ByShowName(opts ...sql.OrderTermOption) OrderOption
ByShowName orders the results by the show_name field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTasks ¶
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func 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.