Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VarData) predicate.VarData
- func CreatedAt(v time.Time) predicate.VarData
- func CreatedAtEQ(v time.Time) predicate.VarData
- func CreatedAtGT(v time.Time) predicate.VarData
- func CreatedAtGTE(v time.Time) predicate.VarData
- func CreatedAtIn(vs ...time.Time) predicate.VarData
- func CreatedAtLT(v time.Time) predicate.VarData
- func CreatedAtLTE(v time.Time) predicate.VarData
- func CreatedAtNEQ(v time.Time) predicate.VarData
- func CreatedAtNotIn(vs ...time.Time) predicate.VarData
- func Data(v []byte) predicate.VarData
- func DataEQ(v []byte) predicate.VarData
- func DataGT(v []byte) predicate.VarData
- func DataGTE(v []byte) predicate.VarData
- func DataIn(vs ...[]byte) predicate.VarData
- func DataLT(v []byte) predicate.VarData
- func DataLTE(v []byte) predicate.VarData
- func DataNEQ(v []byte) predicate.VarData
- func DataNotIn(vs ...[]byte) predicate.VarData
- func HasVarrefs() predicate.VarData
- func HasVarrefsWith(preds ...predicate.VarRef) predicate.VarData
- func Hash(v string) predicate.VarData
- func HashContains(v string) predicate.VarData
- func HashContainsFold(v string) predicate.VarData
- func HashEQ(v string) predicate.VarData
- func HashEqualFold(v string) predicate.VarData
- func HashGT(v string) predicate.VarData
- func HashGTE(v string) predicate.VarData
- func HashHasPrefix(v string) predicate.VarData
- func HashHasSuffix(v string) predicate.VarData
- func HashIn(vs ...string) predicate.VarData
- func HashLT(v string) predicate.VarData
- func HashLTE(v string) predicate.VarData
- func HashNEQ(v string) predicate.VarData
- func HashNotIn(vs ...string) predicate.VarData
- func ID(id uuid.UUID) predicate.VarData
- func IDEQ(id uuid.UUID) predicate.VarData
- func IDGT(id uuid.UUID) predicate.VarData
- func IDGTE(id uuid.UUID) predicate.VarData
- func IDIn(ids ...uuid.UUID) predicate.VarData
- func IDLT(id uuid.UUID) predicate.VarData
- func IDLTE(id uuid.UUID) predicate.VarData
- func IDNEQ(id uuid.UUID) predicate.VarData
- func IDNotIn(ids ...uuid.UUID) predicate.VarData
- func Not(p predicate.VarData) predicate.VarData
- func Or(predicates ...predicate.VarData) predicate.VarData
- func Size(v int) predicate.VarData
- func SizeEQ(v int) predicate.VarData
- func SizeGT(v int) predicate.VarData
- func SizeGTE(v int) predicate.VarData
- func SizeIn(vs ...int) predicate.VarData
- func SizeLT(v int) predicate.VarData
- func SizeLTE(v int) predicate.VarData
- func SizeNEQ(v int) predicate.VarData
- func SizeNotIn(vs ...int) predicate.VarData
- func UpdatedAt(v time.Time) predicate.VarData
- func UpdatedAtEQ(v time.Time) predicate.VarData
- func UpdatedAtGT(v time.Time) predicate.VarData
- func UpdatedAtGTE(v time.Time) predicate.VarData
- func UpdatedAtIn(vs ...time.Time) predicate.VarData
- func UpdatedAtLT(v time.Time) predicate.VarData
- func UpdatedAtLTE(v time.Time) predicate.VarData
- func UpdatedAtNEQ(v time.Time) predicate.VarData
- func UpdatedAtNotIn(vs ...time.Time) predicate.VarData
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the vardata type in the database. Label = "var_data" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldSize holds the string denoting the size field in the database. FieldSize = "size" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldData holds the string denoting the data field in the database. FieldData = "data" // EdgeVarrefs holds the string denoting the varrefs edge name in mutations. EdgeVarrefs = "varrefs" // Table holds the table name of the vardata in the database. Table = "var_data" // VarrefsTable is the table that holds the varrefs relation/edge. VarrefsTable = "var_refs" // VarrefsInverseTable is the table name for the VarRef entity. // It exists in this package in order to avoid circular dependency with the "varref" package. VarrefsInverseTable = "var_refs" // VarrefsColumn is the table column denoting the varrefs relation/edge. VarrefsColumn = "var_data_varrefs" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSize, FieldHash, FieldData, }
Columns holds all SQL columns for vardata fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasVarrefs ¶
HasVarrefs applies the HasEdge predicate on the "varrefs" edge.
func HasVarrefsWith ¶
HasVarrefsWith applies the HasEdge predicate on the "varrefs" edge with a given conditions (other predicates).
func HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.