Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.JWTRevocation) predicate.JWTRevocation
- func Expiry(v time.Time) predicate.JWTRevocation
- func ExpiryEQ(v time.Time) predicate.JWTRevocation
- func ExpiryGT(v time.Time) predicate.JWTRevocation
- func ExpiryGTE(v time.Time) predicate.JWTRevocation
- func ExpiryIn(vs ...time.Time) predicate.JWTRevocation
- func ExpiryLT(v time.Time) predicate.JWTRevocation
- func ExpiryLTE(v time.Time) predicate.JWTRevocation
- func ExpiryNEQ(v time.Time) predicate.JWTRevocation
- func ExpiryNotIn(vs ...time.Time) predicate.JWTRevocation
- func ID(id int) predicate.JWTRevocation
- func IDEQ(id int) predicate.JWTRevocation
- func IDGT(id int) predicate.JWTRevocation
- func IDGTE(id int) predicate.JWTRevocation
- func IDIn(ids ...int) predicate.JWTRevocation
- func IDLT(id int) predicate.JWTRevocation
- func IDLTE(id int) predicate.JWTRevocation
- func IDNEQ(id int) predicate.JWTRevocation
- func IDNotIn(ids ...int) predicate.JWTRevocation
- func Jti(v string) predicate.JWTRevocation
- func JtiContains(v string) predicate.JWTRevocation
- func JtiContainsFold(v string) predicate.JWTRevocation
- func JtiEQ(v string) predicate.JWTRevocation
- func JtiEqualFold(v string) predicate.JWTRevocation
- func JtiGT(v string) predicate.JWTRevocation
- func JtiGTE(v string) predicate.JWTRevocation
- func JtiHasPrefix(v string) predicate.JWTRevocation
- func JtiHasSuffix(v string) predicate.JWTRevocation
- func JtiIn(vs ...string) predicate.JWTRevocation
- func JtiLT(v string) predicate.JWTRevocation
- func JtiLTE(v string) predicate.JWTRevocation
- func JtiNEQ(v string) predicate.JWTRevocation
- func JtiNotIn(vs ...string) predicate.JWTRevocation
- func Not(p predicate.JWTRevocation) predicate.JWTRevocation
- func Or(predicates ...predicate.JWTRevocation) predicate.JWTRevocation
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the jwtrevocation type in the database. Label = "jwt_revocation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldJti holds the string denoting the jti field in the database. FieldJti = "jti" // FieldExpiry holds the string denoting the expiry field in the database. FieldExpiry = "expiry" // Table holds the table name of the jwtrevocation in the database. Table = "jwt_revocations" )
Variables ¶
var Columns = []string{ FieldID, FieldJti, FieldExpiry, }
Columns holds all SQL columns for jwtrevocation fields.
var ( // JtiValidator is a validator for the "jti" field. It is called by the builders before save. JtiValidator func(string) error )
Functions ¶
func And ¶
func And(predicates ...predicate.JWTRevocation) predicate.JWTRevocation
And groups predicates with the AND operator between them.
func Expiry ¶
func Expiry(v time.Time) predicate.JWTRevocation
Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.
func ExpiryEQ ¶
func ExpiryEQ(v time.Time) predicate.JWTRevocation
ExpiryEQ applies the EQ predicate on the "expiry" field.
func ExpiryGT ¶
func ExpiryGT(v time.Time) predicate.JWTRevocation
ExpiryGT applies the GT predicate on the "expiry" field.
func ExpiryGTE ¶
func ExpiryGTE(v time.Time) predicate.JWTRevocation
ExpiryGTE applies the GTE predicate on the "expiry" field.
func ExpiryIn ¶
func ExpiryIn(vs ...time.Time) predicate.JWTRevocation
ExpiryIn applies the In predicate on the "expiry" field.
func ExpiryLT ¶
func ExpiryLT(v time.Time) predicate.JWTRevocation
ExpiryLT applies the LT predicate on the "expiry" field.
func ExpiryLTE ¶
func ExpiryLTE(v time.Time) predicate.JWTRevocation
ExpiryLTE applies the LTE predicate on the "expiry" field.
func ExpiryNEQ ¶
func ExpiryNEQ(v time.Time) predicate.JWTRevocation
ExpiryNEQ applies the NEQ predicate on the "expiry" field.
func ExpiryNotIn ¶
func ExpiryNotIn(vs ...time.Time) predicate.JWTRevocation
ExpiryNotIn applies the NotIn predicate on the "expiry" field.
func IDEQ ¶
func IDEQ(id int) predicate.JWTRevocation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.JWTRevocation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.JWTRevocation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.JWTRevocation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.JWTRevocation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.JWTRevocation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.JWTRevocation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.JWTRevocation
IDNotIn applies the NotIn predicate on the ID field.
func Jti ¶
func Jti(v string) predicate.JWTRevocation
Jti applies equality check predicate on the "jti" field. It's identical to JtiEQ.
func JtiContains ¶
func JtiContains(v string) predicate.JWTRevocation
JtiContains applies the Contains predicate on the "jti" field.
func JtiContainsFold ¶
func JtiContainsFold(v string) predicate.JWTRevocation
JtiContainsFold applies the ContainsFold predicate on the "jti" field.
func JtiEQ ¶
func JtiEQ(v string) predicate.JWTRevocation
JtiEQ applies the EQ predicate on the "jti" field.
func JtiEqualFold ¶
func JtiEqualFold(v string) predicate.JWTRevocation
JtiEqualFold applies the EqualFold predicate on the "jti" field.
func JtiGT ¶
func JtiGT(v string) predicate.JWTRevocation
JtiGT applies the GT predicate on the "jti" field.
func JtiGTE ¶
func JtiGTE(v string) predicate.JWTRevocation
JtiGTE applies the GTE predicate on the "jti" field.
func JtiHasPrefix ¶
func JtiHasPrefix(v string) predicate.JWTRevocation
JtiHasPrefix applies the HasPrefix predicate on the "jti" field.
func JtiHasSuffix ¶
func JtiHasSuffix(v string) predicate.JWTRevocation
JtiHasSuffix applies the HasSuffix predicate on the "jti" field.
func JtiIn ¶
func JtiIn(vs ...string) predicate.JWTRevocation
JtiIn applies the In predicate on the "jti" field.
func JtiLT ¶
func JtiLT(v string) predicate.JWTRevocation
JtiLT applies the LT predicate on the "jti" field.
func JtiLTE ¶
func JtiLTE(v string) predicate.JWTRevocation
JtiLTE applies the LTE predicate on the "jti" field.
func JtiNEQ ¶
func JtiNEQ(v string) predicate.JWTRevocation
JtiNEQ applies the NEQ predicate on the "jti" field.
func JtiNotIn ¶
func JtiNotIn(vs ...string) predicate.JWTRevocation
JtiNotIn applies the NotIn predicate on the "jti" field.
func Not ¶
func Not(p predicate.JWTRevocation) predicate.JWTRevocation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.JWTRevocation) predicate.JWTRevocation
Or groups predicates with the OR operator between them.
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 JWTRevocation queries.
func ByExpiry ¶
func ByExpiry(opts ...sql.OrderTermOption) OrderOption
ByExpiry orders the results by the expiry field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByJti ¶
func ByJti(opts ...sql.OrderTermOption) OrderOption
ByJti orders the results by the jti field.