Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
- func HasScorecard() predicate.CertifyScorecard
- func HasScorecardWith(preds ...predicate.Scorecard) predicate.CertifyScorecard
- func HasSource() predicate.CertifyScorecard
- func HasSourceWith(preds ...predicate.SourceName) predicate.CertifyScorecard
- func ID(id int) predicate.CertifyScorecard
- func IDEQ(id int) predicate.CertifyScorecard
- func IDGT(id int) predicate.CertifyScorecard
- func IDGTE(id int) predicate.CertifyScorecard
- func IDIn(ids ...int) predicate.CertifyScorecard
- func IDLT(id int) predicate.CertifyScorecard
- func IDLTE(id int) predicate.CertifyScorecard
- func IDNEQ(id int) predicate.CertifyScorecard
- func IDNotIn(ids ...int) predicate.CertifyScorecard
- func Not(p predicate.CertifyScorecard) predicate.CertifyScorecard
- func Or(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
- func ScorecardID(v int) predicate.CertifyScorecard
- func ScorecardIDEQ(v int) predicate.CertifyScorecard
- func ScorecardIDIn(vs ...int) predicate.CertifyScorecard
- func ScorecardIDNEQ(v int) predicate.CertifyScorecard
- func ScorecardIDNotIn(vs ...int) predicate.CertifyScorecard
- func SourceID(v int) predicate.CertifyScorecard
- func SourceIDEQ(v int) predicate.CertifyScorecard
- func SourceIDIn(vs ...int) predicate.CertifyScorecard
- func SourceIDNEQ(v int) predicate.CertifyScorecard
- func SourceIDNotIn(vs ...int) predicate.CertifyScorecard
- func ValidColumn(column string) bool
- type OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByScorecardField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByScorecardID(opts ...sql.OrderTermOption) OrderOption
- func BySourceField(field string, opts ...sql.OrderTermOption) OrderOption
- func BySourceID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldSourceID, FieldScorecardID, }
Columns holds all SQL columns for certifyscorecard fields.
Functions ¶
func And ¶
func And(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
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 IDEQ ¶
func IDEQ(id int) predicate.CertifyScorecard
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.CertifyScorecard
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 ¶
func IDLT(id int) predicate.CertifyScorecard
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 ¶
func Not(p predicate.CertifyScorecard) predicate.CertifyScorecard
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CertifyScorecard) predicate.CertifyScorecard
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.