Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ManagerClaim) predicate.ManagerClaim
- func CodeHash(v string) predicate.ManagerClaim
- func CodeHashContains(v string) predicate.ManagerClaim
- func CodeHashContainsFold(v string) predicate.ManagerClaim
- func CodeHashEQ(v string) predicate.ManagerClaim
- func CodeHashEqualFold(v string) predicate.ManagerClaim
- func CodeHashGT(v string) predicate.ManagerClaim
- func CodeHashGTE(v string) predicate.ManagerClaim
- func CodeHashHasPrefix(v string) predicate.ManagerClaim
- func CodeHashHasSuffix(v string) predicate.ManagerClaim
- func CodeHashIn(vs ...string) predicate.ManagerClaim
- func CodeHashLT(v string) predicate.ManagerClaim
- func CodeHashLTE(v string) predicate.ManagerClaim
- func CodeHashNEQ(v string) predicate.ManagerClaim
- func CodeHashNotIn(vs ...string) predicate.ManagerClaim
- func CodePrefix(v string) predicate.ManagerClaim
- func CodePrefixContains(v string) predicate.ManagerClaim
- func CodePrefixContainsFold(v string) predicate.ManagerClaim
- func CodePrefixEQ(v string) predicate.ManagerClaim
- func CodePrefixEqualFold(v string) predicate.ManagerClaim
- func CodePrefixGT(v string) predicate.ManagerClaim
- func CodePrefixGTE(v string) predicate.ManagerClaim
- func CodePrefixHasPrefix(v string) predicate.ManagerClaim
- func CodePrefixHasSuffix(v string) predicate.ManagerClaim
- func CodePrefixIn(vs ...string) predicate.ManagerClaim
- func CodePrefixLT(v string) predicate.ManagerClaim
- func CodePrefixLTE(v string) predicate.ManagerClaim
- func CodePrefixNEQ(v string) predicate.ManagerClaim
- func CodePrefixNotIn(vs ...string) predicate.ManagerClaim
- func CreatedAt(v time.Time) predicate.ManagerClaim
- func CreatedAtEQ(v time.Time) predicate.ManagerClaim
- func CreatedAtGT(v time.Time) predicate.ManagerClaim
- func CreatedAtGTE(v time.Time) predicate.ManagerClaim
- func CreatedAtIn(vs ...time.Time) predicate.ManagerClaim
- func CreatedAtLT(v time.Time) predicate.ManagerClaim
- func CreatedAtLTE(v time.Time) predicate.ManagerClaim
- func CreatedAtNEQ(v time.Time) predicate.ManagerClaim
- func CreatedAtNotIn(vs ...time.Time) predicate.ManagerClaim
- func ExpiresAt(v time.Time) predicate.ManagerClaim
- func ExpiresAtEQ(v time.Time) predicate.ManagerClaim
- func ExpiresAtGT(v time.Time) predicate.ManagerClaim
- func ExpiresAtGTE(v time.Time) predicate.ManagerClaim
- func ExpiresAtIn(vs ...time.Time) predicate.ManagerClaim
- func ExpiresAtLT(v time.Time) predicate.ManagerClaim
- func ExpiresAtLTE(v time.Time) predicate.ManagerClaim
- func ExpiresAtNEQ(v time.Time) predicate.ManagerClaim
- func ExpiresAtNotIn(vs ...time.Time) predicate.ManagerClaim
- func HasManaged() predicate.ManagerClaim
- func HasManagedWith(preds ...predicate.Principal) predicate.ManagerClaim
- func ID(id uuid.UUID) predicate.ManagerClaim
- func IDEQ(id uuid.UUID) predicate.ManagerClaim
- func IDGT(id uuid.UUID) predicate.ManagerClaim
- func IDGTE(id uuid.UUID) predicate.ManagerClaim
- func IDIn(ids ...uuid.UUID) predicate.ManagerClaim
- func IDLT(id uuid.UUID) predicate.ManagerClaim
- func IDLTE(id uuid.UUID) predicate.ManagerClaim
- func IDNEQ(id uuid.UUID) predicate.ManagerClaim
- func IDNotIn(ids ...uuid.UUID) predicate.ManagerClaim
- func IssuedBy(v uuid.UUID) predicate.ManagerClaim
- func IssuedByEQ(v uuid.UUID) predicate.ManagerClaim
- func IssuedByGT(v uuid.UUID) predicate.ManagerClaim
- func IssuedByGTE(v uuid.UUID) predicate.ManagerClaim
- func IssuedByIn(vs ...uuid.UUID) predicate.ManagerClaim
- func IssuedByLT(v uuid.UUID) predicate.ManagerClaim
- func IssuedByLTE(v uuid.UUID) predicate.ManagerClaim
- func IssuedByNEQ(v uuid.UUID) predicate.ManagerClaim
- func IssuedByNotIn(vs ...uuid.UUID) predicate.ManagerClaim
- func ManagedPrincipalID(v uuid.UUID) predicate.ManagerClaim
- func ManagedPrincipalIDEQ(v uuid.UUID) predicate.ManagerClaim
- func ManagedPrincipalIDIn(vs ...uuid.UUID) predicate.ManagerClaim
- func ManagedPrincipalIDNEQ(v uuid.UUID) predicate.ManagerClaim
- func ManagedPrincipalIDNotIn(vs ...uuid.UUID) predicate.ManagerClaim
- func Not(p predicate.ManagerClaim) predicate.ManagerClaim
- func Or(predicates ...predicate.ManagerClaim) predicate.ManagerClaim
- func RedeemedAt(v time.Time) predicate.ManagerClaim
- func RedeemedAtEQ(v time.Time) predicate.ManagerClaim
- func RedeemedAtGT(v time.Time) predicate.ManagerClaim
- func RedeemedAtGTE(v time.Time) predicate.ManagerClaim
- func RedeemedAtIn(vs ...time.Time) predicate.ManagerClaim
- func RedeemedAtIsNil() predicate.ManagerClaim
- func RedeemedAtLT(v time.Time) predicate.ManagerClaim
- func RedeemedAtLTE(v time.Time) predicate.ManagerClaim
- func RedeemedAtNEQ(v time.Time) predicate.ManagerClaim
- func RedeemedAtNotIn(vs ...time.Time) predicate.ManagerClaim
- func RedeemedAtNotNil() predicate.ManagerClaim
- func RedeemedBy(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByEQ(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByGT(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByGTE(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByIn(vs ...uuid.UUID) predicate.ManagerClaim
- func RedeemedByIsNil() predicate.ManagerClaim
- func RedeemedByLT(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByLTE(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByNEQ(v uuid.UUID) predicate.ManagerClaim
- func RedeemedByNotIn(vs ...uuid.UUID) predicate.ManagerClaim
- func RedeemedByNotNil() predicate.ManagerClaim
- func ValidColumn(column string) bool
- type OrderOption
- func ByCodeHash(opts ...sql.OrderTermOption) OrderOption
- func ByCodePrefix(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIssuedBy(opts ...sql.OrderTermOption) OrderOption
- func ByManagedField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByManagedPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByRedeemedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRedeemedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the managerclaim type in the database. Label = "manager_claim" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldManagedPrincipalID holds the string denoting the managed_principal_id field in the database. FieldManagedPrincipalID = "managed_principal_id" // FieldCodePrefix holds the string denoting the code_prefix field in the database. FieldCodePrefix = "code_prefix" // FieldCodeHash holds the string denoting the code_hash field in the database. FieldCodeHash = "code_hash" // FieldIssuedBy holds the string denoting the issued_by field in the database. FieldIssuedBy = "issued_by" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldRedeemedAt holds the string denoting the redeemed_at field in the database. FieldRedeemedAt = "redeemed_at" // FieldRedeemedBy holds the string denoting the redeemed_by field in the database. FieldRedeemedBy = "redeemed_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeManaged holds the string denoting the managed edge name in mutations. EdgeManaged = "managed" // Table holds the table name of the managerclaim in the database. Table = "sf_manager_claims" // ManagedTable is the table that holds the managed relation/edge. ManagedTable = "sf_manager_claims" // ManagedInverseTable is the table name for the Principal entity. // It exists in this package in order to avoid circular dependency with the "principal" package. ManagedInverseTable = "sf_principals" // ManagedColumn is the table column denoting the managed relation/edge. ManagedColumn = "managed_principal_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldManagedPrincipalID, FieldCodePrefix, FieldCodeHash, FieldIssuedBy, FieldExpiresAt, FieldRedeemedAt, FieldRedeemedBy, FieldCreatedAt, }
Columns holds all SQL columns for managerclaim fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ManagerClaim) predicate.ManagerClaim
And groups predicates with the AND operator between them.
func CodeHash ¶
func CodeHash(v string) predicate.ManagerClaim
CodeHash applies equality check predicate on the "code_hash" field. It's identical to CodeHashEQ.
func CodeHashContains ¶
func CodeHashContains(v string) predicate.ManagerClaim
CodeHashContains applies the Contains predicate on the "code_hash" field.
func CodeHashContainsFold ¶
func CodeHashContainsFold(v string) predicate.ManagerClaim
CodeHashContainsFold applies the ContainsFold predicate on the "code_hash" field.
func CodeHashEQ ¶
func CodeHashEQ(v string) predicate.ManagerClaim
CodeHashEQ applies the EQ predicate on the "code_hash" field.
func CodeHashEqualFold ¶
func CodeHashEqualFold(v string) predicate.ManagerClaim
CodeHashEqualFold applies the EqualFold predicate on the "code_hash" field.
func CodeHashGT ¶
func CodeHashGT(v string) predicate.ManagerClaim
CodeHashGT applies the GT predicate on the "code_hash" field.
func CodeHashGTE ¶
func CodeHashGTE(v string) predicate.ManagerClaim
CodeHashGTE applies the GTE predicate on the "code_hash" field.
func CodeHashHasPrefix ¶
func CodeHashHasPrefix(v string) predicate.ManagerClaim
CodeHashHasPrefix applies the HasPrefix predicate on the "code_hash" field.
func CodeHashHasSuffix ¶
func CodeHashHasSuffix(v string) predicate.ManagerClaim
CodeHashHasSuffix applies the HasSuffix predicate on the "code_hash" field.
func CodeHashIn ¶
func CodeHashIn(vs ...string) predicate.ManagerClaim
CodeHashIn applies the In predicate on the "code_hash" field.
func CodeHashLT ¶
func CodeHashLT(v string) predicate.ManagerClaim
CodeHashLT applies the LT predicate on the "code_hash" field.
func CodeHashLTE ¶
func CodeHashLTE(v string) predicate.ManagerClaim
CodeHashLTE applies the LTE predicate on the "code_hash" field.
func CodeHashNEQ ¶
func CodeHashNEQ(v string) predicate.ManagerClaim
CodeHashNEQ applies the NEQ predicate on the "code_hash" field.
func CodeHashNotIn ¶
func CodeHashNotIn(vs ...string) predicate.ManagerClaim
CodeHashNotIn applies the NotIn predicate on the "code_hash" field.
func CodePrefix ¶
func CodePrefix(v string) predicate.ManagerClaim
CodePrefix applies equality check predicate on the "code_prefix" field. It's identical to CodePrefixEQ.
func CodePrefixContains ¶
func CodePrefixContains(v string) predicate.ManagerClaim
CodePrefixContains applies the Contains predicate on the "code_prefix" field.
func CodePrefixContainsFold ¶
func CodePrefixContainsFold(v string) predicate.ManagerClaim
CodePrefixContainsFold applies the ContainsFold predicate on the "code_prefix" field.
func CodePrefixEQ ¶
func CodePrefixEQ(v string) predicate.ManagerClaim
CodePrefixEQ applies the EQ predicate on the "code_prefix" field.
func CodePrefixEqualFold ¶
func CodePrefixEqualFold(v string) predicate.ManagerClaim
CodePrefixEqualFold applies the EqualFold predicate on the "code_prefix" field.
func CodePrefixGT ¶
func CodePrefixGT(v string) predicate.ManagerClaim
CodePrefixGT applies the GT predicate on the "code_prefix" field.
func CodePrefixGTE ¶
func CodePrefixGTE(v string) predicate.ManagerClaim
CodePrefixGTE applies the GTE predicate on the "code_prefix" field.
func CodePrefixHasPrefix ¶
func CodePrefixHasPrefix(v string) predicate.ManagerClaim
CodePrefixHasPrefix applies the HasPrefix predicate on the "code_prefix" field.
func CodePrefixHasSuffix ¶
func CodePrefixHasSuffix(v string) predicate.ManagerClaim
CodePrefixHasSuffix applies the HasSuffix predicate on the "code_prefix" field.
func CodePrefixIn ¶
func CodePrefixIn(vs ...string) predicate.ManagerClaim
CodePrefixIn applies the In predicate on the "code_prefix" field.
func CodePrefixLT ¶
func CodePrefixLT(v string) predicate.ManagerClaim
CodePrefixLT applies the LT predicate on the "code_prefix" field.
func CodePrefixLTE ¶
func CodePrefixLTE(v string) predicate.ManagerClaim
CodePrefixLTE applies the LTE predicate on the "code_prefix" field.
func CodePrefixNEQ ¶
func CodePrefixNEQ(v string) predicate.ManagerClaim
CodePrefixNEQ applies the NEQ predicate on the "code_prefix" field.
func CodePrefixNotIn ¶
func CodePrefixNotIn(vs ...string) predicate.ManagerClaim
CodePrefixNotIn applies the NotIn predicate on the "code_prefix" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ManagerClaim
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ManagerClaim
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ManagerClaim
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ManagerClaim
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ManagerClaim
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ManagerClaim
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ManagerClaim
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ManagerClaim
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ManagerClaim
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.ManagerClaim
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.ManagerClaim
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.ManagerClaim
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.ManagerClaim
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.ManagerClaim
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.ManagerClaim
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.ManagerClaim
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.ManagerClaim
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.ManagerClaim
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func HasManaged ¶
func HasManaged() predicate.ManagerClaim
HasManaged applies the HasEdge predicate on the "managed" edge.
func HasManagedWith ¶
func HasManagedWith(preds ...predicate.Principal) predicate.ManagerClaim
HasManagedWith applies the HasEdge predicate on the "managed" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ManagerClaim
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ManagerClaim
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ManagerClaim
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ManagerClaim
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ManagerClaim
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ManagerClaim
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ManagerClaim
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ManagerClaim
IDNotIn applies the NotIn predicate on the ID field.
func IssuedBy ¶
func IssuedBy(v uuid.UUID) predicate.ManagerClaim
IssuedBy applies equality check predicate on the "issued_by" field. It's identical to IssuedByEQ.
func IssuedByEQ ¶
func IssuedByEQ(v uuid.UUID) predicate.ManagerClaim
IssuedByEQ applies the EQ predicate on the "issued_by" field.
func IssuedByGT ¶
func IssuedByGT(v uuid.UUID) predicate.ManagerClaim
IssuedByGT applies the GT predicate on the "issued_by" field.
func IssuedByGTE ¶
func IssuedByGTE(v uuid.UUID) predicate.ManagerClaim
IssuedByGTE applies the GTE predicate on the "issued_by" field.
func IssuedByIn ¶
func IssuedByIn(vs ...uuid.UUID) predicate.ManagerClaim
IssuedByIn applies the In predicate on the "issued_by" field.
func IssuedByLT ¶
func IssuedByLT(v uuid.UUID) predicate.ManagerClaim
IssuedByLT applies the LT predicate on the "issued_by" field.
func IssuedByLTE ¶
func IssuedByLTE(v uuid.UUID) predicate.ManagerClaim
IssuedByLTE applies the LTE predicate on the "issued_by" field.
func IssuedByNEQ ¶
func IssuedByNEQ(v uuid.UUID) predicate.ManagerClaim
IssuedByNEQ applies the NEQ predicate on the "issued_by" field.
func IssuedByNotIn ¶
func IssuedByNotIn(vs ...uuid.UUID) predicate.ManagerClaim
IssuedByNotIn applies the NotIn predicate on the "issued_by" field.
func ManagedPrincipalID ¶
func ManagedPrincipalID(v uuid.UUID) predicate.ManagerClaim
ManagedPrincipalID applies equality check predicate on the "managed_principal_id" field. It's identical to ManagedPrincipalIDEQ.
func ManagedPrincipalIDEQ ¶
func ManagedPrincipalIDEQ(v uuid.UUID) predicate.ManagerClaim
ManagedPrincipalIDEQ applies the EQ predicate on the "managed_principal_id" field.
func ManagedPrincipalIDIn ¶
func ManagedPrincipalIDIn(vs ...uuid.UUID) predicate.ManagerClaim
ManagedPrincipalIDIn applies the In predicate on the "managed_principal_id" field.
func ManagedPrincipalIDNEQ ¶
func ManagedPrincipalIDNEQ(v uuid.UUID) predicate.ManagerClaim
ManagedPrincipalIDNEQ applies the NEQ predicate on the "managed_principal_id" field.
func ManagedPrincipalIDNotIn ¶
func ManagedPrincipalIDNotIn(vs ...uuid.UUID) predicate.ManagerClaim
ManagedPrincipalIDNotIn applies the NotIn predicate on the "managed_principal_id" field.
func Not ¶
func Not(p predicate.ManagerClaim) predicate.ManagerClaim
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ManagerClaim) predicate.ManagerClaim
Or groups predicates with the OR operator between them.
func RedeemedAt ¶
func RedeemedAt(v time.Time) predicate.ManagerClaim
RedeemedAt applies equality check predicate on the "redeemed_at" field. It's identical to RedeemedAtEQ.
func RedeemedAtEQ ¶
func RedeemedAtEQ(v time.Time) predicate.ManagerClaim
RedeemedAtEQ applies the EQ predicate on the "redeemed_at" field.
func RedeemedAtGT ¶
func RedeemedAtGT(v time.Time) predicate.ManagerClaim
RedeemedAtGT applies the GT predicate on the "redeemed_at" field.
func RedeemedAtGTE ¶
func RedeemedAtGTE(v time.Time) predicate.ManagerClaim
RedeemedAtGTE applies the GTE predicate on the "redeemed_at" field.
func RedeemedAtIn ¶
func RedeemedAtIn(vs ...time.Time) predicate.ManagerClaim
RedeemedAtIn applies the In predicate on the "redeemed_at" field.
func RedeemedAtIsNil ¶
func RedeemedAtIsNil() predicate.ManagerClaim
RedeemedAtIsNil applies the IsNil predicate on the "redeemed_at" field.
func RedeemedAtLT ¶
func RedeemedAtLT(v time.Time) predicate.ManagerClaim
RedeemedAtLT applies the LT predicate on the "redeemed_at" field.
func RedeemedAtLTE ¶
func RedeemedAtLTE(v time.Time) predicate.ManagerClaim
RedeemedAtLTE applies the LTE predicate on the "redeemed_at" field.
func RedeemedAtNEQ ¶
func RedeemedAtNEQ(v time.Time) predicate.ManagerClaim
RedeemedAtNEQ applies the NEQ predicate on the "redeemed_at" field.
func RedeemedAtNotIn ¶
func RedeemedAtNotIn(vs ...time.Time) predicate.ManagerClaim
RedeemedAtNotIn applies the NotIn predicate on the "redeemed_at" field.
func RedeemedAtNotNil ¶
func RedeemedAtNotNil() predicate.ManagerClaim
RedeemedAtNotNil applies the NotNil predicate on the "redeemed_at" field.
func RedeemedBy ¶
func RedeemedBy(v uuid.UUID) predicate.ManagerClaim
RedeemedBy applies equality check predicate on the "redeemed_by" field. It's identical to RedeemedByEQ.
func RedeemedByEQ ¶
func RedeemedByEQ(v uuid.UUID) predicate.ManagerClaim
RedeemedByEQ applies the EQ predicate on the "redeemed_by" field.
func RedeemedByGT ¶
func RedeemedByGT(v uuid.UUID) predicate.ManagerClaim
RedeemedByGT applies the GT predicate on the "redeemed_by" field.
func RedeemedByGTE ¶
func RedeemedByGTE(v uuid.UUID) predicate.ManagerClaim
RedeemedByGTE applies the GTE predicate on the "redeemed_by" field.
func RedeemedByIn ¶
func RedeemedByIn(vs ...uuid.UUID) predicate.ManagerClaim
RedeemedByIn applies the In predicate on the "redeemed_by" field.
func RedeemedByIsNil ¶
func RedeemedByIsNil() predicate.ManagerClaim
RedeemedByIsNil applies the IsNil predicate on the "redeemed_by" field.
func RedeemedByLT ¶
func RedeemedByLT(v uuid.UUID) predicate.ManagerClaim
RedeemedByLT applies the LT predicate on the "redeemed_by" field.
func RedeemedByLTE ¶
func RedeemedByLTE(v uuid.UUID) predicate.ManagerClaim
RedeemedByLTE applies the LTE predicate on the "redeemed_by" field.
func RedeemedByNEQ ¶
func RedeemedByNEQ(v uuid.UUID) predicate.ManagerClaim
RedeemedByNEQ applies the NEQ predicate on the "redeemed_by" field.
func RedeemedByNotIn ¶
func RedeemedByNotIn(vs ...uuid.UUID) predicate.ManagerClaim
RedeemedByNotIn applies the NotIn predicate on the "redeemed_by" field.
func RedeemedByNotNil ¶
func RedeemedByNotNil() predicate.ManagerClaim
RedeemedByNotNil applies the NotNil predicate on the "redeemed_by" 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 ManagerClaim queries.
func ByCodeHash ¶
func ByCodeHash(opts ...sql.OrderTermOption) OrderOption
ByCodeHash orders the results by the code_hash field.
func ByCodePrefix ¶
func ByCodePrefix(opts ...sql.OrderTermOption) OrderOption
ByCodePrefix orders the results by the code_prefix field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIssuedBy ¶
func ByIssuedBy(opts ...sql.OrderTermOption) OrderOption
ByIssuedBy orders the results by the issued_by field.
func ByManagedField ¶
func ByManagedField(field string, opts ...sql.OrderTermOption) OrderOption
ByManagedField orders the results by managed field.
func ByManagedPrincipalID ¶
func ByManagedPrincipalID(opts ...sql.OrderTermOption) OrderOption
ByManagedPrincipalID orders the results by the managed_principal_id field.
func ByRedeemedAt ¶
func ByRedeemedAt(opts ...sql.OrderTermOption) OrderOption
ByRedeemedAt orders the results by the redeemed_at field.
func ByRedeemedBy ¶
func ByRedeemedBy(opts ...sql.OrderTermOption) OrderOption
ByRedeemedBy orders the results by the redeemed_by field.