// Code generated by ent, DO NOT EDIT.

package projectversion

import (
	"time"

	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"github.com/chainloop-dev/chainloop/app/controlplane/pkg/data/ent/predicate"
	"github.com/google/uuid"
)

// ID filters vertices based on their ID field.
func ID(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldID, id))
}

// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldID, id))
}

// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldID, id))
}

// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldID, ids...))
}

// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldID, ids...))
}

// IDGT applies the GT predicate on the ID field.
func IDGT(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldID, id))
}

// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldID, id))
}

// IDLT applies the LT predicate on the ID field.
func IDLT(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldID, id))
}

// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldID, id))
}

// Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func Version(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldVersion, v))
}

// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldCreatedAt, v))
}

// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldUpdatedAt, v))
}

// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAt(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldDeletedAt, v))
}

// ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectID(v uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldProjectID, v))
}

// Prerelease applies equality check predicate on the "prerelease" field. It's identical to PrereleaseEQ.
func Prerelease(v bool) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldPrerelease, v))
}

// WorkflowRunCount applies equality check predicate on the "workflow_run_count" field. It's identical to WorkflowRunCountEQ.
func WorkflowRunCount(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldWorkflowRunCount, v))
}

// ReleasedAt applies equality check predicate on the "released_at" field. It's identical to ReleasedAtEQ.
func ReleasedAt(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldReleasedAt, v))
}

// LastRunAt applies equality check predicate on the "last_run_at" field. It's identical to LastRunAtEQ.
func LastRunAt(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldLastRunAt, v))
}

// Latest applies equality check predicate on the "latest" field. It's identical to LatestEQ.
func Latest(v bool) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldLatest, v))
}

// VersionEQ applies the EQ predicate on the "version" field.
func VersionEQ(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldVersion, v))
}

// VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNEQ(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldVersion, v))
}

// VersionIn applies the In predicate on the "version" field.
func VersionIn(vs ...string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldVersion, vs...))
}

// VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotIn(vs ...string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldVersion, vs...))
}

// VersionGT applies the GT predicate on the "version" field.
func VersionGT(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldVersion, v))
}

// VersionGTE applies the GTE predicate on the "version" field.
func VersionGTE(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldVersion, v))
}

// VersionLT applies the LT predicate on the "version" field.
func VersionLT(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldVersion, v))
}

// VersionLTE applies the LTE predicate on the "version" field.
func VersionLTE(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldVersion, v))
}

// VersionContains applies the Contains predicate on the "version" field.
func VersionContains(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldContains(FieldVersion, v))
}

// VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasPrefix(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldHasPrefix(FieldVersion, v))
}

// VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionHasSuffix(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldHasSuffix(FieldVersion, v))
}

// VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionEqualFold(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEqualFold(FieldVersion, v))
}

// VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionContainsFold(v string) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldContainsFold(FieldVersion, v))
}

// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldCreatedAt, v))
}

// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldCreatedAt, v))
}

// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldCreatedAt, vs...))
}

// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldCreatedAt, vs...))
}

// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldCreatedAt, v))
}

// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldCreatedAt, v))
}

// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldCreatedAt, v))
}

// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldCreatedAt, v))
}

// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldUpdatedAt, v))
}

// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldUpdatedAt, v))
}

// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldUpdatedAt, vs...))
}

// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldUpdatedAt, vs...))
}

// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldUpdatedAt, v))
}

// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldUpdatedAt, v))
}

// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldUpdatedAt, v))
}

// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldUpdatedAt, v))
}

// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldDeletedAt, v))
}

// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldDeletedAt, v))
}

// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldDeletedAt, vs...))
}

// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldDeletedAt, vs...))
}

// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldDeletedAt, v))
}

// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldDeletedAt, v))
}

// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldDeletedAt, v))
}

// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldDeletedAt, v))
}

// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIsNull(FieldDeletedAt))
}

// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotNull(FieldDeletedAt))
}

// ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDEQ(v uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldProjectID, v))
}

// ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNEQ(v uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldProjectID, v))
}

// ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDIn(vs ...uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldProjectID, vs...))
}

// ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ProjectIDNotIn(vs ...uuid.UUID) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldProjectID, vs...))
}

// PrereleaseEQ applies the EQ predicate on the "prerelease" field.
func PrereleaseEQ(v bool) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldPrerelease, v))
}

// PrereleaseNEQ applies the NEQ predicate on the "prerelease" field.
func PrereleaseNEQ(v bool) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldPrerelease, v))
}

// WorkflowRunCountEQ applies the EQ predicate on the "workflow_run_count" field.
func WorkflowRunCountEQ(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldWorkflowRunCount, v))
}

// WorkflowRunCountNEQ applies the NEQ predicate on the "workflow_run_count" field.
func WorkflowRunCountNEQ(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldWorkflowRunCount, v))
}

// WorkflowRunCountIn applies the In predicate on the "workflow_run_count" field.
func WorkflowRunCountIn(vs ...int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldWorkflowRunCount, vs...))
}

// WorkflowRunCountNotIn applies the NotIn predicate on the "workflow_run_count" field.
func WorkflowRunCountNotIn(vs ...int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldWorkflowRunCount, vs...))
}

// WorkflowRunCountGT applies the GT predicate on the "workflow_run_count" field.
func WorkflowRunCountGT(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldWorkflowRunCount, v))
}

// WorkflowRunCountGTE applies the GTE predicate on the "workflow_run_count" field.
func WorkflowRunCountGTE(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldWorkflowRunCount, v))
}

// WorkflowRunCountLT applies the LT predicate on the "workflow_run_count" field.
func WorkflowRunCountLT(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldWorkflowRunCount, v))
}

// WorkflowRunCountLTE applies the LTE predicate on the "workflow_run_count" field.
func WorkflowRunCountLTE(v int) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldWorkflowRunCount, v))
}

// ReleasedAtEQ applies the EQ predicate on the "released_at" field.
func ReleasedAtEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldReleasedAt, v))
}

// ReleasedAtNEQ applies the NEQ predicate on the "released_at" field.
func ReleasedAtNEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldReleasedAt, v))
}

// ReleasedAtIn applies the In predicate on the "released_at" field.
func ReleasedAtIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldReleasedAt, vs...))
}

// ReleasedAtNotIn applies the NotIn predicate on the "released_at" field.
func ReleasedAtNotIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldReleasedAt, vs...))
}

// ReleasedAtGT applies the GT predicate on the "released_at" field.
func ReleasedAtGT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldReleasedAt, v))
}

// ReleasedAtGTE applies the GTE predicate on the "released_at" field.
func ReleasedAtGTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldReleasedAt, v))
}

// ReleasedAtLT applies the LT predicate on the "released_at" field.
func ReleasedAtLT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldReleasedAt, v))
}

// ReleasedAtLTE applies the LTE predicate on the "released_at" field.
func ReleasedAtLTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldReleasedAt, v))
}

// ReleasedAtIsNil applies the IsNil predicate on the "released_at" field.
func ReleasedAtIsNil() predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIsNull(FieldReleasedAt))
}

// ReleasedAtNotNil applies the NotNil predicate on the "released_at" field.
func ReleasedAtNotNil() predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotNull(FieldReleasedAt))
}

// LastRunAtEQ applies the EQ predicate on the "last_run_at" field.
func LastRunAtEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldLastRunAt, v))
}

// LastRunAtNEQ applies the NEQ predicate on the "last_run_at" field.
func LastRunAtNEQ(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldLastRunAt, v))
}

// LastRunAtIn applies the In predicate on the "last_run_at" field.
func LastRunAtIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIn(FieldLastRunAt, vs...))
}

// LastRunAtNotIn applies the NotIn predicate on the "last_run_at" field.
func LastRunAtNotIn(vs ...time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotIn(FieldLastRunAt, vs...))
}

// LastRunAtGT applies the GT predicate on the "last_run_at" field.
func LastRunAtGT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGT(FieldLastRunAt, v))
}

// LastRunAtGTE applies the GTE predicate on the "last_run_at" field.
func LastRunAtGTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldGTE(FieldLastRunAt, v))
}

// LastRunAtLT applies the LT predicate on the "last_run_at" field.
func LastRunAtLT(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLT(FieldLastRunAt, v))
}

// LastRunAtLTE applies the LTE predicate on the "last_run_at" field.
func LastRunAtLTE(v time.Time) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldLTE(FieldLastRunAt, v))
}

// LastRunAtIsNil applies the IsNil predicate on the "last_run_at" field.
func LastRunAtIsNil() predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldIsNull(FieldLastRunAt))
}

// LastRunAtNotNil applies the NotNil predicate on the "last_run_at" field.
func LastRunAtNotNil() predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNotNull(FieldLastRunAt))
}

// LatestEQ applies the EQ predicate on the "latest" field.
func LatestEQ(v bool) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldEQ(FieldLatest, v))
}

// LatestNEQ applies the NEQ predicate on the "latest" field.
func LatestNEQ(v bool) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.FieldNEQ(FieldLatest, v))
}

// HasProject applies the HasEdge predicate on the "project" edge.
func HasProject() predicate.ProjectVersion {
	return predicate.ProjectVersion(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.M2O, true, ProjectTable, ProjectColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasProjectWith(preds ...predicate.Project) predicate.ProjectVersion {
	return predicate.ProjectVersion(func(s *sql.Selector) {
		step := newProjectStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// HasRuns applies the HasEdge predicate on the "runs" edge.
func HasRuns() predicate.ProjectVersion {
	return predicate.ProjectVersion(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.O2M, false, RunsTable, RunsColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasRunsWith applies the HasEdge predicate on the "runs" edge with a given conditions (other predicates).
func HasRunsWith(preds ...predicate.WorkflowRun) predicate.ProjectVersion {
	return predicate.ProjectVersion(func(s *sql.Selector) {
		step := newRunsStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// And groups predicates with the AND operator between them.
func And(predicates ...predicate.ProjectVersion) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.AndPredicates(predicates...))
}

// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.ProjectVersion) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.OrPredicates(predicates...))
}

// Not applies the not operator on the given predicate.
func Not(p predicate.ProjectVersion) predicate.ProjectVersion {
	return predicate.ProjectVersion(sql.NotPredicates(p))
}
