project

package
v0.0.0-...-481d40d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"

Columns holds all SQL columns for project fields.

View Source
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 And

func And(predicates ...predicate.Project) predicate.Project

And groups predicates with the AND operator between them.

func Branch

func Branch(v string) predicate.Project

Branch applies equality check predicate on the "branch" field. It's identical to BranchEQ.

func BranchContains

func BranchContains(v string) predicate.Project

BranchContains applies the Contains predicate on the "branch" field.

func BranchContainsFold

func BranchContainsFold(v string) predicate.Project

BranchContainsFold applies the ContainsFold predicate on the "branch" field.

func BranchEQ

func BranchEQ(v string) predicate.Project

BranchEQ applies the EQ predicate on the "branch" field.

func BranchEqualFold

func BranchEqualFold(v string) predicate.Project

BranchEqualFold applies the EqualFold predicate on the "branch" field.

func BranchGT

func BranchGT(v string) predicate.Project

BranchGT applies the GT predicate on the "branch" field.

func BranchGTE

func BranchGTE(v string) predicate.Project

BranchGTE applies the GTE predicate on the "branch" field.

func BranchHasPrefix

func BranchHasPrefix(v string) predicate.Project

BranchHasPrefix applies the HasPrefix predicate on the "branch" field.

func BranchHasSuffix

func BranchHasSuffix(v string) predicate.Project

BranchHasSuffix applies the HasSuffix predicate on the "branch" field.

func BranchIn

func BranchIn(vs ...string) predicate.Project

BranchIn applies the In predicate on the "branch" field.

func BranchIsNil

func BranchIsNil() predicate.Project

BranchIsNil applies the IsNil predicate on the "branch" field.

func BranchLT

func BranchLT(v string) predicate.Project

BranchLT applies the LT predicate on the "branch" field.

func BranchLTE

func BranchLTE(v string) predicate.Project

BranchLTE applies the LTE predicate on the "branch" field.

func BranchNEQ

func BranchNEQ(v string) predicate.Project

BranchNEQ applies the NEQ predicate on the "branch" field.

func BranchNotIn

func BranchNotIn(vs ...string) predicate.Project

BranchNotIn applies the NotIn predicate on the "branch" field.

func BranchNotNil

func BranchNotNil() predicate.Project

BranchNotNil applies the NotNil predicate on the "branch" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Project

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Project

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Project

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Project

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Project

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Project

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Project

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Project

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Project

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Project

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Project

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Project

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Project

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Project

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Project

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Project

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Project

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Project

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Project

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Project

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.Project

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Project

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Project

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Project

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Project

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Project

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Project

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Project

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Project

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Project

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Project

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Project

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Project

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Project

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Project

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Project

DescriptionNotNil applies the NotNil predicate on the "description" field.

func EnvVariablesIsNil

func EnvVariablesIsNil() predicate.Project

EnvVariablesIsNil applies the IsNil predicate on the "env_variables" field.

func EnvVariablesNotNil

func EnvVariablesNotNil() predicate.Project

EnvVariablesNotNil applies the NotNil predicate on the "env_variables" field.

func GitIdentityID

func GitIdentityID(v uuid.UUID) predicate.Project

GitIdentityID applies equality check predicate on the "git_identity_id" field. It's identical to GitIdentityIDEQ.

func GitIdentityIDEQ

func GitIdentityIDEQ(v uuid.UUID) predicate.Project

GitIdentityIDEQ applies the EQ predicate on the "git_identity_id" field.

func GitIdentityIDIn

func GitIdentityIDIn(vs ...uuid.UUID) predicate.Project

GitIdentityIDIn applies the In predicate on the "git_identity_id" field.

func GitIdentityIDIsNil

func GitIdentityIDIsNil() predicate.Project

GitIdentityIDIsNil applies the IsNil predicate on the "git_identity_id" field.

func GitIdentityIDNEQ

func GitIdentityIDNEQ(v uuid.UUID) predicate.Project

GitIdentityIDNEQ applies the NEQ predicate on the "git_identity_id" field.

func GitIdentityIDNotIn

func GitIdentityIDNotIn(vs ...uuid.UUID) predicate.Project

GitIdentityIDNotIn applies the NotIn predicate on the "git_identity_id" field.

func GitIdentityIDNotNil

func GitIdentityIDNotNil() predicate.Project

GitIdentityIDNotNil applies the NotNil predicate on the "git_identity_id" field.

func HasCollaborators

func HasCollaborators() predicate.Project

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

func HasGitBots() predicate.Project

HasGitBots applies the HasEdge predicate on the "git_bots" edge.

func HasGitBotsWith

func HasGitBotsWith(preds ...predicate.GitBot) predicate.Project

HasGitBotsWith applies the HasEdge predicate on the "git_bots" edge with a given conditions (other predicates).

func HasGitIdentity

func HasGitIdentity() predicate.Project

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 HasImage

func HasImage() predicate.Project

HasImage applies the HasEdge predicate on the "image" edge.

func HasImageWith

func HasImageWith(preds ...predicate.Image) predicate.Project

HasImageWith applies the HasEdge predicate on the "image" edge with a given conditions (other predicates).

func HasIssues

func HasIssues() predicate.Project

HasIssues applies the HasEdge predicate on the "issues" edge.

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

func HasProjectGitBots() predicate.Project

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

func HasProjectTasks() predicate.Project

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 HasUser

func HasUser() predicate.Project

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Project

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Project

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Project

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Project

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Project

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Project

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Project

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Project

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Project

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Project

IDNotIn applies the NotIn predicate on the ID field.

func ImageID

func ImageID(v uuid.UUID) predicate.Project

ImageID applies equality check predicate on the "image_id" field. It's identical to ImageIDEQ.

func ImageIDEQ

func ImageIDEQ(v uuid.UUID) predicate.Project

ImageIDEQ applies the EQ predicate on the "image_id" field.

func ImageIDIn

func ImageIDIn(vs ...uuid.UUID) predicate.Project

ImageIDIn applies the In predicate on the "image_id" field.

func ImageIDIsNil

func ImageIDIsNil() predicate.Project

ImageIDIsNil applies the IsNil predicate on the "image_id" field.

func ImageIDNEQ

func ImageIDNEQ(v uuid.UUID) predicate.Project

ImageIDNEQ applies the NEQ predicate on the "image_id" field.

func ImageIDNotIn

func ImageIDNotIn(vs ...uuid.UUID) predicate.Project

ImageIDNotIn applies the NotIn predicate on the "image_id" field.

func ImageIDNotNil

func ImageIDNotNil() predicate.Project

ImageIDNotNil applies the NotNil predicate on the "image_id" field.

func Name

func Name(v string) predicate.Project

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Project

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Project

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Project

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Project

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Project

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Project

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Project

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Project

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Project

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Project

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Project

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Project

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Project

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Project) predicate.Project

Or groups predicates with the OR operator between them.

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

func PlatformIsNil() predicate.Project

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

func PlatformNotNil() predicate.Project

PlatformNotNil applies the NotNil predicate on the "platform" field.

func RepoURL

func RepoURL(v string) predicate.Project

RepoURL applies equality check predicate on the "repo_url" field. It's identical to RepoURLEQ.

func RepoURLContains

func RepoURLContains(v string) predicate.Project

RepoURLContains applies the Contains predicate on the "repo_url" field.

func RepoURLContainsFold

func RepoURLContainsFold(v string) predicate.Project

RepoURLContainsFold applies the ContainsFold predicate on the "repo_url" field.

func RepoURLEQ

func RepoURLEQ(v string) predicate.Project

RepoURLEQ applies the EQ predicate on the "repo_url" field.

func RepoURLEqualFold

func RepoURLEqualFold(v string) predicate.Project

RepoURLEqualFold applies the EqualFold predicate on the "repo_url" field.

func RepoURLGT

func RepoURLGT(v string) predicate.Project

RepoURLGT applies the GT predicate on the "repo_url" field.

func RepoURLGTE

func RepoURLGTE(v string) predicate.Project

RepoURLGTE applies the GTE predicate on the "repo_url" field.

func RepoURLHasPrefix

func RepoURLHasPrefix(v string) predicate.Project

RepoURLHasPrefix applies the HasPrefix predicate on the "repo_url" field.

func RepoURLHasSuffix

func RepoURLHasSuffix(v string) predicate.Project

RepoURLHasSuffix applies the HasSuffix predicate on the "repo_url" field.

func RepoURLIn

func RepoURLIn(vs ...string) predicate.Project

RepoURLIn applies the In predicate on the "repo_url" field.

func RepoURLIsNil

func RepoURLIsNil() predicate.Project

RepoURLIsNil applies the IsNil predicate on the "repo_url" field.

func RepoURLLT

func RepoURLLT(v string) predicate.Project

RepoURLLT applies the LT predicate on the "repo_url" field.

func RepoURLLTE

func RepoURLLTE(v string) predicate.Project

RepoURLLTE applies the LTE predicate on the "repo_url" field.

func RepoURLNEQ

func RepoURLNEQ(v string) predicate.Project

RepoURLNEQ applies the NEQ predicate on the "repo_url" field.

func RepoURLNotIn

func RepoURLNotIn(vs ...string) predicate.Project

RepoURLNotIn applies the NotIn predicate on the "repo_url" field.

func RepoURLNotNil

func RepoURLNotNil() predicate.Project

RepoURLNotNil applies the NotNil predicate on the "repo_url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Project

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Project

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Project

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Project

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Project

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Project

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Project

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Project

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Project

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserID

func UserID(v uuid.UUID) predicate.Project

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uuid.UUID) predicate.Project

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uuid.UUID) predicate.Project

UserIDIn applies the In predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uuid.UUID) predicate.Project

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uuid.UUID) predicate.Project

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL