Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Team) predicate.Team
- func CreatedAt(v time.Time) predicate.Team
- func CreatedAtEQ(v time.Time) predicate.Team
- func CreatedAtGT(v time.Time) predicate.Team
- func CreatedAtGTE(v time.Time) predicate.Team
- func CreatedAtIn(vs ...time.Time) predicate.Team
- func CreatedAtLT(v time.Time) predicate.Team
- func CreatedAtLTE(v time.Time) predicate.Team
- func CreatedAtNEQ(v time.Time) predicate.Team
- func CreatedAtNotIn(vs ...time.Time) predicate.Team
- func DeletedAt(v time.Time) predicate.Team
- func DeletedAtEQ(v time.Time) predicate.Team
- func DeletedAtGT(v time.Time) predicate.Team
- func DeletedAtGTE(v time.Time) predicate.Team
- func DeletedAtIn(vs ...time.Time) predicate.Team
- func DeletedAtIsNil() predicate.Team
- func DeletedAtLT(v time.Time) predicate.Team
- func DeletedAtLTE(v time.Time) predicate.Team
- func DeletedAtNEQ(v time.Time) predicate.Team
- func DeletedAtNotIn(vs ...time.Time) predicate.Team
- func DeletedAtNotNil() predicate.Team
- func HasExtensionImageArchives() predicate.Team
- func HasExtensionImageArchivesWith(preds ...predicate.TeamExtensionImageArchive) predicate.Team
- func HasGroups() predicate.Team
- func HasGroupsWith(preds ...predicate.TeamGroup) predicate.Team
- func HasImages() predicate.Team
- func HasImagesWith(preds ...predicate.Image) predicate.Team
- func HasMcpUpstreams() predicate.Team
- func HasMcpUpstreamsWith(preds ...predicate.MCPUpstream) predicate.Team
- func HasMembers() predicate.Team
- func HasMembersWith(preds ...predicate.User) predicate.Team
- func HasModels() predicate.Team
- func HasModelsWith(preds ...predicate.Model) predicate.Team
- func HasTeamImages() predicate.Team
- func HasTeamImagesWith(preds ...predicate.TeamImage) predicate.Team
- func HasTeamMembers() predicate.Team
- func HasTeamMembersWith(preds ...predicate.TeamMember) predicate.Team
- func HasTeamModels() predicate.Team
- func HasTeamModelsWith(preds ...predicate.TeamModel) predicate.Team
- func ID(id uuid.UUID) predicate.Team
- func IDEQ(id uuid.UUID) predicate.Team
- func IDGT(id uuid.UUID) predicate.Team
- func IDGTE(id uuid.UUID) predicate.Team
- func IDIn(ids ...uuid.UUID) predicate.Team
- func IDLT(id uuid.UUID) predicate.Team
- func IDLTE(id uuid.UUID) predicate.Team
- func IDNEQ(id uuid.UUID) predicate.Team
- func IDNotIn(ids ...uuid.UUID) predicate.Team
- func MemberLimit(v int) predicate.Team
- func MemberLimitEQ(v int) predicate.Team
- func MemberLimitGT(v int) predicate.Team
- func MemberLimitGTE(v int) predicate.Team
- func MemberLimitIn(vs ...int) predicate.Team
- func MemberLimitLT(v int) predicate.Team
- func MemberLimitLTE(v int) predicate.Team
- func MemberLimitNEQ(v int) predicate.Team
- func MemberLimitNotIn(vs ...int) predicate.Team
- func Name(v string) predicate.Team
- func NameContains(v string) predicate.Team
- func NameContainsFold(v string) predicate.Team
- func NameEQ(v string) predicate.Team
- func NameEqualFold(v string) predicate.Team
- func NameGT(v string) predicate.Team
- func NameGTE(v string) predicate.Team
- func NameHasPrefix(v string) predicate.Team
- func NameHasSuffix(v string) predicate.Team
- func NameIn(vs ...string) predicate.Team
- func NameLT(v string) predicate.Team
- func NameLTE(v string) predicate.Team
- func NameNEQ(v string) predicate.Team
- func NameNotIn(vs ...string) predicate.Team
- func Not(p predicate.Team) predicate.Team
- func Or(predicates ...predicate.Team) predicate.Team
- func TaskConcurrencyLimit(v int) predicate.Team
- func TaskConcurrencyLimitEQ(v int) predicate.Team
- func TaskConcurrencyLimitGT(v int) predicate.Team
- func TaskConcurrencyLimitGTE(v int) predicate.Team
- func TaskConcurrencyLimitIn(vs ...int) predicate.Team
- func TaskConcurrencyLimitLT(v int) predicate.Team
- func TaskConcurrencyLimitLTE(v int) predicate.Team
- func TaskConcurrencyLimitNEQ(v int) predicate.Team
- func TaskConcurrencyLimitNotIn(vs ...int) predicate.Team
- func TaskVMRecycleEnabled(v bool) predicate.Team
- func TaskVMRecycleEnabledEQ(v bool) predicate.Team
- func TaskVMRecycleEnabledNEQ(v bool) predicate.Team
- func TaskVMRecycleSeconds(v int) predicate.Team
- func TaskVMRecycleSecondsEQ(v int) predicate.Team
- func TaskVMRecycleSecondsGT(v int) predicate.Team
- func TaskVMRecycleSecondsGTE(v int) predicate.Team
- func TaskVMRecycleSecondsIn(vs ...int) predicate.Team
- func TaskVMRecycleSecondsLT(v int) predicate.Team
- func TaskVMRecycleSecondsLTE(v int) predicate.Team
- func TaskVMRecycleSecondsNEQ(v int) predicate.Team
- func TaskVMRecycleSecondsNotIn(vs ...int) predicate.Team
- func TaskVMSleepEnabled(v bool) predicate.Team
- func TaskVMSleepEnabledEQ(v bool) predicate.Team
- func TaskVMSleepEnabledNEQ(v bool) predicate.Team
- func TaskVMSleepSeconds(v int) predicate.Team
- func TaskVMSleepSecondsEQ(v int) predicate.Team
- func TaskVMSleepSecondsGT(v int) predicate.Team
- func TaskVMSleepSecondsGTE(v int) predicate.Team
- func TaskVMSleepSecondsIn(vs ...int) predicate.Team
- func TaskVMSleepSecondsLT(v int) predicate.Team
- func TaskVMSleepSecondsLTE(v int) predicate.Team
- func TaskVMSleepSecondsNEQ(v int) predicate.Team
- func TaskVMSleepSecondsNotIn(vs ...int) predicate.Team
- func UpdatedAt(v time.Time) predicate.Team
- func UpdatedAtEQ(v time.Time) predicate.Team
- func UpdatedAtGT(v time.Time) predicate.Team
- func UpdatedAtGTE(v time.Time) predicate.Team
- func UpdatedAtIn(vs ...time.Time) predicate.Team
- func UpdatedAtLT(v time.Time) predicate.Team
- func UpdatedAtLTE(v time.Time) predicate.Team
- func UpdatedAtNEQ(v time.Time) predicate.Team
- func UpdatedAtNotIn(vs ...time.Time) predicate.Team
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExtensionImageArchives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByExtensionImageArchivesCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByImagesCount(opts ...sql.OrderTermOption) OrderOption
- func ByMcpUpstreams(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMcpUpstreamsCount(opts ...sql.OrderTermOption) OrderOption
- func ByMemberLimit(opts ...sql.OrderTermOption) OrderOption
- func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByModels(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByModelsCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByTaskConcurrencyLimit(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVMRecycleEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVMRecycleSeconds(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVMSleepEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVMSleepSeconds(opts ...sql.OrderTermOption) OrderOption
- func ByTeamImages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTeamImagesCount(opts ...sql.OrderTermOption) OrderOption
- func ByTeamMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTeamMembersCount(opts ...sql.OrderTermOption) OrderOption
- func ByTeamModels(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTeamModelsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the team type in the database. Label = "team" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldMemberLimit holds the string denoting the member_limit field in the database. FieldMemberLimit = "member_limit" // FieldTaskConcurrencyLimit holds the string denoting the task_concurrency_limit field in the database. FieldTaskConcurrencyLimit = "task_concurrency_limit" // FieldTaskVMSleepEnabled holds the string denoting the task_vm_sleep_enabled field in the database. FieldTaskVMSleepEnabled = "task_vm_sleep_enabled" // FieldTaskVMSleepSeconds holds the string denoting the task_vm_sleep_seconds field in the database. FieldTaskVMSleepSeconds = "task_vm_sleep_seconds" // FieldTaskVMRecycleEnabled holds the string denoting the task_vm_recycle_enabled field in the database. FieldTaskVMRecycleEnabled = "task_vm_recycle_enabled" // FieldTaskVMRecycleSeconds holds the string denoting the task_vm_recycle_seconds field in the database. FieldTaskVMRecycleSeconds = "task_vm_recycle_seconds" // 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" // EdgeGroups holds the string denoting the groups edge name in mutations. EdgeGroups = "groups" // EdgeMembers holds the string denoting the members edge name in mutations. EdgeMembers = "members" // EdgeModels holds the string denoting the models edge name in mutations. EdgeModels = "models" // EdgeImages holds the string denoting the images edge name in mutations. EdgeImages = "images" // EdgeExtensionImageArchives holds the string denoting the extension_image_archives edge name in mutations. EdgeExtensionImageArchives = "extension_image_archives" // EdgeMcpUpstreams holds the string denoting the mcp_upstreams edge name in mutations. EdgeMcpUpstreams = "mcp_upstreams" // EdgeTeamMembers holds the string denoting the team_members edge name in mutations. EdgeTeamMembers = "team_members" // EdgeTeamModels holds the string denoting the team_models edge name in mutations. EdgeTeamModels = "team_models" // EdgeTeamImages holds the string denoting the team_images edge name in mutations. EdgeTeamImages = "team_images" // Table holds the table name of the team in the database. Table = "teams" // GroupsTable is the table that holds the groups relation/edge. GroupsTable = "team_groups" // GroupsInverseTable is the table name for the TeamGroup entity. // It exists in this package in order to avoid circular dependency with the "teamgroup" package. GroupsInverseTable = "team_groups" // GroupsColumn is the table column denoting the groups relation/edge. GroupsColumn = "team_id" // MembersTable is the table that holds the members relation/edge. The primary key declared below. MembersTable = "team_members" // MembersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. MembersInverseTable = "users" // ModelsTable is the table that holds the models relation/edge. The primary key declared below. ModelsTable = "team_models" // ModelsInverseTable is the table name for the Model entity. // It exists in this package in order to avoid circular dependency with the "model" package. ModelsInverseTable = "models" // ImagesTable is the table that holds the images relation/edge. The primary key declared below. ImagesTable = "team_images" // ImagesInverseTable is the table name for the Image entity. // It exists in this package in order to avoid circular dependency with the "image" package. ImagesInverseTable = "images" // ExtensionImageArchivesTable is the table that holds the extension_image_archives relation/edge. ExtensionImageArchivesTable = "team_extension_image_archives" // ExtensionImageArchivesInverseTable is the table name for the TeamExtensionImageArchive entity. // It exists in this package in order to avoid circular dependency with the "teamextensionimagearchive" package. ExtensionImageArchivesInverseTable = "team_extension_image_archives" // ExtensionImageArchivesColumn is the table column denoting the extension_image_archives relation/edge. ExtensionImageArchivesColumn = "team_id" // McpUpstreamsTable is the table that holds the mcp_upstreams relation/edge. McpUpstreamsTable = "mcp_upstreams" // McpUpstreamsInverseTable is the table name for the MCPUpstream entity. // It exists in this package in order to avoid circular dependency with the "mcpupstream" package. McpUpstreamsInverseTable = "mcp_upstreams" // McpUpstreamsColumn is the table column denoting the mcp_upstreams relation/edge. McpUpstreamsColumn = "team_id" // TeamMembersTable is the table that holds the team_members relation/edge. TeamMembersTable = "team_members" // TeamMembersInverseTable is the table name for the TeamMember entity. // It exists in this package in order to avoid circular dependency with the "teammember" package. TeamMembersInverseTable = "team_members" // TeamMembersColumn is the table column denoting the team_members relation/edge. TeamMembersColumn = "team_id" // TeamModelsTable is the table that holds the team_models relation/edge. TeamModelsTable = "team_models" // TeamModelsInverseTable is the table name for the TeamModel entity. // It exists in this package in order to avoid circular dependency with the "teammodel" package. TeamModelsInverseTable = "team_models" // TeamModelsColumn is the table column denoting the team_models relation/edge. TeamModelsColumn = "team_id" // TeamImagesTable is the table that holds the team_images relation/edge. TeamImagesTable = "team_images" // TeamImagesInverseTable is the table name for the TeamImage entity. // It exists in this package in order to avoid circular dependency with the "teamimage" package. TeamImagesInverseTable = "team_images" // TeamImagesColumn is the table column denoting the team_images relation/edge. TeamImagesColumn = "team_id" )
Variables ¶
var ( // MembersPrimaryKey and MembersColumn2 are the table columns denoting the // primary key for the members relation (M2M). MembersPrimaryKey = []string{"user_id", "team_id"} // ModelsPrimaryKey and ModelsColumn2 are the table columns denoting the // primary key for the models relation (M2M). ModelsPrimaryKey = []string{"team_id", "model_id"} // ImagesPrimaryKey and ImagesColumn2 are the table columns denoting the // primary key for the images relation (M2M). ImagesPrimaryKey = []string{"team_id", "image_id"} )
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultTaskConcurrencyLimit holds the default value on creation for the "task_concurrency_limit" field. DefaultTaskConcurrencyLimit int // TaskConcurrencyLimitValidator is a validator for the "task_concurrency_limit" field. It is called by the builders before save. TaskConcurrencyLimitValidator func(int) error // DefaultTaskVMSleepEnabled holds the default value on creation for the "task_vm_sleep_enabled" field. DefaultTaskVMSleepEnabled bool // DefaultTaskVMSleepSeconds holds the default value on creation for the "task_vm_sleep_seconds" field. DefaultTaskVMSleepSeconds int // DefaultTaskVMRecycleEnabled holds the default value on creation for the "task_vm_recycle_enabled" field. DefaultTaskVMRecycleEnabled bool // DefaultTaskVMRecycleSeconds holds the default value on creation for the "task_vm_recycle_seconds" field. DefaultTaskVMRecycleSeconds int // 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 )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldName, FieldMemberLimit, FieldTaskConcurrencyLimit, FieldTaskVMSleepEnabled, FieldTaskVMSleepSeconds, FieldTaskVMRecycleEnabled, FieldTaskVMRecycleSeconds, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for team fields.
Functions ¶
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 DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasExtensionImageArchives ¶
HasExtensionImageArchives applies the HasEdge predicate on the "extension_image_archives" edge.
func HasExtensionImageArchivesWith ¶
func HasExtensionImageArchivesWith(preds ...predicate.TeamExtensionImageArchive) predicate.Team
HasExtensionImageArchivesWith applies the HasEdge predicate on the "extension_image_archives" edge with a given conditions (other predicates).
func HasGroupsWith ¶
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasImagesWith ¶
HasImagesWith applies the HasEdge predicate on the "images" edge with a given conditions (other predicates).
func HasMcpUpstreams ¶
HasMcpUpstreams applies the HasEdge predicate on the "mcp_upstreams" edge.
func HasMcpUpstreamsWith ¶
func HasMcpUpstreamsWith(preds ...predicate.MCPUpstream) predicate.Team
HasMcpUpstreamsWith applies the HasEdge predicate on the "mcp_upstreams" edge with a given conditions (other predicates).
func HasMembers ¶
HasMembers applies the HasEdge predicate on the "members" edge.
func HasMembersWith ¶
HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).
func HasModelsWith ¶
HasModelsWith applies the HasEdge predicate on the "models" edge with a given conditions (other predicates).
func HasTeamImages ¶
HasTeamImages applies the HasEdge predicate on the "team_images" edge.
func HasTeamImagesWith ¶
HasTeamImagesWith applies the HasEdge predicate on the "team_images" edge with a given conditions (other predicates).
func HasTeamMembers ¶
HasTeamMembers applies the HasEdge predicate on the "team_members" edge.
func HasTeamMembersWith ¶
func HasTeamMembersWith(preds ...predicate.TeamMember) predicate.Team
HasTeamMembersWith applies the HasEdge predicate on the "team_members" edge with a given conditions (other predicates).
func HasTeamModels ¶
HasTeamModels applies the HasEdge predicate on the "team_models" edge.
func HasTeamModelsWith ¶
HasTeamModelsWith applies the HasEdge predicate on the "team_models" edge with a given conditions (other predicates).
func MemberLimit ¶
MemberLimit applies equality check predicate on the "member_limit" field. It's identical to MemberLimitEQ.
func MemberLimitEQ ¶
MemberLimitEQ applies the EQ predicate on the "member_limit" field.
func MemberLimitGT ¶
MemberLimitGT applies the GT predicate on the "member_limit" field.
func MemberLimitGTE ¶
MemberLimitGTE applies the GTE predicate on the "member_limit" field.
func MemberLimitIn ¶
MemberLimitIn applies the In predicate on the "member_limit" field.
func MemberLimitLT ¶
MemberLimitLT applies the LT predicate on the "member_limit" field.
func MemberLimitLTE ¶
MemberLimitLTE applies the LTE predicate on the "member_limit" field.
func MemberLimitNEQ ¶
MemberLimitNEQ applies the NEQ predicate on the "member_limit" field.
func MemberLimitNotIn ¶
MemberLimitNotIn applies the NotIn predicate on the "member_limit" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func TaskConcurrencyLimit ¶
TaskConcurrencyLimit applies equality check predicate on the "task_concurrency_limit" field. It's identical to TaskConcurrencyLimitEQ.
func TaskConcurrencyLimitEQ ¶
TaskConcurrencyLimitEQ applies the EQ predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitGT ¶
TaskConcurrencyLimitGT applies the GT predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitGTE ¶
TaskConcurrencyLimitGTE applies the GTE predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitIn ¶
TaskConcurrencyLimitIn applies the In predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitLT ¶
TaskConcurrencyLimitLT applies the LT predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitLTE ¶
TaskConcurrencyLimitLTE applies the LTE predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitNEQ ¶
TaskConcurrencyLimitNEQ applies the NEQ predicate on the "task_concurrency_limit" field.
func TaskConcurrencyLimitNotIn ¶
TaskConcurrencyLimitNotIn applies the NotIn predicate on the "task_concurrency_limit" field.
func TaskVMRecycleEnabled ¶
TaskVMRecycleEnabled applies equality check predicate on the "task_vm_recycle_enabled" field. It's identical to TaskVMRecycleEnabledEQ.
func TaskVMRecycleEnabledEQ ¶
TaskVMRecycleEnabledEQ applies the EQ predicate on the "task_vm_recycle_enabled" field.
func TaskVMRecycleEnabledNEQ ¶
TaskVMRecycleEnabledNEQ applies the NEQ predicate on the "task_vm_recycle_enabled" field.
func TaskVMRecycleSeconds ¶
TaskVMRecycleSeconds applies equality check predicate on the "task_vm_recycle_seconds" field. It's identical to TaskVMRecycleSecondsEQ.
func TaskVMRecycleSecondsEQ ¶
TaskVMRecycleSecondsEQ applies the EQ predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsGT ¶
TaskVMRecycleSecondsGT applies the GT predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsGTE ¶
TaskVMRecycleSecondsGTE applies the GTE predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsIn ¶
TaskVMRecycleSecondsIn applies the In predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsLT ¶
TaskVMRecycleSecondsLT applies the LT predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsLTE ¶
TaskVMRecycleSecondsLTE applies the LTE predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsNEQ ¶
TaskVMRecycleSecondsNEQ applies the NEQ predicate on the "task_vm_recycle_seconds" field.
func TaskVMRecycleSecondsNotIn ¶
TaskVMRecycleSecondsNotIn applies the NotIn predicate on the "task_vm_recycle_seconds" field.
func TaskVMSleepEnabled ¶
TaskVMSleepEnabled applies equality check predicate on the "task_vm_sleep_enabled" field. It's identical to TaskVMSleepEnabledEQ.
func TaskVMSleepEnabledEQ ¶
TaskVMSleepEnabledEQ applies the EQ predicate on the "task_vm_sleep_enabled" field.
func TaskVMSleepEnabledNEQ ¶
TaskVMSleepEnabledNEQ applies the NEQ predicate on the "task_vm_sleep_enabled" field.
func TaskVMSleepSeconds ¶
TaskVMSleepSeconds applies equality check predicate on the "task_vm_sleep_seconds" field. It's identical to TaskVMSleepSecondsEQ.
func TaskVMSleepSecondsEQ ¶
TaskVMSleepSecondsEQ applies the EQ predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsGT ¶
TaskVMSleepSecondsGT applies the GT predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsGTE ¶
TaskVMSleepSecondsGTE applies the GTE predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsIn ¶
TaskVMSleepSecondsIn applies the In predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsLT ¶
TaskVMSleepSecondsLT applies the LT predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsLTE ¶
TaskVMSleepSecondsLTE applies the LTE predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsNEQ ¶
TaskVMSleepSecondsNEQ applies the NEQ predicate on the "task_vm_sleep_seconds" field.
func TaskVMSleepSecondsNotIn ¶
TaskVMSleepSecondsNotIn applies the NotIn predicate on the "task_vm_sleep_seconds" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Team queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByExtensionImageArchives ¶
func ByExtensionImageArchives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByExtensionImageArchives orders the results by extension_image_archives terms.
func ByExtensionImageArchivesCount ¶
func ByExtensionImageArchivesCount(opts ...sql.OrderTermOption) OrderOption
ByExtensionImageArchivesCount orders the results by extension_image_archives count.
func ByGroups ¶
func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroups orders the results by groups terms.
func ByGroupsCount ¶
func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByGroupsCount orders the results by groups count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByImages ¶
func ByImages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByImages orders the results by images terms.
func ByImagesCount ¶
func ByImagesCount(opts ...sql.OrderTermOption) OrderOption
ByImagesCount orders the results by images count.
func ByMcpUpstreams ¶
func ByMcpUpstreams(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMcpUpstreams orders the results by mcp_upstreams terms.
func ByMcpUpstreamsCount ¶
func ByMcpUpstreamsCount(opts ...sql.OrderTermOption) OrderOption
ByMcpUpstreamsCount orders the results by mcp_upstreams count.
func ByMemberLimit ¶
func ByMemberLimit(opts ...sql.OrderTermOption) OrderOption
ByMemberLimit orders the results by the member_limit field.
func ByMembers ¶
func ByMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMembers orders the results by members terms.
func ByMembersCount ¶
func ByMembersCount(opts ...sql.OrderTermOption) OrderOption
ByMembersCount orders the results by members count.
func ByModels ¶
func ByModels(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByModels orders the results by models terms.
func ByModelsCount ¶
func ByModelsCount(opts ...sql.OrderTermOption) OrderOption
ByModelsCount orders the results by models count.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByTaskConcurrencyLimit ¶
func ByTaskConcurrencyLimit(opts ...sql.OrderTermOption) OrderOption
ByTaskConcurrencyLimit orders the results by the task_concurrency_limit field.
func ByTaskVMRecycleEnabled ¶
func ByTaskVMRecycleEnabled(opts ...sql.OrderTermOption) OrderOption
ByTaskVMRecycleEnabled orders the results by the task_vm_recycle_enabled field.
func ByTaskVMRecycleSeconds ¶
func ByTaskVMRecycleSeconds(opts ...sql.OrderTermOption) OrderOption
ByTaskVMRecycleSeconds orders the results by the task_vm_recycle_seconds field.
func ByTaskVMSleepEnabled ¶
func ByTaskVMSleepEnabled(opts ...sql.OrderTermOption) OrderOption
ByTaskVMSleepEnabled orders the results by the task_vm_sleep_enabled field.
func ByTaskVMSleepSeconds ¶
func ByTaskVMSleepSeconds(opts ...sql.OrderTermOption) OrderOption
ByTaskVMSleepSeconds orders the results by the task_vm_sleep_seconds field.
func ByTeamImages ¶
func ByTeamImages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTeamImages orders the results by team_images terms.
func ByTeamImagesCount ¶
func ByTeamImagesCount(opts ...sql.OrderTermOption) OrderOption
ByTeamImagesCount orders the results by team_images count.
func ByTeamMembers ¶
func ByTeamMembers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTeamMembers orders the results by team_members terms.
func ByTeamMembersCount ¶
func ByTeamMembersCount(opts ...sql.OrderTermOption) OrderOption
ByTeamMembersCount orders the results by team_members count.
func ByTeamModels ¶
func ByTeamModels(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTeamModels orders the results by team_models terms.
func ByTeamModelsCount ¶
func ByTeamModelsCount(opts ...sql.OrderTermOption) OrderOption
ByTeamModelsCount orders the results by team_models count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.