Documentation
¶
Index ¶
- Constants
- Variables
- func AccessToken(v string) predicate.AccessToken
- func AccessTokenContains(v string) predicate.AccessToken
- func AccessTokenContainsFold(v string) predicate.AccessToken
- func AccessTokenEQ(v string) predicate.AccessToken
- func AccessTokenEqualFold(v string) predicate.AccessToken
- func AccessTokenGT(v string) predicate.AccessToken
- func AccessTokenGTE(v string) predicate.AccessToken
- func AccessTokenHasPrefix(v string) predicate.AccessToken
- func AccessTokenHasSuffix(v string) predicate.AccessToken
- func AccessTokenHash(v string) predicate.AccessToken
- func AccessTokenHashContains(v string) predicate.AccessToken
- func AccessTokenHashContainsFold(v string) predicate.AccessToken
- func AccessTokenHashEQ(v string) predicate.AccessToken
- func AccessTokenHashEqualFold(v string) predicate.AccessToken
- func AccessTokenHashGT(v string) predicate.AccessToken
- func AccessTokenHashGTE(v string) predicate.AccessToken
- func AccessTokenHashHasPrefix(v string) predicate.AccessToken
- func AccessTokenHashHasSuffix(v string) predicate.AccessToken
- func AccessTokenHashIn(vs ...string) predicate.AccessToken
- func AccessTokenHashLT(v string) predicate.AccessToken
- func AccessTokenHashLTE(v string) predicate.AccessToken
- func AccessTokenHashNEQ(v string) predicate.AccessToken
- func AccessTokenHashNotIn(vs ...string) predicate.AccessToken
- func AccessTokenIn(vs ...string) predicate.AccessToken
- func AccessTokenLT(v string) predicate.AccessToken
- func AccessTokenLTE(v string) predicate.AccessToken
- func AccessTokenLength(v int) predicate.AccessToken
- func AccessTokenLengthEQ(v int) predicate.AccessToken
- func AccessTokenLengthGT(v int) predicate.AccessToken
- func AccessTokenLengthGTE(v int) predicate.AccessToken
- func AccessTokenLengthIn(vs ...int) predicate.AccessToken
- func AccessTokenLengthLT(v int) predicate.AccessToken
- func AccessTokenLengthLTE(v int) predicate.AccessToken
- func AccessTokenLengthNEQ(v int) predicate.AccessToken
- func AccessTokenLengthNotIn(vs ...int) predicate.AccessToken
- func AccessTokenMaskPrefix(v string) predicate.AccessToken
- func AccessTokenMaskPrefixContains(v string) predicate.AccessToken
- func AccessTokenMaskPrefixContainsFold(v string) predicate.AccessToken
- func AccessTokenMaskPrefixEQ(v string) predicate.AccessToken
- func AccessTokenMaskPrefixEqualFold(v string) predicate.AccessToken
- func AccessTokenMaskPrefixGT(v string) predicate.AccessToken
- func AccessTokenMaskPrefixGTE(v string) predicate.AccessToken
- func AccessTokenMaskPrefixHasPrefix(v string) predicate.AccessToken
- func AccessTokenMaskPrefixHasSuffix(v string) predicate.AccessToken
- func AccessTokenMaskPrefixIn(vs ...string) predicate.AccessToken
- func AccessTokenMaskPrefixLT(v string) predicate.AccessToken
- func AccessTokenMaskPrefixLTE(v string) predicate.AccessToken
- func AccessTokenMaskPrefixNEQ(v string) predicate.AccessToken
- func AccessTokenMaskPrefixNotIn(vs ...string) predicate.AccessToken
- func AccessTokenMaskSuffix(v string) predicate.AccessToken
- func AccessTokenMaskSuffixContains(v string) predicate.AccessToken
- func AccessTokenMaskSuffixContainsFold(v string) predicate.AccessToken
- func AccessTokenMaskSuffixEQ(v string) predicate.AccessToken
- func AccessTokenMaskSuffixEqualFold(v string) predicate.AccessToken
- func AccessTokenMaskSuffixGT(v string) predicate.AccessToken
- func AccessTokenMaskSuffixGTE(v string) predicate.AccessToken
- func AccessTokenMaskSuffixHasPrefix(v string) predicate.AccessToken
- func AccessTokenMaskSuffixHasSuffix(v string) predicate.AccessToken
- func AccessTokenMaskSuffixIn(vs ...string) predicate.AccessToken
- func AccessTokenMaskSuffixLT(v string) predicate.AccessToken
- func AccessTokenMaskSuffixLTE(v string) predicate.AccessToken
- func AccessTokenMaskSuffixNEQ(v string) predicate.AccessToken
- func AccessTokenMaskSuffixNotIn(vs ...string) predicate.AccessToken
- func AccessTokenNEQ(v string) predicate.AccessToken
- func AccessTokenNotIn(vs ...string) predicate.AccessToken
- func AccessTokenPrefix(v string) predicate.AccessToken
- func AccessTokenPrefixContains(v string) predicate.AccessToken
- func AccessTokenPrefixContainsFold(v string) predicate.AccessToken
- func AccessTokenPrefixEQ(v string) predicate.AccessToken
- func AccessTokenPrefixEqualFold(v string) predicate.AccessToken
- func AccessTokenPrefixGT(v string) predicate.AccessToken
- func AccessTokenPrefixGTE(v string) predicate.AccessToken
- func AccessTokenPrefixHasPrefix(v string) predicate.AccessToken
- func AccessTokenPrefixHasSuffix(v string) predicate.AccessToken
- func AccessTokenPrefixIn(vs ...string) predicate.AccessToken
- func AccessTokenPrefixLT(v string) predicate.AccessToken
- func AccessTokenPrefixLTE(v string) predicate.AccessToken
- func AccessTokenPrefixNEQ(v string) predicate.AccessToken
- func AccessTokenPrefixNotIn(vs ...string) predicate.AccessToken
- func And(predicates ...predicate.AccessToken) predicate.AccessToken
- func CreatedAt(v time.Time) predicate.AccessToken
- func CreatedAtEQ(v time.Time) predicate.AccessToken
- func CreatedAtGT(v time.Time) predicate.AccessToken
- func CreatedAtGTE(v time.Time) predicate.AccessToken
- func CreatedAtIn(vs ...time.Time) predicate.AccessToken
- func CreatedAtIsNil() predicate.AccessToken
- func CreatedAtLT(v time.Time) predicate.AccessToken
- func CreatedAtLTE(v time.Time) predicate.AccessToken
- func CreatedAtNEQ(v time.Time) predicate.AccessToken
- func CreatedAtNotIn(vs ...time.Time) predicate.AccessToken
- func CreatedAtNotNil() predicate.AccessToken
- func HasUser() predicate.AccessToken
- func HasUserWith(preds ...predicate.User) predicate.AccessToken
- func ID(id uuid.UUID) predicate.AccessToken
- func IDEQ(id uuid.UUID) predicate.AccessToken
- func IDGT(id uuid.UUID) predicate.AccessToken
- func IDGTE(id uuid.UUID) predicate.AccessToken
- func IDIn(ids ...uuid.UUID) predicate.AccessToken
- func IDLT(id uuid.UUID) predicate.AccessToken
- func IDLTE(id uuid.UUID) predicate.AccessToken
- func IDNEQ(id uuid.UUID) predicate.AccessToken
- func IDNotIn(ids ...uuid.UUID) predicate.AccessToken
- func Name(v string) predicate.AccessToken
- func NameContains(v string) predicate.AccessToken
- func NameContainsFold(v string) predicate.AccessToken
- func NameEQ(v string) predicate.AccessToken
- func NameEqualFold(v string) predicate.AccessToken
- func NameGT(v string) predicate.AccessToken
- func NameGTE(v string) predicate.AccessToken
- func NameHasPrefix(v string) predicate.AccessToken
- func NameHasSuffix(v string) predicate.AccessToken
- func NameIn(vs ...string) predicate.AccessToken
- func NameLT(v string) predicate.AccessToken
- func NameLTE(v string) predicate.AccessToken
- func NameNEQ(v string) predicate.AccessToken
- func NameNotIn(vs ...string) predicate.AccessToken
- func Not(p predicate.AccessToken) predicate.AccessToken
- func Or(predicates ...predicate.AccessToken) predicate.AccessToken
- func UserID(v uuid.UUID) predicate.AccessToken
- func UserIDEQ(v uuid.UUID) predicate.AccessToken
- func UserIDIn(vs ...uuid.UUID) predicate.AccessToken
- func UserIDNEQ(v uuid.UUID) predicate.AccessToken
- func UserIDNotIn(vs ...uuid.UUID) predicate.AccessToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
- func ByAccessTokenHash(opts ...sql.OrderTermOption) OrderOption
- func ByAccessTokenLength(opts ...sql.OrderTermOption) OrderOption
- func ByAccessTokenMaskPrefix(opts ...sql.OrderTermOption) OrderOption
- func ByAccessTokenMaskSuffix(opts ...sql.OrderTermOption) OrderOption
- func ByAccessTokenPrefix(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the accesstoken type in the database. Label = "access_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAccessToken holds the string denoting the access_token field in the database. FieldAccessToken = "access_token" // FieldAccessTokenHash holds the string denoting the access_token_hash field in the database. FieldAccessTokenHash = "access_token_hash" // FieldAccessTokenPrefix holds the string denoting the access_token_prefix field in the database. FieldAccessTokenPrefix = "access_token_prefix" // FieldAccessTokenLength holds the string denoting the access_token_length field in the database. FieldAccessTokenLength = "access_token_length" // FieldAccessTokenMaskPrefix holds the string denoting the access_token_mask_prefix field in the database. FieldAccessTokenMaskPrefix = "access_token_mask_prefix" // FieldAccessTokenMaskSuffix holds the string denoting the access_token_mask_suffix field in the database. FieldAccessTokenMaskSuffix = "access_token_mask_suffix" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the accesstoken in the database. Table = "access_tokens" // UserTable is the table that holds the user relation/edge. UserTable = "access_tokens" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var Columns = []string{ FieldID, FieldAccessToken, FieldAccessTokenHash, FieldAccessTokenPrefix, FieldAccessTokenLength, FieldAccessTokenMaskPrefix, FieldAccessTokenMaskSuffix, FieldName, FieldUserID, FieldCreatedAt, }
Columns holds all SQL columns for accesstoken fields.
var ( // DefaultName holds the default value on creation for the "name" field. DefaultName string )
Functions ¶
func AccessToken ¶
func AccessToken(v string) predicate.AccessToken
AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessTokenContains ¶
func AccessTokenContains(v string) predicate.AccessToken
AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContainsFold ¶
func AccessTokenContainsFold(v string) predicate.AccessToken
AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenEQ ¶
func AccessTokenEQ(v string) predicate.AccessToken
AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEqualFold ¶
func AccessTokenEqualFold(v string) predicate.AccessToken
AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenGT ¶
func AccessTokenGT(v string) predicate.AccessToken
AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGTE ¶
func AccessTokenGTE(v string) predicate.AccessToken
AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenHasPrefix ¶
func AccessTokenHasPrefix(v string) predicate.AccessToken
AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasSuffix ¶
func AccessTokenHasSuffix(v string) predicate.AccessToken
AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenHash ¶
func AccessTokenHash(v string) predicate.AccessToken
AccessTokenHash applies equality check predicate on the "access_token_hash" field. It's identical to AccessTokenHashEQ.
func AccessTokenHashContains ¶
func AccessTokenHashContains(v string) predicate.AccessToken
AccessTokenHashContains applies the Contains predicate on the "access_token_hash" field.
func AccessTokenHashContainsFold ¶
func AccessTokenHashContainsFold(v string) predicate.AccessToken
AccessTokenHashContainsFold applies the ContainsFold predicate on the "access_token_hash" field.
func AccessTokenHashEQ ¶
func AccessTokenHashEQ(v string) predicate.AccessToken
AccessTokenHashEQ applies the EQ predicate on the "access_token_hash" field.
func AccessTokenHashEqualFold ¶
func AccessTokenHashEqualFold(v string) predicate.AccessToken
AccessTokenHashEqualFold applies the EqualFold predicate on the "access_token_hash" field.
func AccessTokenHashGT ¶
func AccessTokenHashGT(v string) predicate.AccessToken
AccessTokenHashGT applies the GT predicate on the "access_token_hash" field.
func AccessTokenHashGTE ¶
func AccessTokenHashGTE(v string) predicate.AccessToken
AccessTokenHashGTE applies the GTE predicate on the "access_token_hash" field.
func AccessTokenHashHasPrefix ¶
func AccessTokenHashHasPrefix(v string) predicate.AccessToken
AccessTokenHashHasPrefix applies the HasPrefix predicate on the "access_token_hash" field.
func AccessTokenHashHasSuffix ¶
func AccessTokenHashHasSuffix(v string) predicate.AccessToken
AccessTokenHashHasSuffix applies the HasSuffix predicate on the "access_token_hash" field.
func AccessTokenHashIn ¶
func AccessTokenHashIn(vs ...string) predicate.AccessToken
AccessTokenHashIn applies the In predicate on the "access_token_hash" field.
func AccessTokenHashLT ¶
func AccessTokenHashLT(v string) predicate.AccessToken
AccessTokenHashLT applies the LT predicate on the "access_token_hash" field.
func AccessTokenHashLTE ¶
func AccessTokenHashLTE(v string) predicate.AccessToken
AccessTokenHashLTE applies the LTE predicate on the "access_token_hash" field.
func AccessTokenHashNEQ ¶
func AccessTokenHashNEQ(v string) predicate.AccessToken
AccessTokenHashNEQ applies the NEQ predicate on the "access_token_hash" field.
func AccessTokenHashNotIn ¶
func AccessTokenHashNotIn(vs ...string) predicate.AccessToken
AccessTokenHashNotIn applies the NotIn predicate on the "access_token_hash" field.
func AccessTokenIn ¶
func AccessTokenIn(vs ...string) predicate.AccessToken
AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenLT ¶
func AccessTokenLT(v string) predicate.AccessToken
AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLTE ¶
func AccessTokenLTE(v string) predicate.AccessToken
AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenLength ¶
func AccessTokenLength(v int) predicate.AccessToken
AccessTokenLength applies equality check predicate on the "access_token_length" field. It's identical to AccessTokenLengthEQ.
func AccessTokenLengthEQ ¶
func AccessTokenLengthEQ(v int) predicate.AccessToken
AccessTokenLengthEQ applies the EQ predicate on the "access_token_length" field.
func AccessTokenLengthGT ¶
func AccessTokenLengthGT(v int) predicate.AccessToken
AccessTokenLengthGT applies the GT predicate on the "access_token_length" field.
func AccessTokenLengthGTE ¶
func AccessTokenLengthGTE(v int) predicate.AccessToken
AccessTokenLengthGTE applies the GTE predicate on the "access_token_length" field.
func AccessTokenLengthIn ¶
func AccessTokenLengthIn(vs ...int) predicate.AccessToken
AccessTokenLengthIn applies the In predicate on the "access_token_length" field.
func AccessTokenLengthLT ¶
func AccessTokenLengthLT(v int) predicate.AccessToken
AccessTokenLengthLT applies the LT predicate on the "access_token_length" field.
func AccessTokenLengthLTE ¶
func AccessTokenLengthLTE(v int) predicate.AccessToken
AccessTokenLengthLTE applies the LTE predicate on the "access_token_length" field.
func AccessTokenLengthNEQ ¶
func AccessTokenLengthNEQ(v int) predicate.AccessToken
AccessTokenLengthNEQ applies the NEQ predicate on the "access_token_length" field.
func AccessTokenLengthNotIn ¶
func AccessTokenLengthNotIn(vs ...int) predicate.AccessToken
AccessTokenLengthNotIn applies the NotIn predicate on the "access_token_length" field.
func AccessTokenMaskPrefix ¶
func AccessTokenMaskPrefix(v string) predicate.AccessToken
AccessTokenMaskPrefix applies equality check predicate on the "access_token_mask_prefix" field. It's identical to AccessTokenMaskPrefixEQ.
func AccessTokenMaskPrefixContains ¶
func AccessTokenMaskPrefixContains(v string) predicate.AccessToken
AccessTokenMaskPrefixContains applies the Contains predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixContainsFold ¶
func AccessTokenMaskPrefixContainsFold(v string) predicate.AccessToken
AccessTokenMaskPrefixContainsFold applies the ContainsFold predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixEQ ¶
func AccessTokenMaskPrefixEQ(v string) predicate.AccessToken
AccessTokenMaskPrefixEQ applies the EQ predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixEqualFold ¶
func AccessTokenMaskPrefixEqualFold(v string) predicate.AccessToken
AccessTokenMaskPrefixEqualFold applies the EqualFold predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixGT ¶
func AccessTokenMaskPrefixGT(v string) predicate.AccessToken
AccessTokenMaskPrefixGT applies the GT predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixGTE ¶
func AccessTokenMaskPrefixGTE(v string) predicate.AccessToken
AccessTokenMaskPrefixGTE applies the GTE predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixHasPrefix ¶
func AccessTokenMaskPrefixHasPrefix(v string) predicate.AccessToken
AccessTokenMaskPrefixHasPrefix applies the HasPrefix predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixHasSuffix ¶
func AccessTokenMaskPrefixHasSuffix(v string) predicate.AccessToken
AccessTokenMaskPrefixHasSuffix applies the HasSuffix predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixIn ¶
func AccessTokenMaskPrefixIn(vs ...string) predicate.AccessToken
AccessTokenMaskPrefixIn applies the In predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixLT ¶
func AccessTokenMaskPrefixLT(v string) predicate.AccessToken
AccessTokenMaskPrefixLT applies the LT predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixLTE ¶
func AccessTokenMaskPrefixLTE(v string) predicate.AccessToken
AccessTokenMaskPrefixLTE applies the LTE predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixNEQ ¶
func AccessTokenMaskPrefixNEQ(v string) predicate.AccessToken
AccessTokenMaskPrefixNEQ applies the NEQ predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskPrefixNotIn ¶
func AccessTokenMaskPrefixNotIn(vs ...string) predicate.AccessToken
AccessTokenMaskPrefixNotIn applies the NotIn predicate on the "access_token_mask_prefix" field.
func AccessTokenMaskSuffix ¶
func AccessTokenMaskSuffix(v string) predicate.AccessToken
AccessTokenMaskSuffix applies equality check predicate on the "access_token_mask_suffix" field. It's identical to AccessTokenMaskSuffixEQ.
func AccessTokenMaskSuffixContains ¶
func AccessTokenMaskSuffixContains(v string) predicate.AccessToken
AccessTokenMaskSuffixContains applies the Contains predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixContainsFold ¶
func AccessTokenMaskSuffixContainsFold(v string) predicate.AccessToken
AccessTokenMaskSuffixContainsFold applies the ContainsFold predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixEQ ¶
func AccessTokenMaskSuffixEQ(v string) predicate.AccessToken
AccessTokenMaskSuffixEQ applies the EQ predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixEqualFold ¶
func AccessTokenMaskSuffixEqualFold(v string) predicate.AccessToken
AccessTokenMaskSuffixEqualFold applies the EqualFold predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixGT ¶
func AccessTokenMaskSuffixGT(v string) predicate.AccessToken
AccessTokenMaskSuffixGT applies the GT predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixGTE ¶
func AccessTokenMaskSuffixGTE(v string) predicate.AccessToken
AccessTokenMaskSuffixGTE applies the GTE predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixHasPrefix ¶
func AccessTokenMaskSuffixHasPrefix(v string) predicate.AccessToken
AccessTokenMaskSuffixHasPrefix applies the HasPrefix predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixHasSuffix ¶
func AccessTokenMaskSuffixHasSuffix(v string) predicate.AccessToken
AccessTokenMaskSuffixHasSuffix applies the HasSuffix predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixIn ¶
func AccessTokenMaskSuffixIn(vs ...string) predicate.AccessToken
AccessTokenMaskSuffixIn applies the In predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixLT ¶
func AccessTokenMaskSuffixLT(v string) predicate.AccessToken
AccessTokenMaskSuffixLT applies the LT predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixLTE ¶
func AccessTokenMaskSuffixLTE(v string) predicate.AccessToken
AccessTokenMaskSuffixLTE applies the LTE predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixNEQ ¶
func AccessTokenMaskSuffixNEQ(v string) predicate.AccessToken
AccessTokenMaskSuffixNEQ applies the NEQ predicate on the "access_token_mask_suffix" field.
func AccessTokenMaskSuffixNotIn ¶
func AccessTokenMaskSuffixNotIn(vs ...string) predicate.AccessToken
AccessTokenMaskSuffixNotIn applies the NotIn predicate on the "access_token_mask_suffix" field.
func AccessTokenNEQ ¶
func AccessTokenNEQ(v string) predicate.AccessToken
AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNotIn ¶
func AccessTokenNotIn(vs ...string) predicate.AccessToken
AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func AccessTokenPrefix ¶
func AccessTokenPrefix(v string) predicate.AccessToken
AccessTokenPrefix applies equality check predicate on the "access_token_prefix" field. It's identical to AccessTokenPrefixEQ.
func AccessTokenPrefixContains ¶
func AccessTokenPrefixContains(v string) predicate.AccessToken
AccessTokenPrefixContains applies the Contains predicate on the "access_token_prefix" field.
func AccessTokenPrefixContainsFold ¶
func AccessTokenPrefixContainsFold(v string) predicate.AccessToken
AccessTokenPrefixContainsFold applies the ContainsFold predicate on the "access_token_prefix" field.
func AccessTokenPrefixEQ ¶
func AccessTokenPrefixEQ(v string) predicate.AccessToken
AccessTokenPrefixEQ applies the EQ predicate on the "access_token_prefix" field.
func AccessTokenPrefixEqualFold ¶
func AccessTokenPrefixEqualFold(v string) predicate.AccessToken
AccessTokenPrefixEqualFold applies the EqualFold predicate on the "access_token_prefix" field.
func AccessTokenPrefixGT ¶
func AccessTokenPrefixGT(v string) predicate.AccessToken
AccessTokenPrefixGT applies the GT predicate on the "access_token_prefix" field.
func AccessTokenPrefixGTE ¶
func AccessTokenPrefixGTE(v string) predicate.AccessToken
AccessTokenPrefixGTE applies the GTE predicate on the "access_token_prefix" field.
func AccessTokenPrefixHasPrefix ¶
func AccessTokenPrefixHasPrefix(v string) predicate.AccessToken
AccessTokenPrefixHasPrefix applies the HasPrefix predicate on the "access_token_prefix" field.
func AccessTokenPrefixHasSuffix ¶
func AccessTokenPrefixHasSuffix(v string) predicate.AccessToken
AccessTokenPrefixHasSuffix applies the HasSuffix predicate on the "access_token_prefix" field.
func AccessTokenPrefixIn ¶
func AccessTokenPrefixIn(vs ...string) predicate.AccessToken
AccessTokenPrefixIn applies the In predicate on the "access_token_prefix" field.
func AccessTokenPrefixLT ¶
func AccessTokenPrefixLT(v string) predicate.AccessToken
AccessTokenPrefixLT applies the LT predicate on the "access_token_prefix" field.
func AccessTokenPrefixLTE ¶
func AccessTokenPrefixLTE(v string) predicate.AccessToken
AccessTokenPrefixLTE applies the LTE predicate on the "access_token_prefix" field.
func AccessTokenPrefixNEQ ¶
func AccessTokenPrefixNEQ(v string) predicate.AccessToken
AccessTokenPrefixNEQ applies the NEQ predicate on the "access_token_prefix" field.
func AccessTokenPrefixNotIn ¶
func AccessTokenPrefixNotIn(vs ...string) predicate.AccessToken
AccessTokenPrefixNotIn applies the NotIn predicate on the "access_token_prefix" field.
func And ¶
func And(predicates ...predicate.AccessToken) predicate.AccessToken
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.AccessToken
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.AccessToken
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.AccessToken
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.AccessToken
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.AccessToken
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.AccessToken
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.AccessToken
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.AccessToken
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.AccessToken
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.AccessToken
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.AccessToken
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func HasUser ¶
func HasUser() predicate.AccessToken
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.AccessToken
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.AccessToken
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.AccessToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.AccessToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.AccessToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.AccessToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.AccessToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.AccessToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.AccessToken
IDNotIn applies the NotIn predicate on the ID field.
func Name ¶
func Name(v string) predicate.AccessToken
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.AccessToken
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.AccessToken
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.AccessToken
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.AccessToken
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.AccessToken
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.AccessToken
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.AccessToken
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.AccessToken
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.AccessToken
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.AccessToken
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.AccessToken
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.AccessToken
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.AccessToken
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.AccessToken) predicate.AccessToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AccessToken) predicate.AccessToken
Or groups predicates with the OR operator between them.
func UserID ¶
func UserID(v uuid.UUID) predicate.AccessToken
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.AccessToken
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.AccessToken
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.AccessToken
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.AccessToken
UserIDNotIn applies the NotIn predicate on the "user_id" 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 AccessToken queries.
func ByAccessToken ¶
func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
ByAccessToken orders the results by the access_token field.
func ByAccessTokenHash ¶
func ByAccessTokenHash(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenHash orders the results by the access_token_hash field.
func ByAccessTokenLength ¶
func ByAccessTokenLength(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenLength orders the results by the access_token_length field.
func ByAccessTokenMaskPrefix ¶
func ByAccessTokenMaskPrefix(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenMaskPrefix orders the results by the access_token_mask_prefix field.
func ByAccessTokenMaskSuffix ¶
func ByAccessTokenMaskSuffix(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenMaskSuffix orders the results by the access_token_mask_suffix field.
func ByAccessTokenPrefix ¶
func ByAccessTokenPrefix(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenPrefix orders the results by the access_token_prefix field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.