Documentation ¶
Index ¶
- Constants
- Variables
- func Algorithm(v string) predicate.SubjectDigest
- func AlgorithmContains(v string) predicate.SubjectDigest
- func AlgorithmContainsFold(v string) predicate.SubjectDigest
- func AlgorithmEQ(v string) predicate.SubjectDigest
- func AlgorithmEqualFold(v string) predicate.SubjectDigest
- func AlgorithmGT(v string) predicate.SubjectDigest
- func AlgorithmGTE(v string) predicate.SubjectDigest
- func AlgorithmHasPrefix(v string) predicate.SubjectDigest
- func AlgorithmHasSuffix(v string) predicate.SubjectDigest
- func AlgorithmIn(vs ...string) predicate.SubjectDigest
- func AlgorithmLT(v string) predicate.SubjectDigest
- func AlgorithmLTE(v string) predicate.SubjectDigest
- func AlgorithmNEQ(v string) predicate.SubjectDigest
- func AlgorithmNotIn(vs ...string) predicate.SubjectDigest
- func And(predicates ...predicate.SubjectDigest) predicate.SubjectDigest
- func HasSubject() predicate.SubjectDigest
- func HasSubjectWith(preds ...predicate.Subject) predicate.SubjectDigest
- func ID(id uuid.UUID) predicate.SubjectDigest
- func IDEQ(id uuid.UUID) predicate.SubjectDigest
- func IDGT(id uuid.UUID) predicate.SubjectDigest
- func IDGTE(id uuid.UUID) predicate.SubjectDigest
- func IDIn(ids ...uuid.UUID) predicate.SubjectDigest
- func IDLT(id uuid.UUID) predicate.SubjectDigest
- func IDLTE(id uuid.UUID) predicate.SubjectDigest
- func IDNEQ(id uuid.UUID) predicate.SubjectDigest
- func IDNotIn(ids ...uuid.UUID) predicate.SubjectDigest
- func Not(p predicate.SubjectDigest) predicate.SubjectDigest
- func Or(predicates ...predicate.SubjectDigest) predicate.SubjectDigest
- func ValidColumn(column string) bool
- func Value(v string) predicate.SubjectDigest
- func ValueContains(v string) predicate.SubjectDigest
- func ValueContainsFold(v string) predicate.SubjectDigest
- func ValueEQ(v string) predicate.SubjectDigest
- func ValueEqualFold(v string) predicate.SubjectDigest
- func ValueGT(v string) predicate.SubjectDigest
- func ValueGTE(v string) predicate.SubjectDigest
- func ValueHasPrefix(v string) predicate.SubjectDigest
- func ValueHasSuffix(v string) predicate.SubjectDigest
- func ValueIn(vs ...string) predicate.SubjectDigest
- func ValueLT(v string) predicate.SubjectDigest
- func ValueLTE(v string) predicate.SubjectDigest
- func ValueNEQ(v string) predicate.SubjectDigest
- func ValueNotIn(vs ...string) predicate.SubjectDigest
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the subjectdigest type in the database. Label = "subject_digest" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAlgorithm holds the string denoting the algorithm field in the database. FieldAlgorithm = "algorithm" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // EdgeSubject holds the string denoting the subject edge name in mutations. EdgeSubject = "subject" // Table holds the table name of the subjectdigest in the database. Table = "subject_digests" // SubjectTable is the table that holds the subject relation/edge. SubjectTable = "subject_digests" // SubjectInverseTable is the table name for the Subject entity. // It exists in this package in order to avoid circular dependency with the "subject" package. SubjectInverseTable = "subjects" // SubjectColumn is the table column denoting the subject relation/edge. SubjectColumn = "subject_subject_digests" )
Variables ¶
var ( // AlgorithmValidator is a validator for the "algorithm" field. It is called by the builders before save. AlgorithmValidator func(string) error // ValueValidator is a validator for the "value" field. It is called by the builders before save. ValueValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAlgorithm, FieldValue, }
Columns holds all SQL columns for subjectdigest fields.
var ForeignKeys = []string{
"subject_subject_digests",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "subject_digests" table and are not defined as standalone fields in the schema.
Functions ¶
func Algorithm ¶
func Algorithm(v string) predicate.SubjectDigest
Algorithm applies equality check predicate on the "algorithm" field. It's identical to AlgorithmEQ.
func AlgorithmContains ¶
func AlgorithmContains(v string) predicate.SubjectDigest
AlgorithmContains applies the Contains predicate on the "algorithm" field.
func AlgorithmContainsFold ¶
func AlgorithmContainsFold(v string) predicate.SubjectDigest
AlgorithmContainsFold applies the ContainsFold predicate on the "algorithm" field.
func AlgorithmEQ ¶
func AlgorithmEQ(v string) predicate.SubjectDigest
AlgorithmEQ applies the EQ predicate on the "algorithm" field.
func AlgorithmEqualFold ¶
func AlgorithmEqualFold(v string) predicate.SubjectDigest
AlgorithmEqualFold applies the EqualFold predicate on the "algorithm" field.
func AlgorithmGT ¶
func AlgorithmGT(v string) predicate.SubjectDigest
AlgorithmGT applies the GT predicate on the "algorithm" field.
func AlgorithmGTE ¶
func AlgorithmGTE(v string) predicate.SubjectDigest
AlgorithmGTE applies the GTE predicate on the "algorithm" field.
func AlgorithmHasPrefix ¶
func AlgorithmHasPrefix(v string) predicate.SubjectDigest
AlgorithmHasPrefix applies the HasPrefix predicate on the "algorithm" field.
func AlgorithmHasSuffix ¶
func AlgorithmHasSuffix(v string) predicate.SubjectDigest
AlgorithmHasSuffix applies the HasSuffix predicate on the "algorithm" field.
func AlgorithmIn ¶
func AlgorithmIn(vs ...string) predicate.SubjectDigest
AlgorithmIn applies the In predicate on the "algorithm" field.
func AlgorithmLT ¶
func AlgorithmLT(v string) predicate.SubjectDigest
AlgorithmLT applies the LT predicate on the "algorithm" field.
func AlgorithmLTE ¶
func AlgorithmLTE(v string) predicate.SubjectDigest
AlgorithmLTE applies the LTE predicate on the "algorithm" field.
func AlgorithmNEQ ¶
func AlgorithmNEQ(v string) predicate.SubjectDigest
AlgorithmNEQ applies the NEQ predicate on the "algorithm" field.
func AlgorithmNotIn ¶
func AlgorithmNotIn(vs ...string) predicate.SubjectDigest
AlgorithmNotIn applies the NotIn predicate on the "algorithm" field.
func And ¶
func And(predicates ...predicate.SubjectDigest) predicate.SubjectDigest
And groups predicates with the AND operator between them.
func HasSubject ¶
func HasSubject() predicate.SubjectDigest
HasSubject applies the HasEdge predicate on the "subject" edge.
func HasSubjectWith ¶
func HasSubjectWith(preds ...predicate.Subject) predicate.SubjectDigest
HasSubjectWith applies the HasEdge predicate on the "subject" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.SubjectDigest
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SubjectDigest
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SubjectDigest
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SubjectDigest
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SubjectDigest
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SubjectDigest
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SubjectDigest
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SubjectDigest
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SubjectDigest
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SubjectDigest) predicate.SubjectDigest
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SubjectDigest) predicate.SubjectDigest
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.SubjectDigest
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.SubjectDigest
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.SubjectDigest
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.SubjectDigest
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.SubjectDigest
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.SubjectDigest
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.SubjectDigest
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.SubjectDigest
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.SubjectDigest
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.SubjectDigest
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.SubjectDigest
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.SubjectDigest
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.SubjectDigest
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.SubjectDigest
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SubjectDigest queries.
func ByAlgorithm ¶
func ByAlgorithm(opts ...sql.OrderTermOption) OrderOption
ByAlgorithm orders the results by the algorithm field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySubjectField ¶
func BySubjectField(field string, opts ...sql.OrderTermOption) OrderOption
BySubjectField orders the results by subject field.
func ByValue ¶
func ByValue(opts ...sql.OrderTermOption) OrderOption
ByValue orders the results by the value field.