Documentation
¶
Index ¶
- Constants
- Variables
- func AccessToken(v string) predicate.Tokens
- func AccessTokenContains(v string) predicate.Tokens
- func AccessTokenContainsFold(v string) predicate.Tokens
- func AccessTokenEQ(v string) predicate.Tokens
- func AccessTokenEqualFold(v string) predicate.Tokens
- func AccessTokenGT(v string) predicate.Tokens
- func AccessTokenGTE(v string) predicate.Tokens
- func AccessTokenHasPrefix(v string) predicate.Tokens
- func AccessTokenHasSuffix(v string) predicate.Tokens
- func AccessTokenIn(vs ...string) predicate.Tokens
- func AccessTokenLT(v string) predicate.Tokens
- func AccessTokenLTE(v string) predicate.Tokens
- func AccessTokenNEQ(v string) predicate.Tokens
- func AccessTokenNotIn(vs ...string) predicate.Tokens
- func And(predicates ...predicate.Tokens) predicate.Tokens
- func Email(v string) predicate.Tokens
- func EmailContains(v string) predicate.Tokens
- func EmailContainsFold(v string) predicate.Tokens
- func EmailEQ(v string) predicate.Tokens
- func EmailEqualFold(v string) predicate.Tokens
- func EmailGT(v string) predicate.Tokens
- func EmailGTE(v string) predicate.Tokens
- func EmailHasPrefix(v string) predicate.Tokens
- func EmailHasSuffix(v string) predicate.Tokens
- func EmailIn(vs ...string) predicate.Tokens
- func EmailLT(v string) predicate.Tokens
- func EmailLTE(v string) predicate.Tokens
- func EmailNEQ(v string) predicate.Tokens
- func EmailNotIn(vs ...string) predicate.Tokens
- func Expiry(v time.Time) predicate.Tokens
- func ExpiryEQ(v time.Time) predicate.Tokens
- func ExpiryGT(v time.Time) predicate.Tokens
- func ExpiryGTE(v time.Time) predicate.Tokens
- func ExpiryIn(vs ...time.Time) predicate.Tokens
- func ExpiryLT(v time.Time) predicate.Tokens
- func ExpiryLTE(v time.Time) predicate.Tokens
- func ExpiryNEQ(v time.Time) predicate.Tokens
- func ExpiryNotIn(vs ...time.Time) predicate.Tokens
- func ID(id uuid.UUID) predicate.Tokens
- func IDEQ(id uuid.UUID) predicate.Tokens
- func IDGT(id uuid.UUID) predicate.Tokens
- func IDGTE(id uuid.UUID) predicate.Tokens
- func IDIn(ids ...uuid.UUID) predicate.Tokens
- func IDLT(id uuid.UUID) predicate.Tokens
- func IDLTE(id uuid.UUID) predicate.Tokens
- func IDNEQ(id uuid.UUID) predicate.Tokens
- func IDNotIn(ids ...uuid.UUID) predicate.Tokens
- func Not(p predicate.Tokens) predicate.Tokens
- func Or(predicates ...predicate.Tokens) predicate.Tokens
- func RefreshToken(v string) predicate.Tokens
- func RefreshTokenContains(v string) predicate.Tokens
- func RefreshTokenContainsFold(v string) predicate.Tokens
- func RefreshTokenEQ(v string) predicate.Tokens
- func RefreshTokenEqualFold(v string) predicate.Tokens
- func RefreshTokenGT(v string) predicate.Tokens
- func RefreshTokenGTE(v string) predicate.Tokens
- func RefreshTokenHasPrefix(v string) predicate.Tokens
- func RefreshTokenHasSuffix(v string) predicate.Tokens
- func RefreshTokenIn(vs ...string) predicate.Tokens
- func RefreshTokenLT(v string) predicate.Tokens
- func RefreshTokenLTE(v string) predicate.Tokens
- func RefreshTokenNEQ(v string) predicate.Tokens
- func RefreshTokenNotIn(vs ...string) predicate.Tokens
- func TokenType(v string) predicate.Tokens
- func TokenTypeContains(v string) predicate.Tokens
- func TokenTypeContainsFold(v string) predicate.Tokens
- func TokenTypeEQ(v string) predicate.Tokens
- func TokenTypeEqualFold(v string) predicate.Tokens
- func TokenTypeGT(v string) predicate.Tokens
- func TokenTypeGTE(v string) predicate.Tokens
- func TokenTypeHasPrefix(v string) predicate.Tokens
- func TokenTypeHasSuffix(v string) predicate.Tokens
- func TokenTypeIn(vs ...string) predicate.Tokens
- func TokenTypeLT(v string) predicate.Tokens
- func TokenTypeLTE(v string) predicate.Tokens
- func TokenTypeNEQ(v string) predicate.Tokens
- func TokenTypeNotIn(vs ...string) predicate.Tokens
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the tokens type in the database. Label = "tokens" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldAccessToken holds the string denoting the access_token field in the database. FieldAccessToken = "access_token" // FieldRefreshToken holds the string denoting the refresh_token field in the database. FieldRefreshToken = "refresh_token" // FieldTokenType holds the string denoting the token_type field in the database. FieldTokenType = "token_type" // FieldExpiry holds the string denoting the expiry field in the database. FieldExpiry = "expiry" // FieldRaw holds the string denoting the raw field in the database. FieldRaw = "raw" // Table holds the table name of the tokens in the database. Table = "tokens" )
Variables ¶
var ( // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // AccessTokenValidator is a validator for the "access_token" field. It is called by the builders before save. AccessTokenValidator func(string) error // TokenTypeValidator is a validator for the "token_type" field. It is called by the builders before save. TokenTypeValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldEmail, FieldAccessToken, FieldRefreshToken, FieldTokenType, FieldExpiry, FieldRaw, }
Columns holds all SQL columns for tokens fields.
Functions ¶
func AccessToken ¶
AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessTokenContains ¶
AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContainsFold ¶
AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenEQ ¶
AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEqualFold ¶
AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenGT ¶
AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGTE ¶
AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenHasPrefix ¶
AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasSuffix ¶
AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenIn ¶
AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenLT ¶
AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLTE ¶
AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenNEQ ¶
AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNotIn ¶
AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func Expiry ¶
Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.
func ExpiryNotIn ¶
ExpiryNotIn applies the NotIn predicate on the "expiry" field.
func RefreshToken ¶
RefreshToken applies equality check predicate on the "refresh_token" field. It's identical to RefreshTokenEQ.
func RefreshTokenContains ¶
RefreshTokenContains applies the Contains predicate on the "refresh_token" field.
func RefreshTokenContainsFold ¶
RefreshTokenContainsFold applies the ContainsFold predicate on the "refresh_token" field.
func RefreshTokenEQ ¶
RefreshTokenEQ applies the EQ predicate on the "refresh_token" field.
func RefreshTokenEqualFold ¶
RefreshTokenEqualFold applies the EqualFold predicate on the "refresh_token" field.
func RefreshTokenGT ¶
RefreshTokenGT applies the GT predicate on the "refresh_token" field.
func RefreshTokenGTE ¶
RefreshTokenGTE applies the GTE predicate on the "refresh_token" field.
func RefreshTokenHasPrefix ¶
RefreshTokenHasPrefix applies the HasPrefix predicate on the "refresh_token" field.
func RefreshTokenHasSuffix ¶
RefreshTokenHasSuffix applies the HasSuffix predicate on the "refresh_token" field.
func RefreshTokenIn ¶
RefreshTokenIn applies the In predicate on the "refresh_token" field.
func RefreshTokenLT ¶
RefreshTokenLT applies the LT predicate on the "refresh_token" field.
func RefreshTokenLTE ¶
RefreshTokenLTE applies the LTE predicate on the "refresh_token" field.
func RefreshTokenNEQ ¶
RefreshTokenNEQ applies the NEQ predicate on the "refresh_token" field.
func RefreshTokenNotIn ¶
RefreshTokenNotIn applies the NotIn predicate on the "refresh_token" field.
func TokenType ¶
TokenType applies equality check predicate on the "token_type" field. It's identical to TokenTypeEQ.
func TokenTypeContains ¶
TokenTypeContains applies the Contains predicate on the "token_type" field.
func TokenTypeContainsFold ¶
TokenTypeContainsFold applies the ContainsFold predicate on the "token_type" field.
func TokenTypeEQ ¶
TokenTypeEQ applies the EQ predicate on the "token_type" field.
func TokenTypeEqualFold ¶
TokenTypeEqualFold applies the EqualFold predicate on the "token_type" field.
func TokenTypeGT ¶
TokenTypeGT applies the GT predicate on the "token_type" field.
func TokenTypeGTE ¶
TokenTypeGTE applies the GTE predicate on the "token_type" field.
func TokenTypeHasPrefix ¶
TokenTypeHasPrefix applies the HasPrefix predicate on the "token_type" field.
func TokenTypeHasSuffix ¶
TokenTypeHasSuffix applies the HasSuffix predicate on the "token_type" field.
func TokenTypeIn ¶
TokenTypeIn applies the In predicate on the "token_type" field.
func TokenTypeLT ¶
TokenTypeLT applies the LT predicate on the "token_type" field.
func TokenTypeLTE ¶
TokenTypeLTE applies the LTE predicate on the "token_type" field.
func TokenTypeNEQ ¶
TokenTypeNEQ applies the NEQ predicate on the "token_type" field.
func TokenTypeNotIn ¶
TokenTypeNotIn applies the NotIn predicate on the "token_type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.