reportproject

package
v1.12.21 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the reportproject type in the database.
	Label = "report_project"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldStars holds the string denoting the stars field in the database.
	FieldStars = "stars"
	// FieldForks holds the string denoting the forks field in the database.
	FieldForks = "forks"
	// 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"
	// EdgePackage holds the string denoting the package edge name in mutations.
	EdgePackage = "package"
	// EdgeScorecard holds the string denoting the scorecard edge name in mutations.
	EdgeScorecard = "scorecard"
	// Table holds the table name of the reportproject in the database.
	Table = "report_projects"
	// PackageTable is the table that holds the package relation/edge.
	PackageTable = "report_projects"
	// PackageInverseTable is the table name for the ReportPackage entity.
	// It exists in this package in order to avoid circular dependency with the "reportpackage" package.
	PackageInverseTable = "report_packages"
	// PackageColumn is the table column denoting the package relation/edge.
	PackageColumn = "report_package_projects"
	// ScorecardTable is the table that holds the scorecard relation/edge.
	ScorecardTable = "report_scorecards"
	// ScorecardInverseTable is the table name for the ReportScorecard entity.
	// It exists in this package in order to avoid circular dependency with the "reportscorecard" package.
	ScorecardInverseTable = "report_scorecards"
	// ScorecardColumn is the table column denoting the scorecard relation/edge.
	ScorecardColumn = "report_project_scorecard"
)

Variables

Columns holds all SQL columns for reportproject fields.

View Source
var ForeignKeys = []string{
	"report_package_projects",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "report_projects" table and are not defined as standalone fields in the schema.

View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
)

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.ReportProject

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ReportProject

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ReportProject

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ReportProject

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.ReportProject

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ReportProject

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ReportProject

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ReportProject

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.ReportProject

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func Description

func Description(v string) predicate.ReportProject

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

func DescriptionContains

func DescriptionContains(v string) predicate.ReportProject

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.ReportProject

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.ReportProject

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.ReportProject

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

func DescriptionGT

func DescriptionGT(v string) predicate.ReportProject

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.ReportProject

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.ReportProject

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.ReportProject

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.ReportProject

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

func DescriptionLT

func DescriptionLT(v string) predicate.ReportProject

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.ReportProject

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.ReportProject

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.ReportProject

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

func Forks

func Forks(v int32) predicate.ReportProject

Forks applies equality check predicate on the "forks" field. It's identical to ForksEQ.

func ForksEQ

func ForksEQ(v int32) predicate.ReportProject

ForksEQ applies the EQ predicate on the "forks" field.

func ForksGT

func ForksGT(v int32) predicate.ReportProject

ForksGT applies the GT predicate on the "forks" field.

func ForksGTE

func ForksGTE(v int32) predicate.ReportProject

ForksGTE applies the GTE predicate on the "forks" field.

func ForksIn

func ForksIn(vs ...int32) predicate.ReportProject

ForksIn applies the In predicate on the "forks" field.

func ForksIsNil

func ForksIsNil() predicate.ReportProject

ForksIsNil applies the IsNil predicate on the "forks" field.

func ForksLT

func ForksLT(v int32) predicate.ReportProject

ForksLT applies the LT predicate on the "forks" field.

func ForksLTE

func ForksLTE(v int32) predicate.ReportProject

ForksLTE applies the LTE predicate on the "forks" field.

func ForksNEQ

func ForksNEQ(v int32) predicate.ReportProject

ForksNEQ applies the NEQ predicate on the "forks" field.

func ForksNotIn

func ForksNotIn(vs ...int32) predicate.ReportProject

ForksNotIn applies the NotIn predicate on the "forks" field.

func ForksNotNil

func ForksNotNil() predicate.ReportProject

ForksNotNil applies the NotNil predicate on the "forks" field.

func HasPackage

func HasPackage() predicate.ReportProject

HasPackage applies the HasEdge predicate on the "package" edge.

func HasPackageWith

func HasPackageWith(preds ...predicate.ReportPackage) predicate.ReportProject

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

func HasScorecard

func HasScorecard() predicate.ReportProject

HasScorecard applies the HasEdge predicate on the "scorecard" edge.

func HasScorecardWith

func HasScorecardWith(preds ...predicate.ReportScorecard) predicate.ReportProject

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ReportProject

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ReportProject

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ReportProject

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.ReportProject

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ReportProject

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ReportProject

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ReportProject

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ReportProject

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.ReportProject

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

func NameContainsFold

func NameContainsFold(v string) predicate.ReportProject

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

func NameEQ

func NameEQ(v string) predicate.ReportProject

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

func NameEqualFold

func NameEqualFold(v string) predicate.ReportProject

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

func NameGT

func NameGT(v string) predicate.ReportProject

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

func NameGTE

func NameGTE(v string) predicate.ReportProject

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ReportProject

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ReportProject

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.ReportProject

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

func NameLTE

func NameLTE(v string) predicate.ReportProject

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

func NameNEQ

func NameNEQ(v string) predicate.ReportProject

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Stars

func Stars(v int32) predicate.ReportProject

Stars applies equality check predicate on the "stars" field. It's identical to StarsEQ.

func StarsEQ

func StarsEQ(v int32) predicate.ReportProject

StarsEQ applies the EQ predicate on the "stars" field.

func StarsGT

func StarsGT(v int32) predicate.ReportProject

StarsGT applies the GT predicate on the "stars" field.

func StarsGTE

func StarsGTE(v int32) predicate.ReportProject

StarsGTE applies the GTE predicate on the "stars" field.

func StarsIn

func StarsIn(vs ...int32) predicate.ReportProject

StarsIn applies the In predicate on the "stars" field.

func StarsIsNil

func StarsIsNil() predicate.ReportProject

StarsIsNil applies the IsNil predicate on the "stars" field.

func StarsLT

func StarsLT(v int32) predicate.ReportProject

StarsLT applies the LT predicate on the "stars" field.

func StarsLTE

func StarsLTE(v int32) predicate.ReportProject

StarsLTE applies the LTE predicate on the "stars" field.

func StarsNEQ

func StarsNEQ(v int32) predicate.ReportProject

StarsNEQ applies the NEQ predicate on the "stars" field.

func StarsNotIn

func StarsNotIn(vs ...int32) predicate.ReportProject

StarsNotIn applies the NotIn predicate on the "stars" field.

func StarsNotNil

func StarsNotNil() predicate.ReportProject

StarsNotNil applies the NotNil predicate on the "stars" field.

func URL

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.ReportProject

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.ReportProject

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.ReportProject

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.ReportProject

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.ReportProject

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.ReportProject

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.ReportProject

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.ReportProject

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.ReportProject

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.ReportProject

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.ReportProject

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.ReportProject

URLNotNil applies the NotNil predicate on the "url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ReportProject

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ReportProject

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ReportProject

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ReportProject

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.ReportProject

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ReportProject

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ReportProject

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ReportProject

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.ReportProject

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" 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 ReportProject queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByForks

func ByForks(opts ...sql.OrderTermOption) OrderOption

ByForks orders the results by the forks field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByPackageField

func ByPackageField(field string, opts ...sql.OrderTermOption) OrderOption

ByPackageField orders the results by package field.

func ByScorecardField

func ByScorecardField(field string, opts ...sql.OrderTermOption) OrderOption

ByScorecardField orders the results by scorecard field.

func ByStars

func ByStars(opts ...sql.OrderTermOption) OrderOption

ByStars orders the results by the stars field.

func ByURL

func ByURL(opts ...sql.OrderTermOption) OrderOption

ByURL orders the results by the url field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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