certifyscorecard

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the certifyscorecard type in the database.
	Label = "certify_scorecard"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSourceID holds the string denoting the source_id field in the database.
	FieldSourceID = "source_id"
	// FieldScorecardID holds the string denoting the scorecard_id field in the database.
	FieldScorecardID = "scorecard_id"
	// EdgeScorecard holds the string denoting the scorecard edge name in mutations.
	EdgeScorecard = "scorecard"
	// EdgeSource holds the string denoting the source edge name in mutations.
	EdgeSource = "source"
	// Table holds the table name of the certifyscorecard in the database.
	Table = "certify_scorecards"
	// ScorecardTable is the table that holds the scorecard relation/edge.
	ScorecardTable = "certify_scorecards"
	// ScorecardInverseTable is the table name for the Scorecard entity.
	// It exists in this package in order to avoid circular dependency with the "scorecard" package.
	ScorecardInverseTable = "scorecards"
	// ScorecardColumn is the table column denoting the scorecard relation/edge.
	ScorecardColumn = "scorecard_id"
	// SourceTable is the table that holds the source relation/edge.
	SourceTable = "certify_scorecards"
	// SourceInverseTable is the table name for the SourceName entity.
	// It exists in this package in order to avoid circular dependency with the "sourcename" package.
	SourceInverseTable = "source_names"
	// SourceColumn is the table column denoting the source relation/edge.
	SourceColumn = "source_id"
)

Variables

Columns holds all SQL columns for certifyscorecard fields.

Functions

func And

And groups predicates with the AND operator between them.

func HasScorecard

func HasScorecard() predicate.CertifyScorecard

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

func HasScorecardWith

func HasScorecardWith(preds ...predicate.Scorecard) predicate.CertifyScorecard

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

func HasSource

func HasSource() predicate.CertifyScorecard

HasSource applies the HasEdge predicate on the "source" edge.

func HasSourceWith

func HasSourceWith(preds ...predicate.SourceName) predicate.CertifyScorecard

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.CertifyScorecard

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.CertifyScorecard

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.CertifyScorecard

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ScorecardID

func ScorecardID(v int) predicate.CertifyScorecard

ScorecardID applies equality check predicate on the "scorecard_id" field. It's identical to ScorecardIDEQ.

func ScorecardIDEQ

func ScorecardIDEQ(v int) predicate.CertifyScorecard

ScorecardIDEQ applies the EQ predicate on the "scorecard_id" field.

func ScorecardIDIn

func ScorecardIDIn(vs ...int) predicate.CertifyScorecard

ScorecardIDIn applies the In predicate on the "scorecard_id" field.

func ScorecardIDNEQ

func ScorecardIDNEQ(v int) predicate.CertifyScorecard

ScorecardIDNEQ applies the NEQ predicate on the "scorecard_id" field.

func ScorecardIDNotIn

func ScorecardIDNotIn(vs ...int) predicate.CertifyScorecard

ScorecardIDNotIn applies the NotIn predicate on the "scorecard_id" field.

func SourceID

func SourceID(v int) predicate.CertifyScorecard

SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.

func SourceIDEQ

func SourceIDEQ(v int) predicate.CertifyScorecard

SourceIDEQ applies the EQ predicate on the "source_id" field.

func SourceIDIn

func SourceIDIn(vs ...int) predicate.CertifyScorecard

SourceIDIn applies the In predicate on the "source_id" field.

func SourceIDNEQ

func SourceIDNEQ(v int) predicate.CertifyScorecard

SourceIDNEQ applies the NEQ predicate on the "source_id" field.

func SourceIDNotIn

func SourceIDNotIn(vs ...int) predicate.CertifyScorecard

SourceIDNotIn applies the NotIn predicate on the "source_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 CertifyScorecard queries.

func ByID

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

ByID orders the results by the id field.

func ByScorecardField

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

ByScorecardField orders the results by scorecard field.

func ByScorecardID

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

ByScorecardID orders the results by the scorecard_id field.

func BySourceField

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

BySourceField orders the results by source field.

func BySourceID

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

BySourceID orders the results by the source_id field.

Jump to

Keyboard shortcuts

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