Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GitBot) predicate.GitBot
- func CreatedAt(v time.Time) predicate.GitBot
- func CreatedAtEQ(v time.Time) predicate.GitBot
- func CreatedAtGT(v time.Time) predicate.GitBot
- func CreatedAtGTE(v time.Time) predicate.GitBot
- func CreatedAtIn(vs ...time.Time) predicate.GitBot
- func CreatedAtLT(v time.Time) predicate.GitBot
- func CreatedAtLTE(v time.Time) predicate.GitBot
- func CreatedAtNEQ(v time.Time) predicate.GitBot
- func CreatedAtNotIn(vs ...time.Time) predicate.GitBot
- func DeletedAt(v time.Time) predicate.GitBot
- func DeletedAtEQ(v time.Time) predicate.GitBot
- func DeletedAtGT(v time.Time) predicate.GitBot
- func DeletedAtGTE(v time.Time) predicate.GitBot
- func DeletedAtIn(vs ...time.Time) predicate.GitBot
- func DeletedAtIsNil() predicate.GitBot
- func DeletedAtLT(v time.Time) predicate.GitBot
- func DeletedAtLTE(v time.Time) predicate.GitBot
- func DeletedAtNEQ(v time.Time) predicate.GitBot
- func DeletedAtNotIn(vs ...time.Time) predicate.GitBot
- func DeletedAtNotNil() predicate.GitBot
- func HasGitBotTasks() predicate.GitBot
- func HasGitBotTasksWith(preds ...predicate.GitBotTask) predicate.GitBot
- func HasGitBotUsers() predicate.GitBot
- func HasGitBotUsersWith(preds ...predicate.GitBotUser) predicate.GitBot
- func HasHost() predicate.GitBot
- func HasHostWith(preds ...predicate.Host) predicate.GitBot
- func HasProjectGitBots() predicate.GitBot
- func HasProjectGitBotsWith(preds ...predicate.ProjectGitBot) predicate.GitBot
- func HasProjects() predicate.GitBot
- func HasProjectsWith(preds ...predicate.Project) predicate.GitBot
- func HasUsers() predicate.GitBot
- func HasUsersWith(preds ...predicate.User) predicate.GitBot
- func HostID(v string) predicate.GitBot
- func HostIDContains(v string) predicate.GitBot
- func HostIDContainsFold(v string) predicate.GitBot
- func HostIDEQ(v string) predicate.GitBot
- func HostIDEqualFold(v string) predicate.GitBot
- func HostIDGT(v string) predicate.GitBot
- func HostIDGTE(v string) predicate.GitBot
- func HostIDHasPrefix(v string) predicate.GitBot
- func HostIDHasSuffix(v string) predicate.GitBot
- func HostIDIn(vs ...string) predicate.GitBot
- func HostIDLT(v string) predicate.GitBot
- func HostIDLTE(v string) predicate.GitBot
- func HostIDNEQ(v string) predicate.GitBot
- func HostIDNotIn(vs ...string) predicate.GitBot
- func ID(id uuid.UUID) predicate.GitBot
- func IDEQ(id uuid.UUID) predicate.GitBot
- func IDGT(id uuid.UUID) predicate.GitBot
- func IDGTE(id uuid.UUID) predicate.GitBot
- func IDIn(ids ...uuid.UUID) predicate.GitBot
- func IDLT(id uuid.UUID) predicate.GitBot
- func IDLTE(id uuid.UUID) predicate.GitBot
- func IDNEQ(id uuid.UUID) predicate.GitBot
- func IDNotIn(ids ...uuid.UUID) predicate.GitBot
- func Name(v string) predicate.GitBot
- func NameContains(v string) predicate.GitBot
- func NameContainsFold(v string) predicate.GitBot
- func NameEQ(v string) predicate.GitBot
- func NameEqualFold(v string) predicate.GitBot
- func NameGT(v string) predicate.GitBot
- func NameGTE(v string) predicate.GitBot
- func NameHasPrefix(v string) predicate.GitBot
- func NameHasSuffix(v string) predicate.GitBot
- func NameIn(vs ...string) predicate.GitBot
- func NameIsNil() predicate.GitBot
- func NameLT(v string) predicate.GitBot
- func NameLTE(v string) predicate.GitBot
- func NameNEQ(v string) predicate.GitBot
- func NameNotIn(vs ...string) predicate.GitBot
- func NameNotNil() predicate.GitBot
- func Not(p predicate.GitBot) predicate.GitBot
- func Or(predicates ...predicate.GitBot) predicate.GitBot
- func Platform(v consts.GitPlatform) predicate.GitBot
- func PlatformContains(v consts.GitPlatform) predicate.GitBot
- func PlatformContainsFold(v consts.GitPlatform) predicate.GitBot
- func PlatformEQ(v consts.GitPlatform) predicate.GitBot
- func PlatformEqualFold(v consts.GitPlatform) predicate.GitBot
- func PlatformGT(v consts.GitPlatform) predicate.GitBot
- func PlatformGTE(v consts.GitPlatform) predicate.GitBot
- func PlatformHasPrefix(v consts.GitPlatform) predicate.GitBot
- func PlatformHasSuffix(v consts.GitPlatform) predicate.GitBot
- func PlatformIn(vs ...consts.GitPlatform) predicate.GitBot
- func PlatformLT(v consts.GitPlatform) predicate.GitBot
- func PlatformLTE(v consts.GitPlatform) predicate.GitBot
- func PlatformNEQ(v consts.GitPlatform) predicate.GitBot
- func PlatformNotIn(vs ...consts.GitPlatform) predicate.GitBot
- func SecretToken(v string) predicate.GitBot
- func SecretTokenContains(v string) predicate.GitBot
- func SecretTokenContainsFold(v string) predicate.GitBot
- func SecretTokenEQ(v string) predicate.GitBot
- func SecretTokenEqualFold(v string) predicate.GitBot
- func SecretTokenGT(v string) predicate.GitBot
- func SecretTokenGTE(v string) predicate.GitBot
- func SecretTokenHasPrefix(v string) predicate.GitBot
- func SecretTokenHasSuffix(v string) predicate.GitBot
- func SecretTokenIn(vs ...string) predicate.GitBot
- func SecretTokenIsNil() predicate.GitBot
- func SecretTokenLT(v string) predicate.GitBot
- func SecretTokenLTE(v string) predicate.GitBot
- func SecretTokenNEQ(v string) predicate.GitBot
- func SecretTokenNotIn(vs ...string) predicate.GitBot
- func SecretTokenNotNil() predicate.GitBot
- func Token(v string) predicate.GitBot
- func TokenContains(v string) predicate.GitBot
- func TokenContainsFold(v string) predicate.GitBot
- func TokenEQ(v string) predicate.GitBot
- func TokenEqualFold(v string) predicate.GitBot
- func TokenGT(v string) predicate.GitBot
- func TokenGTE(v string) predicate.GitBot
- func TokenHasPrefix(v string) predicate.GitBot
- func TokenHasSuffix(v string) predicate.GitBot
- func TokenIn(vs ...string) predicate.GitBot
- func TokenIsNil() predicate.GitBot
- func TokenLT(v string) predicate.GitBot
- func TokenLTE(v string) predicate.GitBot
- func TokenNEQ(v string) predicate.GitBot
- func TokenNotIn(vs ...string) predicate.GitBot
- func TokenNotNil() predicate.GitBot
- func UserID(v uuid.UUID) predicate.GitBot
- func UserIDEQ(v uuid.UUID) predicate.GitBot
- func UserIDGT(v uuid.UUID) predicate.GitBot
- func UserIDGTE(v uuid.UUID) predicate.GitBot
- func UserIDIn(vs ...uuid.UUID) predicate.GitBot
- func UserIDLT(v uuid.UUID) predicate.GitBot
- func UserIDLTE(v uuid.UUID) predicate.GitBot
- func UserIDNEQ(v uuid.UUID) predicate.GitBot
- func UserIDNotIn(vs ...uuid.UUID) predicate.GitBot
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGitBotTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGitBotTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByGitBotUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGitBotUsersCount(opts ...sql.OrderTermOption) OrderOption
- func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByHostID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPlatform(opts ...sql.OrderTermOption) OrderOption
- func ByProjectGitBots(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProjectGitBotsCount(opts ...sql.OrderTermOption) OrderOption
- func ByProjects(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProjectsCount(opts ...sql.OrderTermOption) OrderOption
- func BySecretToken(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the gitbot type in the database. Label = "git_bot" // 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" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldHostID holds the string denoting the host_id field in the database. FieldHostID = "host_id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldSecretToken holds the string denoting the secret_token field in the database. FieldSecretToken = "secret_token" // FieldPlatform holds the string denoting the platform field in the database. FieldPlatform = "platform" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeGitBotTasks holds the string denoting the git_bot_tasks edge name in mutations. EdgeGitBotTasks = "git_bot_tasks" // EdgeHost holds the string denoting the host edge name in mutations. EdgeHost = "host" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeProjects holds the string denoting the projects edge name in mutations. EdgeProjects = "projects" // EdgeGitBotUsers holds the string denoting the git_bot_users edge name in mutations. EdgeGitBotUsers = "git_bot_users" // EdgeProjectGitBots holds the string denoting the project_git_bots edge name in mutations. EdgeProjectGitBots = "project_git_bots" // Table holds the table name of the gitbot in the database. Table = "git_bots" // GitBotTasksTable is the table that holds the git_bot_tasks relation/edge. GitBotTasksTable = "git_bot_tasks" // GitBotTasksInverseTable is the table name for the GitBotTask entity. // It exists in this package in order to avoid circular dependency with the "gitbottask" package. GitBotTasksInverseTable = "git_bot_tasks" // GitBotTasksColumn is the table column denoting the git_bot_tasks relation/edge. GitBotTasksColumn = "git_bot_id" // HostTable is the table that holds the host relation/edge. HostTable = "git_bots" // HostInverseTable is the table name for the Host entity. // It exists in this package in order to avoid circular dependency with the "host" package. HostInverseTable = "hosts" // HostColumn is the table column denoting the host relation/edge. HostColumn = "host_id" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "git_bot_users" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // ProjectsTable is the table that holds the projects relation/edge. The primary key declared below. ProjectsTable = "project_git_bots" // ProjectsInverseTable is the table name for the Project entity. // It exists in this package in order to avoid circular dependency with the "project" package. ProjectsInverseTable = "projects" // GitBotUsersTable is the table that holds the git_bot_users relation/edge. GitBotUsersTable = "git_bot_users" // GitBotUsersInverseTable is the table name for the GitBotUser entity. // It exists in this package in order to avoid circular dependency with the "gitbotuser" package. GitBotUsersInverseTable = "git_bot_users" // GitBotUsersColumn is the table column denoting the git_bot_users relation/edge. GitBotUsersColumn = "git_bot_id" // ProjectGitBotsTable is the table that holds the project_git_bots relation/edge. ProjectGitBotsTable = "project_git_bots" // ProjectGitBotsInverseTable is the table name for the ProjectGitBot entity. // It exists in this package in order to avoid circular dependency with the "projectgitbot" package. ProjectGitBotsInverseTable = "project_git_bots" // ProjectGitBotsColumn is the table column denoting the project_git_bots relation/edge. ProjectGitBotsColumn = "git_bot_id" )
Variables ¶
var ( // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_id", "git_bot_id"} // ProjectsPrimaryKey and ProjectsColumn2 are the table columns denoting the // primary key for the projects relation (M2M). ProjectsPrimaryKey = []string{"project_id", "git_bot_id"} )
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt 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, FieldUserID, FieldName, FieldHostID, FieldToken, FieldSecretToken, FieldPlatform, FieldCreatedAt, }
Columns holds all SQL columns for gitbot 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 HasGitBotTasks ¶
HasGitBotTasks applies the HasEdge predicate on the "git_bot_tasks" edge.
func HasGitBotTasksWith ¶
func HasGitBotTasksWith(preds ...predicate.GitBotTask) predicate.GitBot
HasGitBotTasksWith applies the HasEdge predicate on the "git_bot_tasks" edge with a given conditions (other predicates).
func HasGitBotUsers ¶
HasGitBotUsers applies the HasEdge predicate on the "git_bot_users" edge.
func HasGitBotUsersWith ¶
func HasGitBotUsersWith(preds ...predicate.GitBotUser) predicate.GitBot
HasGitBotUsersWith applies the HasEdge predicate on the "git_bot_users" edge with a given conditions (other predicates).
func HasHostWith ¶
HasHostWith applies the HasEdge predicate on the "host" edge with a given conditions (other predicates).
func HasProjectGitBots ¶
HasProjectGitBots applies the HasEdge predicate on the "project_git_bots" edge.
func HasProjectGitBotsWith ¶
func HasProjectGitBotsWith(preds ...predicate.ProjectGitBot) predicate.GitBot
HasProjectGitBotsWith applies the HasEdge predicate on the "project_git_bots" edge with a given conditions (other predicates).
func HasProjects ¶
HasProjects applies the HasEdge predicate on the "projects" edge.
func HasProjectsWith ¶
HasProjectsWith applies the HasEdge predicate on the "projects" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" edge with a given conditions (other predicates).
func HostID ¶
HostID applies equality check predicate on the "host_id" field. It's identical to HostIDEQ.
func HostIDContains ¶
HostIDContains applies the Contains predicate on the "host_id" field.
func HostIDContainsFold ¶
HostIDContainsFold applies the ContainsFold predicate on the "host_id" field.
func HostIDEqualFold ¶
HostIDEqualFold applies the EqualFold predicate on the "host_id" field.
func HostIDHasPrefix ¶
HostIDHasPrefix applies the HasPrefix predicate on the "host_id" field.
func HostIDHasSuffix ¶
HostIDHasSuffix applies the HasSuffix predicate on the "host_id" field.
func HostIDNotIn ¶
HostIDNotIn applies the NotIn predicate on the "host_id" 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 NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func Platform ¶
func Platform(v consts.GitPlatform) predicate.GitBot
Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
func PlatformContains ¶
func PlatformContains(v consts.GitPlatform) predicate.GitBot
PlatformContains applies the Contains predicate on the "platform" field.
func PlatformContainsFold ¶
func PlatformContainsFold(v consts.GitPlatform) predicate.GitBot
PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
func PlatformEQ ¶
func PlatformEQ(v consts.GitPlatform) predicate.GitBot
PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformEqualFold ¶
func PlatformEqualFold(v consts.GitPlatform) predicate.GitBot
PlatformEqualFold applies the EqualFold predicate on the "platform" field.
func PlatformGT ¶
func PlatformGT(v consts.GitPlatform) predicate.GitBot
PlatformGT applies the GT predicate on the "platform" field.
func PlatformGTE ¶
func PlatformGTE(v consts.GitPlatform) predicate.GitBot
PlatformGTE applies the GTE predicate on the "platform" field.
func PlatformHasPrefix ¶
func PlatformHasPrefix(v consts.GitPlatform) predicate.GitBot
PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
func PlatformHasSuffix ¶
func PlatformHasSuffix(v consts.GitPlatform) predicate.GitBot
PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
func PlatformIn ¶
func PlatformIn(vs ...consts.GitPlatform) predicate.GitBot
PlatformIn applies the In predicate on the "platform" field.
func PlatformLT ¶
func PlatformLT(v consts.GitPlatform) predicate.GitBot
PlatformLT applies the LT predicate on the "platform" field.
func PlatformLTE ¶
func PlatformLTE(v consts.GitPlatform) predicate.GitBot
PlatformLTE applies the LTE predicate on the "platform" field.
func PlatformNEQ ¶
func PlatformNEQ(v consts.GitPlatform) predicate.GitBot
PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNotIn ¶
func PlatformNotIn(vs ...consts.GitPlatform) predicate.GitBot
PlatformNotIn applies the NotIn predicate on the "platform" field.
func SecretToken ¶
SecretToken applies equality check predicate on the "secret_token" field. It's identical to SecretTokenEQ.
func SecretTokenContains ¶
SecretTokenContains applies the Contains predicate on the "secret_token" field.
func SecretTokenContainsFold ¶
SecretTokenContainsFold applies the ContainsFold predicate on the "secret_token" field.
func SecretTokenEQ ¶
SecretTokenEQ applies the EQ predicate on the "secret_token" field.
func SecretTokenEqualFold ¶
SecretTokenEqualFold applies the EqualFold predicate on the "secret_token" field.
func SecretTokenGT ¶
SecretTokenGT applies the GT predicate on the "secret_token" field.
func SecretTokenGTE ¶
SecretTokenGTE applies the GTE predicate on the "secret_token" field.
func SecretTokenHasPrefix ¶
SecretTokenHasPrefix applies the HasPrefix predicate on the "secret_token" field.
func SecretTokenHasSuffix ¶
SecretTokenHasSuffix applies the HasSuffix predicate on the "secret_token" field.
func SecretTokenIn ¶
SecretTokenIn applies the In predicate on the "secret_token" field.
func SecretTokenIsNil ¶
SecretTokenIsNil applies the IsNil predicate on the "secret_token" field.
func SecretTokenLT ¶
SecretTokenLT applies the LT predicate on the "secret_token" field.
func SecretTokenLTE ¶
SecretTokenLTE applies the LTE predicate on the "secret_token" field.
func SecretTokenNEQ ¶
SecretTokenNEQ applies the NEQ predicate on the "secret_token" field.
func SecretTokenNotIn ¶
SecretTokenNotIn applies the NotIn predicate on the "secret_token" field.
func SecretTokenNotNil ¶
SecretTokenNotNil applies the NotNil predicate on the "secret_token" field.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIsNil ¶
TokenIsNil applies the IsNil predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func TokenNotNil ¶
TokenNotNil applies the NotNil predicate on the "token" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the GitBot 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 ByGitBotTasks ¶
func ByGitBotTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGitBotTasks orders the results by git_bot_tasks terms.
func ByGitBotTasksCount ¶
func ByGitBotTasksCount(opts ...sql.OrderTermOption) OrderOption
ByGitBotTasksCount orders the results by git_bot_tasks count.
func ByGitBotUsers ¶
func ByGitBotUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGitBotUsers orders the results by git_bot_users terms.
func ByGitBotUsersCount ¶
func ByGitBotUsersCount(opts ...sql.OrderTermOption) OrderOption
ByGitBotUsersCount orders the results by git_bot_users count.
func ByHostField ¶
func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
ByHostField orders the results by host field.
func ByHostID ¶
func ByHostID(opts ...sql.OrderTermOption) OrderOption
ByHostID orders the results by the host_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPlatform ¶
func ByPlatform(opts ...sql.OrderTermOption) OrderOption
ByPlatform orders the results by the platform field.
func ByProjectGitBots ¶
func ByProjectGitBots(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProjectGitBots orders the results by project_git_bots terms.
func ByProjectGitBotsCount ¶
func ByProjectGitBotsCount(opts ...sql.OrderTermOption) OrderOption
ByProjectGitBotsCount orders the results by project_git_bots count.
func ByProjects ¶
func ByProjects(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProjects orders the results by projects terms.
func ByProjectsCount ¶
func ByProjectsCount(opts ...sql.OrderTermOption) OrderOption
ByProjectsCount orders the results by projects count.
func BySecretToken ¶
func BySecretToken(opts ...sql.OrderTermOption) OrderOption
BySecretToken orders the results by the secret_token field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.