Documentation ¶
Index ¶
- Constants
- Variables
- func Alg(v string) predicate.PublicKey
- func AlgContains(v string) predicate.PublicKey
- func AlgContainsFold(v string) predicate.PublicKey
- func AlgEQ(v string) predicate.PublicKey
- func AlgEqualFold(v string) predicate.PublicKey
- func AlgGT(v string) predicate.PublicKey
- func AlgGTE(v string) predicate.PublicKey
- func AlgHasPrefix(v string) predicate.PublicKey
- func AlgHasSuffix(v string) predicate.PublicKey
- func AlgIn(vs ...string) predicate.PublicKey
- func AlgIsNil() predicate.PublicKey
- func AlgLT(v string) predicate.PublicKey
- func AlgLTE(v string) predicate.PublicKey
- func AlgNEQ(v string) predicate.PublicKey
- func AlgNotIn(vs ...string) predicate.PublicKey
- func AlgNotNil() predicate.PublicKey
- func And(predicates ...predicate.PublicKey) predicate.PublicKey
- func CreatedAt(v time.Time) predicate.PublicKey
- func CreatedAtEQ(v time.Time) predicate.PublicKey
- func CreatedAtGT(v time.Time) predicate.PublicKey
- func CreatedAtGTE(v time.Time) predicate.PublicKey
- func CreatedAtIn(vs ...time.Time) predicate.PublicKey
- func CreatedAtLT(v time.Time) predicate.PublicKey
- func CreatedAtLTE(v time.Time) predicate.PublicKey
- func CreatedAtNEQ(v time.Time) predicate.PublicKey
- func CreatedAtNotIn(vs ...time.Time) predicate.PublicKey
- func ID(id string) predicate.PublicKey
- func IDEQ(id string) predicate.PublicKey
- func IDGT(id string) predicate.PublicKey
- func IDGTE(id string) predicate.PublicKey
- func IDIn(ids ...string) predicate.PublicKey
- func IDLT(id string) predicate.PublicKey
- func IDLTE(id string) predicate.PublicKey
- func IDNEQ(id string) predicate.PublicKey
- func IDNotIn(ids ...string) predicate.PublicKey
- func Kty(v string) predicate.PublicKey
- func KtyContains(v string) predicate.PublicKey
- func KtyContainsFold(v string) predicate.PublicKey
- func KtyEQ(v string) predicate.PublicKey
- func KtyEqualFold(v string) predicate.PublicKey
- func KtyGT(v string) predicate.PublicKey
- func KtyGTE(v string) predicate.PublicKey
- func KtyHasPrefix(v string) predicate.PublicKey
- func KtyHasSuffix(v string) predicate.PublicKey
- func KtyIn(vs ...string) predicate.PublicKey
- func KtyLT(v string) predicate.PublicKey
- func KtyLTE(v string) predicate.PublicKey
- func KtyNEQ(v string) predicate.PublicKey
- func KtyNotIn(vs ...string) predicate.PublicKey
- func Not(p predicate.PublicKey) predicate.PublicKey
- func Or(predicates ...predicate.PublicKey) predicate.PublicKey
- func UpdatedAt(v time.Time) predicate.PublicKey
- func UpdatedAtEQ(v time.Time) predicate.PublicKey
- func UpdatedAtGT(v time.Time) predicate.PublicKey
- func UpdatedAtGTE(v time.Time) predicate.PublicKey
- func UpdatedAtIn(vs ...time.Time) predicate.PublicKey
- func UpdatedAtLT(v time.Time) predicate.PublicKey
- func UpdatedAtLTE(v time.Time) predicate.PublicKey
- func UpdatedAtNEQ(v time.Time) predicate.PublicKey
- func UpdatedAtNotIn(vs ...time.Time) predicate.PublicKey
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the publickey type in the database. Label = "public_key" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldKty holds the string denoting the kty field in the database. FieldKty = "kty" // FieldAlg holds the string denoting the alg field in the database. FieldAlg = "alg" // FieldJwk holds the string denoting the jwk field in the database. FieldJwk = "jwk" // 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" // Table holds the table name of the publickey in the database. Table = "public_keys" )
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 )
var Columns = []string{ FieldID, FieldKty, FieldAlg, FieldJwk, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for publickey fields.
Functions ¶
func AlgContains ¶
AlgContains applies the Contains predicate on the "alg" field.
func AlgContainsFold ¶
AlgContainsFold applies the ContainsFold predicate on the "alg" field.
func AlgEqualFold ¶
AlgEqualFold applies the EqualFold predicate on the "alg" field.
func AlgHasPrefix ¶
AlgHasPrefix applies the HasPrefix predicate on the "alg" field.
func AlgHasSuffix ¶
AlgHasSuffix applies the HasSuffix predicate on the "alg" field.
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 KtyContains ¶
KtyContains applies the Contains predicate on the "kty" field.
func KtyContainsFold ¶
KtyContainsFold applies the ContainsFold predicate on the "kty" field.
func KtyEqualFold ¶
KtyEqualFold applies the EqualFold predicate on the "kty" field.
func KtyHasPrefix ¶
KtyHasPrefix applies the HasPrefix predicate on the "kty" field.
func KtyHasSuffix ¶
KtyHasSuffix applies the HasSuffix predicate on the "kty" 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.