Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CrackedPassword) predicate.CrackedPassword
- func CrackedAt(v time.Time) predicate.CrackedPassword
- func CrackedAtEQ(v time.Time) predicate.CrackedPassword
- func CrackedAtGT(v time.Time) predicate.CrackedPassword
- func CrackedAtGTE(v time.Time) predicate.CrackedPassword
- func CrackedAtIn(vs ...time.Time) predicate.CrackedPassword
- func CrackedAtLT(v time.Time) predicate.CrackedPassword
- func CrackedAtLTE(v time.Time) predicate.CrackedPassword
- func CrackedAtNEQ(v time.Time) predicate.CrackedPassword
- func CrackedAtNotIn(vs ...time.Time) predicate.CrackedPassword
- func HasRelatedTask() predicate.CrackedPassword
- func HasRelatedTaskWith(preds ...predicate.Task) predicate.CrackedPassword
- func Hash(v string) predicate.CrackedPassword
- func HashContains(v string) predicate.CrackedPassword
- func HashContainsFold(v string) predicate.CrackedPassword
- func HashEQ(v string) predicate.CrackedPassword
- func HashEqualFold(v string) predicate.CrackedPassword
- func HashGT(v string) predicate.CrackedPassword
- func HashGTE(v string) predicate.CrackedPassword
- func HashHasPrefix(v string) predicate.CrackedPassword
- func HashHasSuffix(v string) predicate.CrackedPassword
- func HashIn(vs ...string) predicate.CrackedPassword
- func HashLT(v string) predicate.CrackedPassword
- func HashLTE(v string) predicate.CrackedPassword
- func HashNEQ(v string) predicate.CrackedPassword
- func HashNotIn(vs ...string) predicate.CrackedPassword
- func ID(id uuid.UUID) predicate.CrackedPassword
- func IDEQ(id uuid.UUID) predicate.CrackedPassword
- func IDGT(id uuid.UUID) predicate.CrackedPassword
- func IDGTE(id uuid.UUID) predicate.CrackedPassword
- func IDIn(ids ...uuid.UUID) predicate.CrackedPassword
- func IDLT(id uuid.UUID) predicate.CrackedPassword
- func IDLTE(id uuid.UUID) predicate.CrackedPassword
- func IDNEQ(id uuid.UUID) predicate.CrackedPassword
- func IDNotIn(ids ...uuid.UUID) predicate.CrackedPassword
- func Not(p predicate.CrackedPassword) predicate.CrackedPassword
- func Or(predicates ...predicate.CrackedPassword) predicate.CrackedPassword
- func ValidColumn(column string) bool
- func Value(v string) predicate.CrackedPassword
- func ValueContains(v string) predicate.CrackedPassword
- func ValueContainsFold(v string) predicate.CrackedPassword
- func ValueEQ(v string) predicate.CrackedPassword
- func ValueEqualFold(v string) predicate.CrackedPassword
- func ValueGT(v string) predicate.CrackedPassword
- func ValueGTE(v string) predicate.CrackedPassword
- func ValueHasPrefix(v string) predicate.CrackedPassword
- func ValueHasSuffix(v string) predicate.CrackedPassword
- func ValueIn(vs ...string) predicate.CrackedPassword
- func ValueLT(v string) predicate.CrackedPassword
- func ValueLTE(v string) predicate.CrackedPassword
- func ValueNEQ(v string) predicate.CrackedPassword
- func ValueNotIn(vs ...string) predicate.CrackedPassword
Constants ¶
const ( // Label holds the string label denoting the crackedpassword type in the database. Label = "cracked_password" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldCrackedAt holds the string denoting the cracked_at field in the database. FieldCrackedAt = "cracked_at" // EdgeRelatedTask holds the string denoting the related_task edge name in mutations. EdgeRelatedTask = "related_task" // Table holds the table name of the crackedpassword in the database. Table = "cracked_passwords" // RelatedTaskTable is the table that holds the related_task relation/edge. RelatedTaskTable = "cracked_passwords" // RelatedTaskInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. RelatedTaskInverseTable = "tasks" // RelatedTaskColumn is the table column denoting the related_task relation/edge. RelatedTaskColumn = "task_cracked_passwords" )
Variables ¶
var ( // DefaultCrackedAt holds the default value on creation for the "cracked_at" field. DefaultCrackedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldHash, FieldValue, FieldCrackedAt, }
Columns holds all SQL columns for crackedpassword fields.
var ForeignKeys = []string{
"task_cracked_passwords",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "cracked_passwords" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.CrackedPassword) predicate.CrackedPassword
And groups predicates with the AND operator between them.
func CrackedAt ¶
func CrackedAt(v time.Time) predicate.CrackedPassword
CrackedAt applies equality check predicate on the "cracked_at" field. It's identical to CrackedAtEQ.
func CrackedAtEQ ¶
func CrackedAtEQ(v time.Time) predicate.CrackedPassword
CrackedAtEQ applies the EQ predicate on the "cracked_at" field.
func CrackedAtGT ¶
func CrackedAtGT(v time.Time) predicate.CrackedPassword
CrackedAtGT applies the GT predicate on the "cracked_at" field.
func CrackedAtGTE ¶
func CrackedAtGTE(v time.Time) predicate.CrackedPassword
CrackedAtGTE applies the GTE predicate on the "cracked_at" field.
func CrackedAtIn ¶
func CrackedAtIn(vs ...time.Time) predicate.CrackedPassword
CrackedAtIn applies the In predicate on the "cracked_at" field.
func CrackedAtLT ¶
func CrackedAtLT(v time.Time) predicate.CrackedPassword
CrackedAtLT applies the LT predicate on the "cracked_at" field.
func CrackedAtLTE ¶
func CrackedAtLTE(v time.Time) predicate.CrackedPassword
CrackedAtLTE applies the LTE predicate on the "cracked_at" field.
func CrackedAtNEQ ¶
func CrackedAtNEQ(v time.Time) predicate.CrackedPassword
CrackedAtNEQ applies the NEQ predicate on the "cracked_at" field.
func CrackedAtNotIn ¶
func CrackedAtNotIn(vs ...time.Time) predicate.CrackedPassword
CrackedAtNotIn applies the NotIn predicate on the "cracked_at" field.
func HasRelatedTask ¶
func HasRelatedTask() predicate.CrackedPassword
HasRelatedTask applies the HasEdge predicate on the "related_task" edge.
func HasRelatedTaskWith ¶
func HasRelatedTaskWith(preds ...predicate.Task) predicate.CrackedPassword
HasRelatedTaskWith applies the HasEdge predicate on the "related_task" edge with a given conditions (other predicates).
func Hash ¶
func Hash(v string) predicate.CrackedPassword
Hash applies equality check predicate on the "hash" field. It's identical to HashEQ.
func HashContains ¶
func HashContains(v string) predicate.CrackedPassword
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
func HashContainsFold(v string) predicate.CrackedPassword
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEQ ¶
func HashEQ(v string) predicate.CrackedPassword
HashEQ applies the EQ predicate on the "hash" field.
func HashEqualFold ¶
func HashEqualFold(v string) predicate.CrackedPassword
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashGT ¶
func HashGT(v string) predicate.CrackedPassword
HashGT applies the GT predicate on the "hash" field.
func HashGTE ¶
func HashGTE(v string) predicate.CrackedPassword
HashGTE applies the GTE predicate on the "hash" field.
func HashHasPrefix ¶
func HashHasPrefix(v string) predicate.CrackedPassword
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
func HashHasSuffix(v string) predicate.CrackedPassword
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func HashIn ¶
func HashIn(vs ...string) predicate.CrackedPassword
HashIn applies the In predicate on the "hash" field.
func HashLT ¶
func HashLT(v string) predicate.CrackedPassword
HashLT applies the LT predicate on the "hash" field.
func HashLTE ¶
func HashLTE(v string) predicate.CrackedPassword
HashLTE applies the LTE predicate on the "hash" field.
func HashNEQ ¶
func HashNEQ(v string) predicate.CrackedPassword
HashNEQ applies the NEQ predicate on the "hash" field.
func HashNotIn ¶
func HashNotIn(vs ...string) predicate.CrackedPassword
HashNotIn applies the NotIn predicate on the "hash" field.
func ID ¶
func ID(id uuid.UUID) predicate.CrackedPassword
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CrackedPassword
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CrackedPassword
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CrackedPassword
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CrackedPassword
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CrackedPassword
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CrackedPassword
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CrackedPassword
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CrackedPassword
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.CrackedPassword) predicate.CrackedPassword
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CrackedPassword) predicate.CrackedPassword
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.CrackedPassword
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.CrackedPassword
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.CrackedPassword
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.CrackedPassword
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.CrackedPassword
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.CrackedPassword
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.CrackedPassword
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.CrackedPassword
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.CrackedPassword
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.CrackedPassword
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.CrackedPassword
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.CrackedPassword
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.CrackedPassword
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.CrackedPassword
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
This section is empty.