Versions in this module Expand all Collapse all v1 v1.3.3 Jan 24, 2024 Changes in this version + const FieldCreatedAt + const FieldExpiredAt + const FieldID + const FieldSource + const FieldStatus + const FieldToken + const FieldUUID + const FieldUpdatedAt + const FieldUsername + const Label + const Table + var Columns = []string + var DefaultCreatedAt func() time.Time + var DefaultID func() uuid.UUID + var DefaultStatus uint8 + var DefaultUpdatedAt func() time.Time + var DefaultUsername string + var UpdateDefaultUpdatedAt func() time.Time + func And(predicates ...predicate.Token) predicate.Token + func CreatedAt(v time.Time) predicate.Token + func CreatedAtEQ(v time.Time) predicate.Token + func CreatedAtGT(v time.Time) predicate.Token + func CreatedAtGTE(v time.Time) predicate.Token + func CreatedAtIn(vs ...time.Time) predicate.Token + func CreatedAtLT(v time.Time) predicate.Token + func CreatedAtLTE(v time.Time) predicate.Token + func CreatedAtNEQ(v time.Time) predicate.Token + func CreatedAtNotIn(vs ...time.Time) predicate.Token + func ExpiredAt(v time.Time) predicate.Token + func ExpiredAtEQ(v time.Time) predicate.Token + func ExpiredAtGT(v time.Time) predicate.Token + func ExpiredAtGTE(v time.Time) predicate.Token + func ExpiredAtIn(vs ...time.Time) predicate.Token + func ExpiredAtLT(v time.Time) predicate.Token + func ExpiredAtLTE(v time.Time) predicate.Token + func ExpiredAtNEQ(v time.Time) predicate.Token + func ExpiredAtNotIn(vs ...time.Time) predicate.Token + func ID(id uuid.UUID) predicate.Token + func IDEQ(id uuid.UUID) predicate.Token + func IDGT(id uuid.UUID) predicate.Token + func IDGTE(id uuid.UUID) predicate.Token + func IDIn(ids ...uuid.UUID) predicate.Token + func IDLT(id uuid.UUID) predicate.Token + func IDLTE(id uuid.UUID) predicate.Token + func IDNEQ(id uuid.UUID) predicate.Token + func IDNotIn(ids ...uuid.UUID) predicate.Token + func Not(p predicate.Token) predicate.Token + func Or(predicates ...predicate.Token) predicate.Token + func Source(v string) predicate.Token + func SourceContains(v string) predicate.Token + func SourceContainsFold(v string) predicate.Token + func SourceEQ(v string) predicate.Token + func SourceEqualFold(v string) predicate.Token + func SourceGT(v string) predicate.Token + func SourceGTE(v string) predicate.Token + func SourceHasPrefix(v string) predicate.Token + func SourceHasSuffix(v string) predicate.Token + func SourceIn(vs ...string) predicate.Token + func SourceLT(v string) predicate.Token + func SourceLTE(v string) predicate.Token + func SourceNEQ(v string) predicate.Token + func SourceNotIn(vs ...string) predicate.Token + func Status(v uint8) predicate.Token + func StatusEQ(v uint8) predicate.Token + func StatusGT(v uint8) predicate.Token + func StatusGTE(v uint8) predicate.Token + func StatusIn(vs ...uint8) predicate.Token + func StatusIsNil() predicate.Token + func StatusLT(v uint8) predicate.Token + func StatusLTE(v uint8) predicate.Token + func StatusNEQ(v uint8) predicate.Token + func StatusNotIn(vs ...uint8) predicate.Token + func StatusNotNil() predicate.Token + func Token(v string) predicate.Token + func TokenContains(v string) predicate.Token + func TokenContainsFold(v string) predicate.Token + func TokenEQ(v string) predicate.Token + func TokenEqualFold(v string) predicate.Token + func TokenGT(v string) predicate.Token + func TokenGTE(v string) predicate.Token + func TokenHasPrefix(v string) predicate.Token + func TokenHasSuffix(v string) predicate.Token + func TokenIn(vs ...string) predicate.Token + func TokenLT(v string) predicate.Token + func TokenLTE(v string) predicate.Token + func TokenNEQ(v string) predicate.Token + func TokenNotIn(vs ...string) predicate.Token + func UUID(v uuid.UUID) predicate.Token + func UUIDEQ(v uuid.UUID) predicate.Token + func UUIDGT(v uuid.UUID) predicate.Token + func UUIDGTE(v uuid.UUID) predicate.Token + func UUIDIn(vs ...uuid.UUID) predicate.Token + func UUIDLT(v uuid.UUID) predicate.Token + func UUIDLTE(v uuid.UUID) predicate.Token + func UUIDNEQ(v uuid.UUID) predicate.Token + func UUIDNotIn(vs ...uuid.UUID) predicate.Token + func UpdatedAt(v time.Time) predicate.Token + func UpdatedAtEQ(v time.Time) predicate.Token + func UpdatedAtGT(v time.Time) predicate.Token + func UpdatedAtGTE(v time.Time) predicate.Token + func UpdatedAtIn(vs ...time.Time) predicate.Token + func UpdatedAtLT(v time.Time) predicate.Token + func UpdatedAtLTE(v time.Time) predicate.Token + func UpdatedAtNEQ(v time.Time) predicate.Token + func UpdatedAtNotIn(vs ...time.Time) predicate.Token + func Username(v string) predicate.Token + func UsernameContains(v string) predicate.Token + func UsernameContainsFold(v string) predicate.Token + func UsernameEQ(v string) predicate.Token + func UsernameEqualFold(v string) predicate.Token + func UsernameGT(v string) predicate.Token + func UsernameGTE(v string) predicate.Token + func UsernameHasPrefix(v string) predicate.Token + func UsernameHasSuffix(v string) predicate.Token + func UsernameIn(vs ...string) predicate.Token + func UsernameLT(v string) predicate.Token + func UsernameLTE(v string) predicate.Token + func UsernameNEQ(v string) predicate.Token + func UsernameNotIn(vs ...string) predicate.Token + func ValidColumn(column string) bool + type OrderOption func(*sql.Selector) + func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption + func ByExpiredAt(opts ...sql.OrderTermOption) OrderOption + func ByID(opts ...sql.OrderTermOption) OrderOption + func BySource(opts ...sql.OrderTermOption) OrderOption + func ByStatus(opts ...sql.OrderTermOption) OrderOption + func ByToken(opts ...sql.OrderTermOption) OrderOption + func ByUUID(opts ...sql.OrderTermOption) OrderOption + func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption + func ByUsername(opts ...sql.OrderTermOption) OrderOption