Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.JWTKey) predicate.JWTKey
- func ID(id int) predicate.JWTKey
- func IDEQ(id int) predicate.JWTKey
- func IDGT(id int) predicate.JWTKey
- func IDGTE(id int) predicate.JWTKey
- func IDIn(ids ...int) predicate.JWTKey
- func IDLT(id int) predicate.JWTKey
- func IDLTE(id int) predicate.JWTKey
- func IDNEQ(id int) predicate.JWTKey
- func IDNotIn(ids ...int) predicate.JWTKey
- func LabelContains(v string) predicate.JWTKey
- func LabelContainsFold(v string) predicate.JWTKey
- func LabelEQ(v string) predicate.JWTKey
- func LabelEqualFold(v string) predicate.JWTKey
- func LabelGT(v string) predicate.JWTKey
- func LabelGTE(v string) predicate.JWTKey
- func LabelHasPrefix(v string) predicate.JWTKey
- func LabelHasSuffix(v string) predicate.JWTKey
- func LabelIn(vs ...string) predicate.JWTKey
- func LabelLT(v string) predicate.JWTKey
- func LabelLTE(v string) predicate.JWTKey
- func LabelNEQ(v string) predicate.JWTKey
- func LabelNotIn(vs ...string) predicate.JWTKey
- func Not(p predicate.JWTKey) predicate.JWTKey
- func Or(predicates ...predicate.JWTKey) predicate.JWTKey
- func PrivateKey(v []byte) predicate.JWTKey
- func PrivateKeyEQ(v []byte) predicate.JWTKey
- func PrivateKeyGT(v []byte) predicate.JWTKey
- func PrivateKeyGTE(v []byte) predicate.JWTKey
- func PrivateKeyIn(vs ...[]byte) predicate.JWTKey
- func PrivateKeyLT(v []byte) predicate.JWTKey
- func PrivateKeyLTE(v []byte) predicate.JWTKey
- func PrivateKeyNEQ(v []byte) predicate.JWTKey
- func PrivateKeyNotIn(vs ...[]byte) predicate.JWTKey
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the jwtkey type in the database. Label = "jwt_key" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLabel holds the string denoting the label field in the database. FieldLabel = "label" // FieldPrivateKey holds the string denoting the private_key field in the database. FieldPrivateKey = "private_key" // Table holds the table name of the jwtkey in the database. Table = "jwt_keys" )
Variables ¶
var Columns = []string{ FieldID, FieldLabel, FieldPrivateKey, }
Columns holds all SQL columns for jwtkey fields.
Functions ¶
func LabelContains ¶
LabelContains applies the Contains predicate on the "label" field.
func LabelContainsFold ¶
LabelContainsFold applies the ContainsFold predicate on the "label" field.
func LabelEqualFold ¶
LabelEqualFold applies the EqualFold predicate on the "label" field.
func LabelHasPrefix ¶
LabelHasPrefix applies the HasPrefix predicate on the "label" field.
func LabelHasSuffix ¶
LabelHasSuffix applies the HasSuffix predicate on the "label" field.
func LabelNotIn ¶
LabelNotIn applies the NotIn predicate on the "label" field.
func PrivateKey ¶
PrivateKey applies equality check predicate on the "private_key" field. It's identical to PrivateKeyEQ.
func PrivateKeyEQ ¶
PrivateKeyEQ applies the EQ predicate on the "private_key" field.
func PrivateKeyGT ¶
PrivateKeyGT applies the GT predicate on the "private_key" field.
func PrivateKeyGTE ¶
PrivateKeyGTE applies the GTE predicate on the "private_key" field.
func PrivateKeyIn ¶
PrivateKeyIn applies the In predicate on the "private_key" field.
func PrivateKeyLT ¶
PrivateKeyLT applies the LT predicate on the "private_key" field.
func PrivateKeyLTE ¶
PrivateKeyLTE applies the LTE predicate on the "private_key" field.
func PrivateKeyNEQ ¶
PrivateKeyNEQ applies the NEQ predicate on the "private_key" field.
func PrivateKeyNotIn ¶
PrivateKeyNotIn applies the NotIn predicate on the "private_key" 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 JWTKey queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLabel ¶
func ByLabel(opts ...sql.OrderTermOption) OrderOption
ByLabel orders the results by the label field.