Documentation
¶
Index ¶
- Constants
- Variables
- func Additions(v int64) predicate.Commits
- func AdditionsEQ(v int64) predicate.Commits
- func AdditionsGT(v int64) predicate.Commits
- func AdditionsGTE(v int64) predicate.Commits
- func AdditionsIn(vs ...int64) predicate.Commits
- func AdditionsLT(v int64) predicate.Commits
- func AdditionsLTE(v int64) predicate.Commits
- func AdditionsNEQ(v int64) predicate.Commits
- func AdditionsNotIn(vs ...int64) predicate.Commits
- func And(predicates ...predicate.Commits) predicate.Commits
- func ChangeFiles(v int64) predicate.Commits
- func ChangeFilesEQ(v int64) predicate.Commits
- func ChangeFilesGT(v int64) predicate.Commits
- func ChangeFilesGTE(v int64) predicate.Commits
- func ChangeFilesIn(vs ...int64) predicate.Commits
- func ChangeFilesLT(v int64) predicate.Commits
- func ChangeFilesLTE(v int64) predicate.Commits
- func ChangeFilesNEQ(v int64) predicate.Commits
- func ChangeFilesNotIn(vs ...int64) predicate.Commits
- func CommittedAt(v time.Time) predicate.Commits
- func CommittedAtEQ(v time.Time) predicate.Commits
- func CommittedAtGT(v time.Time) predicate.Commits
- func CommittedAtGTE(v time.Time) predicate.Commits
- func CommittedAtIn(vs ...time.Time) predicate.Commits
- func CommittedAtLT(v time.Time) predicate.Commits
- func CommittedAtLTE(v time.Time) predicate.Commits
- func CommittedAtNEQ(v time.Time) predicate.Commits
- func CommittedAtNotIn(vs ...time.Time) predicate.Commits
- func Deletions(v int64) predicate.Commits
- func DeletionsEQ(v int64) predicate.Commits
- func DeletionsGT(v int64) predicate.Commits
- func DeletionsGTE(v int64) predicate.Commits
- func DeletionsIn(vs ...int64) predicate.Commits
- func DeletionsLT(v int64) predicate.Commits
- func DeletionsLTE(v int64) predicate.Commits
- func DeletionsNEQ(v int64) predicate.Commits
- func DeletionsNotIn(vs ...int64) predicate.Commits
- func GithubID(v string) predicate.Commits
- func GithubIDContains(v string) predicate.Commits
- func GithubIDContainsFold(v string) predicate.Commits
- func GithubIDEQ(v string) predicate.Commits
- func GithubIDEqualFold(v string) predicate.Commits
- func GithubIDGT(v string) predicate.Commits
- func GithubIDGTE(v string) predicate.Commits
- func GithubIDHasPrefix(v string) predicate.Commits
- func GithubIDHasSuffix(v string) predicate.Commits
- func GithubIDIn(vs ...string) predicate.Commits
- func GithubIDLT(v string) predicate.Commits
- func GithubIDLTE(v string) predicate.Commits
- func GithubIDNEQ(v string) predicate.Commits
- func GithubIDNotIn(vs ...string) predicate.Commits
- func HasPullRequest() predicate.Commits
- func HasPullRequestWith(preds ...predicate.PullRequest) predicate.Commits
- func ID(id uuid.UUID) predicate.Commits
- func IDEQ(id uuid.UUID) predicate.Commits
- func IDGT(id uuid.UUID) predicate.Commits
- func IDGTE(id uuid.UUID) predicate.Commits
- func IDIn(ids ...uuid.UUID) predicate.Commits
- func IDLT(id uuid.UUID) predicate.Commits
- func IDLTE(id uuid.UUID) predicate.Commits
- func IDNEQ(id uuid.UUID) predicate.Commits
- func IDNotIn(ids ...uuid.UUID) predicate.Commits
- func Message(v string) predicate.Commits
- func MessageContains(v string) predicate.Commits
- func MessageContainsFold(v string) predicate.Commits
- func MessageEQ(v string) predicate.Commits
- func MessageEqualFold(v string) predicate.Commits
- func MessageGT(v string) predicate.Commits
- func MessageGTE(v string) predicate.Commits
- func MessageHasPrefix(v string) predicate.Commits
- func MessageHasSuffix(v string) predicate.Commits
- func MessageIn(vs ...string) predicate.Commits
- func MessageLT(v string) predicate.Commits
- func MessageLTE(v string) predicate.Commits
- func MessageNEQ(v string) predicate.Commits
- func MessageNotIn(vs ...string) predicate.Commits
- func Not(p predicate.Commits) predicate.Commits
- func Or(predicates ...predicate.Commits) predicate.Commits
- func PushedAt(v time.Time) predicate.Commits
- func PushedAtEQ(v time.Time) predicate.Commits
- func PushedAtGT(v time.Time) predicate.Commits
- func PushedAtGTE(v time.Time) predicate.Commits
- func PushedAtIn(vs ...time.Time) predicate.Commits
- func PushedAtIsNil() predicate.Commits
- func PushedAtLT(v time.Time) predicate.Commits
- func PushedAtLTE(v time.Time) predicate.Commits
- func PushedAtNEQ(v time.Time) predicate.Commits
- func PushedAtNotIn(vs ...time.Time) predicate.Commits
- func PushedAtNotNil() predicate.Commits
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the commits type in the database. Label = "commits" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldGithubID holds the string denoting the github_id field in the database. FieldGithubID = "github_id" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldAdditions holds the string denoting the additions field in the database. FieldAdditions = "additions" // FieldDeletions holds the string denoting the deletions field in the database. FieldDeletions = "deletions" // FieldChangeFiles holds the string denoting the change_files field in the database. FieldChangeFiles = "change_files" // FieldCommittedAt holds the string denoting the committed_at field in the database. FieldCommittedAt = "committed_at" // FieldPushedAt holds the string denoting the pushed_at field in the database. FieldPushedAt = "pushed_at" // EdgePullRequest holds the string denoting the pull_request edge name in mutations. EdgePullRequest = "pull_request" // Table holds the table name of the commits in the database. Table = "commits" // PullRequestTable is the table that holds the pull_request relation/edge. PullRequestTable = "commits" // PullRequestInverseTable is the table name for the PullRequest entity. // It exists in this package in order to avoid circular dependency with the "pullrequest" package. PullRequestInverseTable = "pull_requests" // PullRequestColumn is the table column denoting the pull_request relation/edge. PullRequestColumn = "pull_request_id" )
Variables ¶
var ( // GithubIDValidator is a validator for the "github_id" field. It is called by the builders before save. GithubIDValidator func(string) error // DefaultCommittedAt holds the default value on creation for the "committed_at" field. DefaultCommittedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldGithubID, FieldMessage, FieldAdditions, FieldDeletions, FieldChangeFiles, FieldCommittedAt, FieldPushedAt, }
Columns holds all SQL columns for commits fields.
var ForeignKeys = []string{
"pull_request_id",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "commits" table and are not defined as standalone fields in the schema.
Functions ¶
func Additions ¶
Additions applies equality check predicate on the "additions" field. It's identical to AdditionsEQ.
func AdditionsEQ ¶
AdditionsEQ applies the EQ predicate on the "additions" field.
func AdditionsGT ¶
AdditionsGT applies the GT predicate on the "additions" field.
func AdditionsGTE ¶
AdditionsGTE applies the GTE predicate on the "additions" field.
func AdditionsIn ¶
AdditionsIn applies the In predicate on the "additions" field.
func AdditionsLT ¶
AdditionsLT applies the LT predicate on the "additions" field.
func AdditionsLTE ¶
AdditionsLTE applies the LTE predicate on the "additions" field.
func AdditionsNEQ ¶
AdditionsNEQ applies the NEQ predicate on the "additions" field.
func AdditionsNotIn ¶
AdditionsNotIn applies the NotIn predicate on the "additions" field.
func ChangeFiles ¶
ChangeFiles applies equality check predicate on the "change_files" field. It's identical to ChangeFilesEQ.
func ChangeFilesEQ ¶
ChangeFilesEQ applies the EQ predicate on the "change_files" field.
func ChangeFilesGT ¶
ChangeFilesGT applies the GT predicate on the "change_files" field.
func ChangeFilesGTE ¶
ChangeFilesGTE applies the GTE predicate on the "change_files" field.
func ChangeFilesIn ¶
ChangeFilesIn applies the In predicate on the "change_files" field.
func ChangeFilesLT ¶
ChangeFilesLT applies the LT predicate on the "change_files" field.
func ChangeFilesLTE ¶
ChangeFilesLTE applies the LTE predicate on the "change_files" field.
func ChangeFilesNEQ ¶
ChangeFilesNEQ applies the NEQ predicate on the "change_files" field.
func ChangeFilesNotIn ¶
ChangeFilesNotIn applies the NotIn predicate on the "change_files" field.
func CommittedAt ¶
CommittedAt applies equality check predicate on the "committed_at" field. It's identical to CommittedAtEQ.
func CommittedAtEQ ¶
CommittedAtEQ applies the EQ predicate on the "committed_at" field.
func CommittedAtGT ¶
CommittedAtGT applies the GT predicate on the "committed_at" field.
func CommittedAtGTE ¶
CommittedAtGTE applies the GTE predicate on the "committed_at" field.
func CommittedAtIn ¶
CommittedAtIn applies the In predicate on the "committed_at" field.
func CommittedAtLT ¶
CommittedAtLT applies the LT predicate on the "committed_at" field.
func CommittedAtLTE ¶
CommittedAtLTE applies the LTE predicate on the "committed_at" field.
func CommittedAtNEQ ¶
CommittedAtNEQ applies the NEQ predicate on the "committed_at" field.
func CommittedAtNotIn ¶
CommittedAtNotIn applies the NotIn predicate on the "committed_at" field.
func Deletions ¶
Deletions applies equality check predicate on the "deletions" field. It's identical to DeletionsEQ.
func DeletionsEQ ¶
DeletionsEQ applies the EQ predicate on the "deletions" field.
func DeletionsGT ¶
DeletionsGT applies the GT predicate on the "deletions" field.
func DeletionsGTE ¶
DeletionsGTE applies the GTE predicate on the "deletions" field.
func DeletionsIn ¶
DeletionsIn applies the In predicate on the "deletions" field.
func DeletionsLT ¶
DeletionsLT applies the LT predicate on the "deletions" field.
func DeletionsLTE ¶
DeletionsLTE applies the LTE predicate on the "deletions" field.
func DeletionsNEQ ¶
DeletionsNEQ applies the NEQ predicate on the "deletions" field.
func DeletionsNotIn ¶
DeletionsNotIn applies the NotIn predicate on the "deletions" field.
func GithubID ¶
GithubID applies equality check predicate on the "github_id" field. It's identical to GithubIDEQ.
func GithubIDContains ¶
GithubIDContains applies the Contains predicate on the "github_id" field.
func GithubIDContainsFold ¶
GithubIDContainsFold applies the ContainsFold predicate on the "github_id" field.
func GithubIDEQ ¶
GithubIDEQ applies the EQ predicate on the "github_id" field.
func GithubIDEqualFold ¶
GithubIDEqualFold applies the EqualFold predicate on the "github_id" field.
func GithubIDGT ¶
GithubIDGT applies the GT predicate on the "github_id" field.
func GithubIDGTE ¶
GithubIDGTE applies the GTE predicate on the "github_id" field.
func GithubIDHasPrefix ¶
GithubIDHasPrefix applies the HasPrefix predicate on the "github_id" field.
func GithubIDHasSuffix ¶
GithubIDHasSuffix applies the HasSuffix predicate on the "github_id" field.
func GithubIDIn ¶
GithubIDIn applies the In predicate on the "github_id" field.
func GithubIDLT ¶
GithubIDLT applies the LT predicate on the "github_id" field.
func GithubIDLTE ¶
GithubIDLTE applies the LTE predicate on the "github_id" field.
func GithubIDNEQ ¶
GithubIDNEQ applies the NEQ predicate on the "github_id" field.
func GithubIDNotIn ¶
GithubIDNotIn applies the NotIn predicate on the "github_id" field.
func HasPullRequest ¶
HasPullRequest applies the HasEdge predicate on the "pull_request" edge.
func HasPullRequestWith ¶
func HasPullRequestWith(preds ...predicate.PullRequest) predicate.Commits
HasPullRequestWith applies the HasEdge predicate on the "pull_request" edge with a given conditions (other predicates).
func Message ¶
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageContains ¶
MessageContains applies the Contains predicate on the "message" field.
func MessageContainsFold ¶
MessageContainsFold applies the ContainsFold predicate on the "message" field.
func MessageEqualFold ¶
MessageEqualFold applies the EqualFold predicate on the "message" field.
func MessageGTE ¶
MessageGTE applies the GTE predicate on the "message" field.
func MessageHasPrefix ¶
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
func MessageHasSuffix ¶
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
func MessageLTE ¶
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
MessageNotIn applies the NotIn predicate on the "message" field.
func PushedAt ¶
PushedAt applies equality check predicate on the "pushed_at" field. It's identical to PushedAtEQ.
func PushedAtEQ ¶
PushedAtEQ applies the EQ predicate on the "pushed_at" field.
func PushedAtGT ¶
PushedAtGT applies the GT predicate on the "pushed_at" field.
func PushedAtGTE ¶
PushedAtGTE applies the GTE predicate on the "pushed_at" field.
func PushedAtIn ¶
PushedAtIn applies the In predicate on the "pushed_at" field.
func PushedAtIsNil ¶
PushedAtIsNil applies the IsNil predicate on the "pushed_at" field.
func PushedAtLT ¶
PushedAtLT applies the LT predicate on the "pushed_at" field.
func PushedAtLTE ¶
PushedAtLTE applies the LTE predicate on the "pushed_at" field.
func PushedAtNEQ ¶
PushedAtNEQ applies the NEQ predicate on the "pushed_at" field.
func PushedAtNotIn ¶
PushedAtNotIn applies the NotIn predicate on the "pushed_at" field.
func PushedAtNotNil ¶
PushedAtNotNil applies the NotNil predicate on the "pushed_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.