Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DeletedRef) predicate.DeletedRef
- func ID(id int) predicate.DeletedRef
- func IDEQ(id int) predicate.DeletedRef
- func IDGT(id int) predicate.DeletedRef
- func IDGTE(id int) predicate.DeletedRef
- func IDIn(ids ...int) predicate.DeletedRef
- func IDLT(id int) predicate.DeletedRef
- func IDLTE(id int) predicate.DeletedRef
- func IDNEQ(id int) predicate.DeletedRef
- func IDNotIn(ids ...int) predicate.DeletedRef
- func Not(p predicate.DeletedRef) predicate.DeletedRef
- func Or(predicates ...predicate.DeletedRef) predicate.DeletedRef
- func Ref(v []byte) predicate.DeletedRef
- func RefEQ(v []byte) predicate.DeletedRef
- func RefGT(v []byte) predicate.DeletedRef
- func RefGTE(v []byte) predicate.DeletedRef
- func RefIn(vs ...[]byte) predicate.DeletedRef
- func RefLT(v []byte) predicate.DeletedRef
- func RefLTE(v []byte) predicate.DeletedRef
- func RefNEQ(v []byte) predicate.DeletedRef
- func RefNotIn(vs ...[]byte) predicate.DeletedRef
- func TombstonedAt(v time.Time) predicate.DeletedRef
- func TombstonedAtEQ(v time.Time) predicate.DeletedRef
- func TombstonedAtGT(v time.Time) predicate.DeletedRef
- func TombstonedAtGTE(v time.Time) predicate.DeletedRef
- func TombstonedAtIn(vs ...time.Time) predicate.DeletedRef
- func TombstonedAtLT(v time.Time) predicate.DeletedRef
- func TombstonedAtLTE(v time.Time) predicate.DeletedRef
- func TombstonedAtNEQ(v time.Time) predicate.DeletedRef
- func TombstonedAtNotIn(vs ...time.Time) predicate.DeletedRef
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the deletedref type in the database. Label = "deleted_ref" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldTombstonedAt holds the string denoting the tombstoned_at field in the database. FieldTombstonedAt = "tombstoned_at" // Table holds the table name of the deletedref in the database. Table = "deleted_refs" )
Variables ¶
var Columns = []string{ FieldID, FieldRef, FieldTombstonedAt, }
Columns holds all SQL columns for deletedref fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DeletedRef) predicate.DeletedRef
And groups predicates with the AND operator between them.
func IDGTE ¶
func IDGTE(id int) predicate.DeletedRef
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DeletedRef
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DeletedRef
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DeletedRef
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DeletedRef
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.DeletedRef) predicate.DeletedRef
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.DeletedRef) predicate.DeletedRef
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v []byte) predicate.DeletedRef
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefEQ ¶
func RefEQ(v []byte) predicate.DeletedRef
RefEQ applies the EQ predicate on the "ref" field.
func RefGT ¶
func RefGT(v []byte) predicate.DeletedRef
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v []byte) predicate.DeletedRef
RefGTE applies the GTE predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...[]byte) predicate.DeletedRef
RefIn applies the In predicate on the "ref" field.
func RefLT ¶
func RefLT(v []byte) predicate.DeletedRef
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v []byte) predicate.DeletedRef
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v []byte) predicate.DeletedRef
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...[]byte) predicate.DeletedRef
RefNotIn applies the NotIn predicate on the "ref" field.
func TombstonedAt ¶
func TombstonedAt(v time.Time) predicate.DeletedRef
TombstonedAt applies equality check predicate on the "tombstoned_at" field. It's identical to TombstonedAtEQ.
func TombstonedAtEQ ¶
func TombstonedAtEQ(v time.Time) predicate.DeletedRef
TombstonedAtEQ applies the EQ predicate on the "tombstoned_at" field.
func TombstonedAtGT ¶
func TombstonedAtGT(v time.Time) predicate.DeletedRef
TombstonedAtGT applies the GT predicate on the "tombstoned_at" field.
func TombstonedAtGTE ¶
func TombstonedAtGTE(v time.Time) predicate.DeletedRef
TombstonedAtGTE applies the GTE predicate on the "tombstoned_at" field.
func TombstonedAtIn ¶
func TombstonedAtIn(vs ...time.Time) predicate.DeletedRef
TombstonedAtIn applies the In predicate on the "tombstoned_at" field.
func TombstonedAtLT ¶
func TombstonedAtLT(v time.Time) predicate.DeletedRef
TombstonedAtLT applies the LT predicate on the "tombstoned_at" field.
func TombstonedAtLTE ¶
func TombstonedAtLTE(v time.Time) predicate.DeletedRef
TombstonedAtLTE applies the LTE predicate on the "tombstoned_at" field.
func TombstonedAtNEQ ¶
func TombstonedAtNEQ(v time.Time) predicate.DeletedRef
TombstonedAtNEQ applies the NEQ predicate on the "tombstoned_at" field.
func TombstonedAtNotIn ¶
func TombstonedAtNotIn(vs ...time.Time) predicate.DeletedRef
TombstonedAtNotIn applies the NotIn predicate on the "tombstoned_at" 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 DeletedRef queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByTombstonedAt ¶
func ByTombstonedAt(opts ...sql.OrderTermOption) OrderOption
ByTombstonedAt orders the results by the tombstoned_at field.