Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ScimToken) predicate.ScimToken
- func CreatedAt(v time.Time) predicate.ScimToken
- func CreatedAtEQ(v time.Time) predicate.ScimToken
- func CreatedAtGT(v time.Time) predicate.ScimToken
- func CreatedAtGTE(v time.Time) predicate.ScimToken
- func CreatedAtIn(vs ...time.Time) predicate.ScimToken
- func CreatedAtLT(v time.Time) predicate.ScimToken
- func CreatedAtLTE(v time.Time) predicate.ScimToken
- func CreatedAtNEQ(v time.Time) predicate.ScimToken
- func CreatedAtNotIn(vs ...time.Time) predicate.ScimToken
- func CreatedBy(v uuid.UUID) predicate.ScimToken
- func CreatedByEQ(v uuid.UUID) predicate.ScimToken
- func CreatedByGT(v uuid.UUID) predicate.ScimToken
- func CreatedByGTE(v uuid.UUID) predicate.ScimToken
- func CreatedByIn(vs ...uuid.UUID) predicate.ScimToken
- func CreatedByIsNil() predicate.ScimToken
- func CreatedByLT(v uuid.UUID) predicate.ScimToken
- func CreatedByLTE(v uuid.UUID) predicate.ScimToken
- func CreatedByNEQ(v uuid.UUID) predicate.ScimToken
- func CreatedByNotIn(vs ...uuid.UUID) predicate.ScimToken
- func CreatedByNotNil() predicate.ScimToken
- func Description(v string) predicate.ScimToken
- func DescriptionContains(v string) predicate.ScimToken
- func DescriptionContainsFold(v string) predicate.ScimToken
- func DescriptionEQ(v string) predicate.ScimToken
- func DescriptionEqualFold(v string) predicate.ScimToken
- func DescriptionGT(v string) predicate.ScimToken
- func DescriptionGTE(v string) predicate.ScimToken
- func DescriptionHasPrefix(v string) predicate.ScimToken
- func DescriptionHasSuffix(v string) predicate.ScimToken
- func DescriptionIn(vs ...string) predicate.ScimToken
- func DescriptionIsNil() predicate.ScimToken
- func DescriptionLT(v string) predicate.ScimToken
- func DescriptionLTE(v string) predicate.ScimToken
- func DescriptionNEQ(v string) predicate.ScimToken
- func DescriptionNotIn(vs ...string) predicate.ScimToken
- func DescriptionNotNil() predicate.ScimToken
- func ExpiresAt(v time.Time) predicate.ScimToken
- func ExpiresAtEQ(v time.Time) predicate.ScimToken
- func ExpiresAtGT(v time.Time) predicate.ScimToken
- func ExpiresAtGTE(v time.Time) predicate.ScimToken
- func ExpiresAtIn(vs ...time.Time) predicate.ScimToken
- func ExpiresAtIsNil() predicate.ScimToken
- func ExpiresAtLT(v time.Time) predicate.ScimToken
- func ExpiresAtLTE(v time.Time) predicate.ScimToken
- func ExpiresAtNEQ(v time.Time) predicate.ScimToken
- func ExpiresAtNotIn(vs ...time.Time) predicate.ScimToken
- func ExpiresAtNotNil() predicate.ScimToken
- func Generation(v int) predicate.ScimToken
- func GenerationEQ(v int) predicate.ScimToken
- func GenerationGT(v int) predicate.ScimToken
- func GenerationGTE(v int) predicate.ScimToken
- func GenerationIn(vs ...int) predicate.ScimToken
- func GenerationLT(v int) predicate.ScimToken
- func GenerationLTE(v int) predicate.ScimToken
- func GenerationNEQ(v int) predicate.ScimToken
- func GenerationNotIn(vs ...int) predicate.ScimToken
- func ID(id uuid.UUID) predicate.ScimToken
- func IDEQ(id uuid.UUID) predicate.ScimToken
- func IDGT(id uuid.UUID) predicate.ScimToken
- func IDGTE(id uuid.UUID) predicate.ScimToken
- func IDIn(ids ...uuid.UUID) predicate.ScimToken
- func IDLT(id uuid.UUID) predicate.ScimToken
- func IDLTE(id uuid.UUID) predicate.ScimToken
- func IDNEQ(id uuid.UUID) predicate.ScimToken
- func IDNotIn(ids ...uuid.UUID) predicate.ScimToken
- func LastUsedAt(v time.Time) predicate.ScimToken
- func LastUsedAtEQ(v time.Time) predicate.ScimToken
- func LastUsedAtGT(v time.Time) predicate.ScimToken
- func LastUsedAtGTE(v time.Time) predicate.ScimToken
- func LastUsedAtIn(vs ...time.Time) predicate.ScimToken
- func LastUsedAtIsNil() predicate.ScimToken
- func LastUsedAtLT(v time.Time) predicate.ScimToken
- func LastUsedAtLTE(v time.Time) predicate.ScimToken
- func LastUsedAtNEQ(v time.Time) predicate.ScimToken
- func LastUsedAtNotIn(vs ...time.Time) predicate.ScimToken
- func LastUsedAtNotNil() predicate.ScimToken
- func Not(p predicate.ScimToken) predicate.ScimToken
- func Or(predicates ...predicate.ScimToken) predicate.ScimToken
- func OrganizationID(v uuid.UUID) predicate.ScimToken
- func OrganizationIDEQ(v uuid.UUID) predicate.ScimToken
- func OrganizationIDGT(v uuid.UUID) predicate.ScimToken
- func OrganizationIDGTE(v uuid.UUID) predicate.ScimToken
- func OrganizationIDIn(vs ...uuid.UUID) predicate.ScimToken
- func OrganizationIDLT(v uuid.UUID) predicate.ScimToken
- func OrganizationIDLTE(v uuid.UUID) predicate.ScimToken
- func OrganizationIDNEQ(v uuid.UUID) predicate.ScimToken
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.ScimToken
- func RevokedAt(v time.Time) predicate.ScimToken
- func RevokedAtEQ(v time.Time) predicate.ScimToken
- func RevokedAtGT(v time.Time) predicate.ScimToken
- func RevokedAtGTE(v time.Time) predicate.ScimToken
- func RevokedAtIn(vs ...time.Time) predicate.ScimToken
- func RevokedAtIsNil() predicate.ScimToken
- func RevokedAtLT(v time.Time) predicate.ScimToken
- func RevokedAtLTE(v time.Time) predicate.ScimToken
- func RevokedAtNEQ(v time.Time) predicate.ScimToken
- func RevokedAtNotIn(vs ...time.Time) predicate.ScimToken
- func RevokedAtNotNil() predicate.ScimToken
- func RevokedBy(v uuid.UUID) predicate.ScimToken
- func RevokedByEQ(v uuid.UUID) predicate.ScimToken
- func RevokedByGT(v uuid.UUID) predicate.ScimToken
- func RevokedByGTE(v uuid.UUID) predicate.ScimToken
- func RevokedByIn(vs ...uuid.UUID) predicate.ScimToken
- func RevokedByIsNil() predicate.ScimToken
- func RevokedByLT(v uuid.UUID) predicate.ScimToken
- func RevokedByLTE(v uuid.UUID) predicate.ScimToken
- func RevokedByNEQ(v uuid.UUID) predicate.ScimToken
- func RevokedByNotIn(vs ...uuid.UUID) predicate.ScimToken
- func RevokedByNotNil() predicate.ScimToken
- func TokenHash(v string) predicate.ScimToken
- func TokenHashContains(v string) predicate.ScimToken
- func TokenHashContainsFold(v string) predicate.ScimToken
- func TokenHashEQ(v string) predicate.ScimToken
- func TokenHashEqualFold(v string) predicate.ScimToken
- func TokenHashGT(v string) predicate.ScimToken
- func TokenHashGTE(v string) predicate.ScimToken
- func TokenHashHasPrefix(v string) predicate.ScimToken
- func TokenHashHasSuffix(v string) predicate.ScimToken
- func TokenHashIn(vs ...string) predicate.ScimToken
- func TokenHashLT(v string) predicate.ScimToken
- func TokenHashLTE(v string) predicate.ScimToken
- func TokenHashNEQ(v string) predicate.ScimToken
- func TokenHashNotIn(vs ...string) predicate.ScimToken
- func TokenPrefix(v string) predicate.ScimToken
- func TokenPrefixContains(v string) predicate.ScimToken
- func TokenPrefixContainsFold(v string) predicate.ScimToken
- func TokenPrefixEQ(v string) predicate.ScimToken
- func TokenPrefixEqualFold(v string) predicate.ScimToken
- func TokenPrefixGT(v string) predicate.ScimToken
- func TokenPrefixGTE(v string) predicate.ScimToken
- func TokenPrefixHasPrefix(v string) predicate.ScimToken
- func TokenPrefixHasSuffix(v string) predicate.ScimToken
- func TokenPrefixIn(vs ...string) predicate.ScimToken
- func TokenPrefixLT(v string) predicate.ScimToken
- func TokenPrefixLTE(v string) predicate.ScimToken
- func TokenPrefixNEQ(v string) predicate.ScimToken
- func TokenPrefixNotIn(vs ...string) predicate.ScimToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByGeneration(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedBy(opts ...sql.OrderTermOption) OrderOption
- func ByTokenHash(opts ...sql.OrderTermOption) OrderOption
- func ByTokenPrefix(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the scimtoken type in the database. Label = "scim_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldGeneration holds the string denoting the generation field in the database. FieldGeneration = "generation" // FieldTokenPrefix holds the string denoting the token_prefix field in the database. FieldTokenPrefix = "token_prefix" // FieldTokenHash holds the string denoting the token_hash field in the database. FieldTokenHash = "token_hash" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // FieldRevokedBy holds the string denoting the revoked_by field in the database. FieldRevokedBy = "revoked_by" // Table holds the table name of the scimtoken in the database. Table = "sf_scim_tokens" )
Variables ¶
var ( // GenerationValidator is a validator for the "generation" field. It is called by the builders before save. GenerationValidator func(int) error // TokenPrefixValidator is a validator for the "token_prefix" field. It is called by the builders before save. TokenPrefixValidator func(string) error // TokenHashValidator is a validator for the "token_hash" field. It is called by the builders before save. TokenHashValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // 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, FieldOrganizationID, FieldGeneration, FieldTokenPrefix, FieldTokenHash, FieldDescription, FieldCreatedBy, FieldCreatedAt, FieldLastUsedAt, FieldExpiresAt, FieldRevokedAt, FieldRevokedBy, }
Columns holds all SQL columns for scimtoken fields.
Functions ¶
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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func ExpiresAt ¶
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func Generation ¶
Generation applies equality check predicate on the "generation" field. It's identical to GenerationEQ.
func GenerationEQ ¶
GenerationEQ applies the EQ predicate on the "generation" field.
func GenerationGT ¶
GenerationGT applies the GT predicate on the "generation" field.
func GenerationGTE ¶
GenerationGTE applies the GTE predicate on the "generation" field.
func GenerationIn ¶
GenerationIn applies the In predicate on the "generation" field.
func GenerationLT ¶
GenerationLT applies the LT predicate on the "generation" field.
func GenerationLTE ¶
GenerationLTE applies the LTE predicate on the "generation" field.
func GenerationNEQ ¶
GenerationNEQ applies the NEQ predicate on the "generation" field.
func GenerationNotIn ¶
GenerationNotIn applies the NotIn predicate on the "generation" field.
func LastUsedAt ¶
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func OrganizationID ¶
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDGT ¶
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDIn ¶
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDLT ¶
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func RevokedAt ¶
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func RevokedBy ¶
RevokedBy applies equality check predicate on the "revoked_by" field. It's identical to RevokedByEQ.
func RevokedByEQ ¶
RevokedByEQ applies the EQ predicate on the "revoked_by" field.
func RevokedByGT ¶
RevokedByGT applies the GT predicate on the "revoked_by" field.
func RevokedByGTE ¶
RevokedByGTE applies the GTE predicate on the "revoked_by" field.
func RevokedByIn ¶
RevokedByIn applies the In predicate on the "revoked_by" field.
func RevokedByIsNil ¶
RevokedByIsNil applies the IsNil predicate on the "revoked_by" field.
func RevokedByLT ¶
RevokedByLT applies the LT predicate on the "revoked_by" field.
func RevokedByLTE ¶
RevokedByLTE applies the LTE predicate on the "revoked_by" field.
func RevokedByNEQ ¶
RevokedByNEQ applies the NEQ predicate on the "revoked_by" field.
func RevokedByNotIn ¶
RevokedByNotIn applies the NotIn predicate on the "revoked_by" field.
func RevokedByNotNil ¶
RevokedByNotNil applies the NotNil predicate on the "revoked_by" field.
func TokenHash ¶
TokenHash applies equality check predicate on the "token_hash" field. It's identical to TokenHashEQ.
func TokenHashContains ¶
TokenHashContains applies the Contains predicate on the "token_hash" field.
func TokenHashContainsFold ¶
TokenHashContainsFold applies the ContainsFold predicate on the "token_hash" field.
func TokenHashEQ ¶
TokenHashEQ applies the EQ predicate on the "token_hash" field.
func TokenHashEqualFold ¶
TokenHashEqualFold applies the EqualFold predicate on the "token_hash" field.
func TokenHashGT ¶
TokenHashGT applies the GT predicate on the "token_hash" field.
func TokenHashGTE ¶
TokenHashGTE applies the GTE predicate on the "token_hash" field.
func TokenHashHasPrefix ¶
TokenHashHasPrefix applies the HasPrefix predicate on the "token_hash" field.
func TokenHashHasSuffix ¶
TokenHashHasSuffix applies the HasSuffix predicate on the "token_hash" field.
func TokenHashIn ¶
TokenHashIn applies the In predicate on the "token_hash" field.
func TokenHashLT ¶
TokenHashLT applies the LT predicate on the "token_hash" field.
func TokenHashLTE ¶
TokenHashLTE applies the LTE predicate on the "token_hash" field.
func TokenHashNEQ ¶
TokenHashNEQ applies the NEQ predicate on the "token_hash" field.
func TokenHashNotIn ¶
TokenHashNotIn applies the NotIn predicate on the "token_hash" field.
func TokenPrefix ¶
TokenPrefix applies equality check predicate on the "token_prefix" field. It's identical to TokenPrefixEQ.
func TokenPrefixContains ¶
TokenPrefixContains applies the Contains predicate on the "token_prefix" field.
func TokenPrefixContainsFold ¶
TokenPrefixContainsFold applies the ContainsFold predicate on the "token_prefix" field.
func TokenPrefixEQ ¶
TokenPrefixEQ applies the EQ predicate on the "token_prefix" field.
func TokenPrefixEqualFold ¶
TokenPrefixEqualFold applies the EqualFold predicate on the "token_prefix" field.
func TokenPrefixGT ¶
TokenPrefixGT applies the GT predicate on the "token_prefix" field.
func TokenPrefixGTE ¶
TokenPrefixGTE applies the GTE predicate on the "token_prefix" field.
func TokenPrefixHasPrefix ¶
TokenPrefixHasPrefix applies the HasPrefix predicate on the "token_prefix" field.
func TokenPrefixHasSuffix ¶
TokenPrefixHasSuffix applies the HasSuffix predicate on the "token_prefix" field.
func TokenPrefixIn ¶
TokenPrefixIn applies the In predicate on the "token_prefix" field.
func TokenPrefixLT ¶
TokenPrefixLT applies the LT predicate on the "token_prefix" field.
func TokenPrefixLTE ¶
TokenPrefixLTE applies the LTE predicate on the "token_prefix" field.
func TokenPrefixNEQ ¶
TokenPrefixNEQ applies the NEQ predicate on the "token_prefix" field.
func TokenPrefixNotIn ¶
TokenPrefixNotIn applies the NotIn predicate on the "token_prefix" 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 ScimToken queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByGeneration ¶
func ByGeneration(opts ...sql.OrderTermOption) OrderOption
ByGeneration orders the results by the generation field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastUsedAt ¶
func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
ByLastUsedAt orders the results by the last_used_at field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func ByRevokedBy ¶
func ByRevokedBy(opts ...sql.OrderTermOption) OrderOption
ByRevokedBy orders the results by the revoked_by field.
func ByTokenHash ¶
func ByTokenHash(opts ...sql.OrderTermOption) OrderOption
ByTokenHash orders the results by the token_hash field.
func ByTokenPrefix ¶
func ByTokenPrefix(opts ...sql.OrderTermOption) OrderOption
ByTokenPrefix orders the results by the token_prefix field.