Documentation ¶
Index ¶
- Constants
- Variables
- func AnchorID(v int) predicate.Certification
- func AnchorIDEQ(v int) predicate.Certification
- func AnchorIDGT(v int) predicate.Certification
- func AnchorIDGTE(v int) predicate.Certification
- func AnchorIDIn(vs ...int) predicate.Certification
- func AnchorIDLT(v int) predicate.Certification
- func AnchorIDLTE(v int) predicate.Certification
- func AnchorIDNEQ(v int) predicate.Certification
- func AnchorIDNotIn(vs ...int) predicate.Certification
- func And(predicates ...predicate.Certification) predicate.Certification
- func DataID(v string) predicate.Certification
- func DataIDContains(v string) predicate.Certification
- func DataIDContainsFold(v string) predicate.Certification
- func DataIDEQ(v string) predicate.Certification
- func DataIDEqualFold(v string) predicate.Certification
- func DataIDGT(v string) predicate.Certification
- func DataIDGTE(v string) predicate.Certification
- func DataIDHasPrefix(v string) predicate.Certification
- func DataIDHasSuffix(v string) predicate.Certification
- func DataIDIn(vs ...string) predicate.Certification
- func DataIDLT(v string) predicate.Certification
- func DataIDLTE(v string) predicate.Certification
- func DataIDNEQ(v string) predicate.Certification
- func DataIDNotIn(vs ...string) predicate.Certification
- func Hash(v string) predicate.Certification
- func HashContains(v string) predicate.Certification
- func HashContainsFold(v string) predicate.Certification
- func HashEQ(v string) predicate.Certification
- func HashEqualFold(v string) predicate.Certification
- func HashGT(v string) predicate.Certification
- func HashGTE(v string) predicate.Certification
- func HashHasPrefix(v string) predicate.Certification
- func HashHasSuffix(v string) predicate.Certification
- func HashIn(vs ...string) predicate.Certification
- func HashLT(v string) predicate.Certification
- func HashLTE(v string) predicate.Certification
- func HashNEQ(v string) predicate.Certification
- func HashNotIn(vs ...string) predicate.Certification
- func ID(id uuid.UUID) predicate.Certification
- func IDEQ(id uuid.UUID) predicate.Certification
- func IDGT(id uuid.UUID) predicate.Certification
- func IDGTE(id uuid.UUID) predicate.Certification
- func IDIn(ids ...uuid.UUID) predicate.Certification
- func IDLT(id uuid.UUID) predicate.Certification
- func IDLTE(id uuid.UUID) predicate.Certification
- func IDNEQ(id uuid.UUID) predicate.Certification
- func IDNotIn(ids ...uuid.UUID) predicate.Certification
- func Not(p predicate.Certification) predicate.Certification
- func Or(predicates ...predicate.Certification) predicate.Certification
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the certification type in the database. Label = "certification" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAnchorID holds the string denoting the anchor_id field in the database. FieldAnchorID = "anchor_id" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldDataID holds the string denoting the data_id field in the database. FieldDataID = "data_id" // Table holds the table name of the certification in the database. Table = "certifications" )
Variables ¶
var ( // AnchorIDValidator is a validator for the "anchor_id" field. It is called by the builders before save. AnchorIDValidator func(int) error // HashValidator is a validator for the "hash" field. It is called by the builders before save. HashValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAnchorID, FieldHash, FieldDataID, }
Columns holds all SQL columns for certification fields.
Functions ¶
func AnchorID ¶
func AnchorID(v int) predicate.Certification
AnchorID applies equality check predicate on the "anchor_id" field. It's identical to AnchorIDEQ.
func AnchorIDEQ ¶
func AnchorIDEQ(v int) predicate.Certification
AnchorIDEQ applies the EQ predicate on the "anchor_id" field.
func AnchorIDGT ¶
func AnchorIDGT(v int) predicate.Certification
AnchorIDGT applies the GT predicate on the "anchor_id" field.
func AnchorIDGTE ¶
func AnchorIDGTE(v int) predicate.Certification
AnchorIDGTE applies the GTE predicate on the "anchor_id" field.
func AnchorIDIn ¶
func AnchorIDIn(vs ...int) predicate.Certification
AnchorIDIn applies the In predicate on the "anchor_id" field.
func AnchorIDLT ¶
func AnchorIDLT(v int) predicate.Certification
AnchorIDLT applies the LT predicate on the "anchor_id" field.
func AnchorIDLTE ¶
func AnchorIDLTE(v int) predicate.Certification
AnchorIDLTE applies the LTE predicate on the "anchor_id" field.
func AnchorIDNEQ ¶
func AnchorIDNEQ(v int) predicate.Certification
AnchorIDNEQ applies the NEQ predicate on the "anchor_id" field.
func AnchorIDNotIn ¶
func AnchorIDNotIn(vs ...int) predicate.Certification
AnchorIDNotIn applies the NotIn predicate on the "anchor_id" field.
func And ¶
func And(predicates ...predicate.Certification) predicate.Certification
And groups predicates with the AND operator between them.
func DataID ¶
func DataID(v string) predicate.Certification
DataID applies equality check predicate on the "data_id" field. It's identical to DataIDEQ.
func DataIDContains ¶
func DataIDContains(v string) predicate.Certification
DataIDContains applies the Contains predicate on the "data_id" field.
func DataIDContainsFold ¶
func DataIDContainsFold(v string) predicate.Certification
DataIDContainsFold applies the ContainsFold predicate on the "data_id" field.
func DataIDEQ ¶
func DataIDEQ(v string) predicate.Certification
DataIDEQ applies the EQ predicate on the "data_id" field.
func DataIDEqualFold ¶
func DataIDEqualFold(v string) predicate.Certification
DataIDEqualFold applies the EqualFold predicate on the "data_id" field.
func DataIDGT ¶
func DataIDGT(v string) predicate.Certification
DataIDGT applies the GT predicate on the "data_id" field.
func DataIDGTE ¶
func DataIDGTE(v string) predicate.Certification
DataIDGTE applies the GTE predicate on the "data_id" field.
func DataIDHasPrefix ¶
func DataIDHasPrefix(v string) predicate.Certification
DataIDHasPrefix applies the HasPrefix predicate on the "data_id" field.
func DataIDHasSuffix ¶
func DataIDHasSuffix(v string) predicate.Certification
DataIDHasSuffix applies the HasSuffix predicate on the "data_id" field.
func DataIDIn ¶
func DataIDIn(vs ...string) predicate.Certification
DataIDIn applies the In predicate on the "data_id" field.
func DataIDLT ¶
func DataIDLT(v string) predicate.Certification
DataIDLT applies the LT predicate on the "data_id" field.
func DataIDLTE ¶
func DataIDLTE(v string) predicate.Certification
DataIDLTE applies the LTE predicate on the "data_id" field.
func DataIDNEQ ¶
func DataIDNEQ(v string) predicate.Certification
DataIDNEQ applies the NEQ predicate on the "data_id" field.
func DataIDNotIn ¶
func DataIDNotIn(vs ...string) predicate.Certification
DataIDNotIn applies the NotIn predicate on the "data_id" field.
func Hash ¶
func Hash(v string) predicate.Certification
Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.
func HashContains ¶
func HashContains(v string) predicate.Certification
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
func HashContainsFold(v string) predicate.Certification
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEQ ¶
func HashEQ(v string) predicate.Certification
HashEQ applies the EQ predicate on the "hash" field.
func HashEqualFold ¶
func HashEqualFold(v string) predicate.Certification
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashGT ¶
func HashGT(v string) predicate.Certification
HashGT applies the GT predicate on the "hash" field.
func HashGTE ¶
func HashGTE(v string) predicate.Certification
HashGTE applies the GTE predicate on the "hash" field.
func HashHasPrefix ¶
func HashHasPrefix(v string) predicate.Certification
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
func HashHasSuffix(v string) predicate.Certification
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func HashIn ¶
func HashIn(vs ...string) predicate.Certification
HashIn applies the In predicate on the "hash" field.
func HashLT ¶
func HashLT(v string) predicate.Certification
HashLT applies the LT predicate on the "hash" field.
func HashLTE ¶
func HashLTE(v string) predicate.Certification
HashLTE applies the LTE predicate on the "hash" field.
func HashNEQ ¶
func HashNEQ(v string) predicate.Certification
HashNEQ applies the NEQ predicate on the "hash" field.
func HashNotIn ¶
func HashNotIn(vs ...string) predicate.Certification
HashNotIn applies the NotIn predicate on the "hash" field.
func ID ¶
func ID(id uuid.UUID) predicate.Certification
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Certification
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Certification
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Certification
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Certification
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Certification
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Certification
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Certification
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Certification
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.Certification) predicate.Certification
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Certification) predicate.Certification
Or groups predicates with the OR operator between them.
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 Certification queries.
func ByAnchorID ¶
func ByAnchorID(opts ...sql.OrderTermOption) OrderOption
ByAnchorID orders the results by the anchor_id field.
func ByDataID ¶
func ByDataID(opts ...sql.OrderTermOption) OrderOption
ByDataID orders the results by the data_id field.
func ByHash ¶
func ByHash(opts ...sql.OrderTermOption) OrderOption
ByHash orders the results by the hash field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.