Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func Branch(v string) predicate.Project
- func BranchContains(v string) predicate.Project
- func BranchContainsFold(v string) predicate.Project
- func BranchEQ(v string) predicate.Project
- func BranchEqualFold(v string) predicate.Project
- func BranchGT(v string) predicate.Project
- func BranchGTE(v string) predicate.Project
- func BranchHasPrefix(v string) predicate.Project
- func BranchHasSuffix(v string) predicate.Project
- func BranchIn(vs ...string) predicate.Project
- func BranchIsNil() predicate.Project
- func BranchLT(v string) predicate.Project
- func BranchLTE(v string) predicate.Project
- func BranchNEQ(v string) predicate.Project
- func BranchNotIn(vs ...string) predicate.Project
- func BranchNotNil() predicate.Project
- func CreatedAt(v time.Time) predicate.Project
- func CreatedAtEQ(v time.Time) predicate.Project
- func CreatedAtGT(v time.Time) predicate.Project
- func CreatedAtGTE(v time.Time) predicate.Project
- func CreatedAtIn(vs ...time.Time) predicate.Project
- func CreatedAtLT(v time.Time) predicate.Project
- func CreatedAtLTE(v time.Time) predicate.Project
- func CreatedAtNEQ(v time.Time) predicate.Project
- func CreatedAtNotIn(vs ...time.Time) predicate.Project
- func DeletedAt(v time.Time) predicate.Project
- func DeletedAtEQ(v time.Time) predicate.Project
- func DeletedAtGT(v time.Time) predicate.Project
- func DeletedAtGTE(v time.Time) predicate.Project
- func DeletedAtIn(vs ...time.Time) predicate.Project
- func DeletedAtIsNil() predicate.Project
- func DeletedAtLT(v time.Time) predicate.Project
- func DeletedAtLTE(v time.Time) predicate.Project
- func DeletedAtNEQ(v time.Time) predicate.Project
- func DeletedAtNotIn(vs ...time.Time) predicate.Project
- func DeletedAtNotNil() predicate.Project
- func Description(v string) predicate.Project
- func DescriptionContains(v string) predicate.Project
- func DescriptionContainsFold(v string) predicate.Project
- func DescriptionEQ(v string) predicate.Project
- func DescriptionEqualFold(v string) predicate.Project
- func DescriptionGT(v string) predicate.Project
- func DescriptionGTE(v string) predicate.Project
- func DescriptionHasPrefix(v string) predicate.Project
- func DescriptionHasSuffix(v string) predicate.Project
- func DescriptionIn(vs ...string) predicate.Project
- func DescriptionIsNil() predicate.Project
- func DescriptionLT(v string) predicate.Project
- func DescriptionLTE(v string) predicate.Project
- func DescriptionNEQ(v string) predicate.Project
- func DescriptionNotIn(vs ...string) predicate.Project
- func DescriptionNotNil() predicate.Project
- func EnvVariablesIsNil() predicate.Project
- func EnvVariablesNotNil() predicate.Project
- func GitIdentityID(v uuid.UUID) predicate.Project
- func GitIdentityIDEQ(v uuid.UUID) predicate.Project
- func GitIdentityIDIn(vs ...uuid.UUID) predicate.Project
- func GitIdentityIDIsNil() predicate.Project
- func GitIdentityIDNEQ(v uuid.UUID) predicate.Project
- func GitIdentityIDNotIn(vs ...uuid.UUID) predicate.Project
- func GitIdentityIDNotNil() predicate.Project
- func HasCollaborators() predicate.Project
- func HasCollaboratorsWith(preds ...predicate.ProjectCollaborator) predicate.Project
- func HasGitBots() predicate.Project
- func HasGitBotsWith(preds ...predicate.GitBot) predicate.Project
- func HasGitIdentity() predicate.Project
- func HasGitIdentityWith(preds ...predicate.GitIdentity) predicate.Project
- func HasImage() predicate.Project
- func HasImageWith(preds ...predicate.Image) predicate.Project
- func HasIssues() predicate.Project
- func HasIssuesWith(preds ...predicate.ProjectIssue) predicate.Project
- func HasProjectGitBots() predicate.Project
- func HasProjectGitBotsWith(preds ...predicate.ProjectGitBot) predicate.Project
- func HasProjectTasks() predicate.Project
- func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.Project
- func HasUser() predicate.Project
- func HasUserWith(preds ...predicate.User) predicate.Project
- func ID(id uuid.UUID) predicate.Project
- func IDEQ(id uuid.UUID) predicate.Project
- func IDGT(id uuid.UUID) predicate.Project
- func IDGTE(id uuid.UUID) predicate.Project
- func IDIn(ids ...uuid.UUID) predicate.Project
- func IDLT(id uuid.UUID) predicate.Project
- func IDLTE(id uuid.UUID) predicate.Project
- func IDNEQ(id uuid.UUID) predicate.Project
- func IDNotIn(ids ...uuid.UUID) predicate.Project
- func ImageID(v uuid.UUID) predicate.Project
- func ImageIDEQ(v uuid.UUID) predicate.Project
- func ImageIDIn(vs ...uuid.UUID) predicate.Project
- func ImageIDIsNil() predicate.Project
- func ImageIDNEQ(v uuid.UUID) predicate.Project
- func ImageIDNotIn(vs ...uuid.UUID) predicate.Project
- func ImageIDNotNil() predicate.Project
- func Name(v string) predicate.Project
- func NameContains(v string) predicate.Project
- func NameContainsFold(v string) predicate.Project
- func NameEQ(v string) predicate.Project
- func NameEqualFold(v string) predicate.Project
- func NameGT(v string) predicate.Project
- func NameGTE(v string) predicate.Project
- func NameHasPrefix(v string) predicate.Project
- func NameHasSuffix(v string) predicate.Project
- func NameIn(vs ...string) predicate.Project
- func NameLT(v string) predicate.Project
- func NameLTE(v string) predicate.Project
- func NameNEQ(v string) predicate.Project
- func NameNotIn(vs ...string) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func Platform(v consts.GitPlatform) predicate.Project
- func PlatformContains(v consts.GitPlatform) predicate.Project
- func PlatformContainsFold(v consts.GitPlatform) predicate.Project
- func PlatformEQ(v consts.GitPlatform) predicate.Project
- func PlatformEqualFold(v consts.GitPlatform) predicate.Project
- func PlatformGT(v consts.GitPlatform) predicate.Project
- func PlatformGTE(v consts.GitPlatform) predicate.Project
- func PlatformHasPrefix(v consts.GitPlatform) predicate.Project
- func PlatformHasSuffix(v consts.GitPlatform) predicate.Project
- func PlatformIn(vs ...consts.GitPlatform) predicate.Project
- func PlatformIsNil() predicate.Project
- func PlatformLT(v consts.GitPlatform) predicate.Project
- func PlatformLTE(v consts.GitPlatform) predicate.Project
- func PlatformNEQ(v consts.GitPlatform) predicate.Project
- func PlatformNotIn(vs ...consts.GitPlatform) predicate.Project
- func PlatformNotNil() predicate.Project
- func RepoURL(v string) predicate.Project
- func RepoURLContains(v string) predicate.Project
- func RepoURLContainsFold(v string) predicate.Project
- func RepoURLEQ(v string) predicate.Project
- func RepoURLEqualFold(v string) predicate.Project
- func RepoURLGT(v string) predicate.Project
- func RepoURLGTE(v string) predicate.Project
- func RepoURLHasPrefix(v string) predicate.Project
- func RepoURLHasSuffix(v string) predicate.Project
- func RepoURLIn(vs ...string) predicate.Project
- func RepoURLIsNil() predicate.Project
- func RepoURLLT(v string) predicate.Project
- func RepoURLLTE(v string) predicate.Project
- func RepoURLNEQ(v string) predicate.Project
- func RepoURLNotIn(vs ...string) predicate.Project
- func RepoURLNotNil() predicate.Project
- func UpdatedAt(v time.Time) predicate.Project
- func UpdatedAtEQ(v time.Time) predicate.Project
- func UpdatedAtGT(v time.Time) predicate.Project
- func UpdatedAtGTE(v time.Time) predicate.Project
- func UpdatedAtIn(vs ...time.Time) predicate.Project
- func UpdatedAtLT(v time.Time) predicate.Project
- func UpdatedAtLTE(v time.Time) predicate.Project
- func UpdatedAtNEQ(v time.Time) predicate.Project
- func UpdatedAtNotIn(vs ...time.Time) predicate.Project
- func UserID(v uuid.UUID) predicate.Project
- func UserIDEQ(v uuid.UUID) predicate.Project
- func UserIDIn(vs ...uuid.UUID) predicate.Project
- func UserIDNEQ(v uuid.UUID) predicate.Project
- func UserIDNotIn(vs ...uuid.UUID) predicate.Project
- func ValidColumn(column string) bool
- type OrderOption
- func ByBranch(opts ...sql.OrderTermOption) OrderOption
- func ByCollaborators(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCollaboratorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByGitBots(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGitBotsCount(opts ...sql.OrderTermOption) OrderOption
- func ByGitIdentityField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByGitIdentityID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByImageID(opts ...sql.OrderTermOption) OrderOption
- func ByIssues(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIssuesCount(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 ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProjectTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByRepoURL(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 project type in the database. Label = "project" // 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" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldPlatform holds the string denoting the platform field in the database. FieldPlatform = "platform" // FieldRepoURL holds the string denoting the repo_url field in the database. FieldRepoURL = "repo_url" // FieldBranch holds the string denoting the branch field in the database. FieldBranch = "branch" // FieldGitIdentityID holds the string denoting the git_identity_id field in the database. FieldGitIdentityID = "git_identity_id" // FieldImageID holds the string denoting the image_id field in the database. FieldImageID = "image_id" // FieldEnvVariables holds the string denoting the env_variables field in the database. FieldEnvVariables = "env_variables" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeGitIdentity holds the string denoting the git_identity edge name in mutations. EdgeGitIdentity = "git_identity" // EdgeImage holds the string denoting the image edge name in mutations. EdgeImage = "image" // EdgeIssues holds the string denoting the issues edge name in mutations. EdgeIssues = "issues" // EdgeCollaborators holds the string denoting the collaborators edge name in mutations. EdgeCollaborators = "collaborators" // EdgeProjectTasks holds the string denoting the project_tasks edge name in mutations. EdgeProjectTasks = "project_tasks" // EdgeGitBots holds the string denoting the git_bots edge name in mutations. EdgeGitBots = "git_bots" // EdgeProjectGitBots holds the string denoting the project_git_bots edge name in mutations. EdgeProjectGitBots = "project_git_bots" // Table holds the table name of the project in the database. Table = "projects" // UserTable is the table that holds the user relation/edge. UserTable = "projects" // 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" // GitIdentityTable is the table that holds the git_identity relation/edge. GitIdentityTable = "projects" // GitIdentityInverseTable is the table name for the GitIdentity entity. // It exists in this package in order to avoid circular dependency with the "gitidentity" package. GitIdentityInverseTable = "git_identities" // GitIdentityColumn is the table column denoting the git_identity relation/edge. GitIdentityColumn = "git_identity_id" // ImageTable is the table that holds the image relation/edge. ImageTable = "projects" // ImageInverseTable is the table name for the Image entity. // It exists in this package in order to avoid circular dependency with the "image" package. ImageInverseTable = "images" // ImageColumn is the table column denoting the image relation/edge. ImageColumn = "image_id" // IssuesTable is the table that holds the issues relation/edge. IssuesTable = "project_issues" // IssuesInverseTable is the table name for the ProjectIssue entity. // It exists in this package in order to avoid circular dependency with the "projectissue" package. IssuesInverseTable = "project_issues" // IssuesColumn is the table column denoting the issues relation/edge. IssuesColumn = "project_id" // CollaboratorsTable is the table that holds the collaborators relation/edge. CollaboratorsTable = "project_collaborators" // CollaboratorsInverseTable is the table name for the ProjectCollaborator entity. // It exists in this package in order to avoid circular dependency with the "projectcollaborator" package. CollaboratorsInverseTable = "project_collaborators" // CollaboratorsColumn is the table column denoting the collaborators relation/edge. CollaboratorsColumn = "project_id" // ProjectTasksTable is the table that holds the project_tasks relation/edge. ProjectTasksTable = "project_tasks" // ProjectTasksInverseTable is the table name for the ProjectTask entity. // It exists in this package in order to avoid circular dependency with the "projecttask" package. ProjectTasksInverseTable = "project_tasks" // ProjectTasksColumn is the table column denoting the project_tasks relation/edge. ProjectTasksColumn = "project_id" // GitBotsTable is the table that holds the git_bots relation/edge. The primary key declared below. GitBotsTable = "project_git_bots" // GitBotsInverseTable is the table name for the GitBot entity. // It exists in this package in order to avoid circular dependency with the "gitbot" package. GitBotsInverseTable = "git_bots" // 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 = "project_id" )
Variables ¶
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 // 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 )
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, FieldDescription, FieldPlatform, FieldRepoURL, FieldBranch, FieldGitIdentityID, FieldImageID, FieldEnvVariables, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for project fields.
var ( // GitBotsPrimaryKey and GitBotsColumn2 are the table columns denoting the // primary key for the git_bots relation (M2M). GitBotsPrimaryKey = []string{"project_id", "git_bot_id"} )
Functions ¶
func Branch ¶
Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.
func BranchContains ¶
BranchContains applies the Contains predicate on the "branch" field.
func BranchContainsFold ¶
BranchContainsFold applies the ContainsFold predicate on the "branch" field.
func BranchEqualFold ¶
BranchEqualFold applies the EqualFold predicate on the "branch" field.
func BranchHasPrefix ¶
BranchHasPrefix applies the HasPrefix predicate on the "branch" field.
func BranchHasSuffix ¶
BranchHasSuffix applies the HasSuffix predicate on the "branch" field.
func BranchIsNil ¶
BranchIsNil applies the IsNil predicate on the "branch" field.
func BranchNotIn ¶
BranchNotIn applies the NotIn predicate on the "branch" field.
func BranchNotNil ¶
BranchNotNil applies the NotNil predicate on the "branch" 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 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 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 EnvVariablesIsNil ¶
EnvVariablesIsNil applies the IsNil predicate on the "env_variables" field.
func EnvVariablesNotNil ¶
EnvVariablesNotNil applies the NotNil predicate on the "env_variables" field.
func GitIdentityID ¶
GitIdentityID applies equality check predicate on the "git_identity_id" field. It's identical to GitIdentityIDEQ.
func GitIdentityIDEQ ¶
GitIdentityIDEQ applies the EQ predicate on the "git_identity_id" field.
func GitIdentityIDIn ¶
GitIdentityIDIn applies the In predicate on the "git_identity_id" field.
func GitIdentityIDIsNil ¶
GitIdentityIDIsNil applies the IsNil predicate on the "git_identity_id" field.
func GitIdentityIDNEQ ¶
GitIdentityIDNEQ applies the NEQ predicate on the "git_identity_id" field.
func GitIdentityIDNotIn ¶
GitIdentityIDNotIn applies the NotIn predicate on the "git_identity_id" field.
func GitIdentityIDNotNil ¶
GitIdentityIDNotNil applies the NotNil predicate on the "git_identity_id" field.
func HasCollaborators ¶
HasCollaborators applies the HasEdge predicate on the "collaborators" edge.
func HasCollaboratorsWith ¶
func HasCollaboratorsWith(preds ...predicate.ProjectCollaborator) predicate.Project
HasCollaboratorsWith applies the HasEdge predicate on the "collaborators" edge with a given conditions (other predicates).
func HasGitBots ¶
HasGitBots applies the HasEdge predicate on the "git_bots" edge.
func HasGitBotsWith ¶
HasGitBotsWith applies the HasEdge predicate on the "git_bots" edge with a given conditions (other predicates).
func HasGitIdentity ¶
HasGitIdentity applies the HasEdge predicate on the "git_identity" edge.
func HasGitIdentityWith ¶
func HasGitIdentityWith(preds ...predicate.GitIdentity) predicate.Project
HasGitIdentityWith applies the HasEdge predicate on the "git_identity" edge with a given conditions (other predicates).
func HasImageWith ¶
HasImageWith applies the HasEdge predicate on the "image" edge with a given conditions (other predicates).
func HasIssuesWith ¶
func HasIssuesWith(preds ...predicate.ProjectIssue) predicate.Project
HasIssuesWith applies the HasEdge predicate on the "issues" 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.Project
HasProjectGitBotsWith applies the HasEdge predicate on the "project_git_bots" edge with a given conditions (other predicates).
func HasProjectTasks ¶
HasProjectTasks applies the HasEdge predicate on the "project_tasks" edge.
func HasProjectTasksWith ¶
func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.Project
HasProjectTasksWith applies the HasEdge predicate on the "project_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 ImageID ¶
ImageID applies equality check predicate on the "image_id" field. It's identical to ImageIDEQ.
func ImageIDIsNil ¶
ImageIDIsNil applies the IsNil predicate on the "image_id" field.
func ImageIDNEQ ¶
ImageIDNEQ applies the NEQ predicate on the "image_id" field.
func ImageIDNotIn ¶
ImageIDNotIn applies the NotIn predicate on the "image_id" field.
func ImageIDNotNil ¶
ImageIDNotNil applies the NotNil predicate on the "image_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 Platform ¶
func Platform(v consts.GitPlatform) predicate.Project
Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
func PlatformContains ¶
func PlatformContains(v consts.GitPlatform) predicate.Project
PlatformContains applies the Contains predicate on the "platform" field.
func PlatformContainsFold ¶
func PlatformContainsFold(v consts.GitPlatform) predicate.Project
PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
func PlatformEQ ¶
func PlatformEQ(v consts.GitPlatform) predicate.Project
PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformEqualFold ¶
func PlatformEqualFold(v consts.GitPlatform) predicate.Project
PlatformEqualFold applies the EqualFold predicate on the "platform" field.
func PlatformGT ¶
func PlatformGT(v consts.GitPlatform) predicate.Project
PlatformGT applies the GT predicate on the "platform" field.
func PlatformGTE ¶
func PlatformGTE(v consts.GitPlatform) predicate.Project
PlatformGTE applies the GTE predicate on the "platform" field.
func PlatformHasPrefix ¶
func PlatformHasPrefix(v consts.GitPlatform) predicate.Project
PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
func PlatformHasSuffix ¶
func PlatformHasSuffix(v consts.GitPlatform) predicate.Project
PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
func PlatformIn ¶
func PlatformIn(vs ...consts.GitPlatform) predicate.Project
PlatformIn applies the In predicate on the "platform" field.
func PlatformIsNil ¶
PlatformIsNil applies the IsNil predicate on the "platform" field.
func PlatformLT ¶
func PlatformLT(v consts.GitPlatform) predicate.Project
PlatformLT applies the LT predicate on the "platform" field.
func PlatformLTE ¶
func PlatformLTE(v consts.GitPlatform) predicate.Project
PlatformLTE applies the LTE predicate on the "platform" field.
func PlatformNEQ ¶
func PlatformNEQ(v consts.GitPlatform) predicate.Project
PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNotIn ¶
func PlatformNotIn(vs ...consts.GitPlatform) predicate.Project
PlatformNotIn applies the NotIn predicate on the "platform" field.
func PlatformNotNil ¶
PlatformNotNil applies the NotNil predicate on the "platform" field.
func RepoURL ¶
RepoURL applies equality check predicate on the "repo_url" field. It's identical to RepoURLEQ.
func RepoURLContains ¶
RepoURLContains applies the Contains predicate on the "repo_url" field.
func RepoURLContainsFold ¶
RepoURLContainsFold applies the ContainsFold predicate on the "repo_url" field.
func RepoURLEqualFold ¶
RepoURLEqualFold applies the EqualFold predicate on the "repo_url" field.
func RepoURLGTE ¶
RepoURLGTE applies the GTE predicate on the "repo_url" field.
func RepoURLHasPrefix ¶
RepoURLHasPrefix applies the HasPrefix predicate on the "repo_url" field.
func RepoURLHasSuffix ¶
RepoURLHasSuffix applies the HasSuffix predicate on the "repo_url" field.
func RepoURLIsNil ¶
RepoURLIsNil applies the IsNil predicate on the "repo_url" field.
func RepoURLLTE ¶
RepoURLLTE applies the LTE predicate on the "repo_url" field.
func RepoURLNEQ ¶
RepoURLNEQ applies the NEQ predicate on the "repo_url" field.
func RepoURLNotIn ¶
RepoURLNotIn applies the NotIn predicate on the "repo_url" field.
func RepoURLNotNil ¶
RepoURLNotNil applies the NotNil predicate on the "repo_url" 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 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 Project queries.
func ByBranch ¶
func ByBranch(opts ...sql.OrderTermOption) OrderOption
ByBranch orders the results by the branch field.
func ByCollaborators ¶
func ByCollaborators(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCollaborators orders the results by collaborators terms.
func ByCollaboratorsCount ¶
func ByCollaboratorsCount(opts ...sql.OrderTermOption) OrderOption
ByCollaboratorsCount orders the results by collaborators count.
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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByGitBots ¶
func ByGitBots(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGitBots orders the results by git_bots terms.
func ByGitBotsCount ¶
func ByGitBotsCount(opts ...sql.OrderTermOption) OrderOption
ByGitBotsCount orders the results by git_bots count.
func ByGitIdentityField ¶
func ByGitIdentityField(field string, opts ...sql.OrderTermOption) OrderOption
ByGitIdentityField orders the results by git_identity field.
func ByGitIdentityID ¶
func ByGitIdentityID(opts ...sql.OrderTermOption) OrderOption
ByGitIdentityID orders the results by the git_identity_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByImageField ¶
func ByImageField(field string, opts ...sql.OrderTermOption) OrderOption
ByImageField orders the results by image field.
func ByImageID ¶
func ByImageID(opts ...sql.OrderTermOption) OrderOption
ByImageID orders the results by the image_id field.
func ByIssues ¶
func ByIssues(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIssues orders the results by issues terms.
func ByIssuesCount ¶
func ByIssuesCount(opts ...sql.OrderTermOption) OrderOption
ByIssuesCount orders the results by issues count.
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 ByProjectTasks ¶
func ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProjectTasks orders the results by project_tasks terms.
func ByProjectTasksCount ¶
func ByProjectTasksCount(opts ...sql.OrderTermOption) OrderOption
ByProjectTasksCount orders the results by project_tasks count.
func ByRepoURL ¶
func ByRepoURL(opts ...sql.OrderTermOption) OrderOption
ByRepoURL orders the results by the repo_url field.
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.