Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OhAuthTooToken) predicate.OhAuthTooToken
- func ClaimsEmail(v string) predicate.OhAuthTooToken
- func ClaimsEmailContains(v string) predicate.OhAuthTooToken
- func ClaimsEmailContainsFold(v string) predicate.OhAuthTooToken
- func ClaimsEmailEQ(v string) predicate.OhAuthTooToken
- func ClaimsEmailEqualFold(v string) predicate.OhAuthTooToken
- func ClaimsEmailGT(v string) predicate.OhAuthTooToken
- func ClaimsEmailGTE(v string) predicate.OhAuthTooToken
- func ClaimsEmailHasPrefix(v string) predicate.OhAuthTooToken
- func ClaimsEmailHasSuffix(v string) predicate.OhAuthTooToken
- func ClaimsEmailIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsEmailLT(v string) predicate.OhAuthTooToken
- func ClaimsEmailLTE(v string) predicate.OhAuthTooToken
- func ClaimsEmailNEQ(v string) predicate.OhAuthTooToken
- func ClaimsEmailNotIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsEmailVerified(v bool) predicate.OhAuthTooToken
- func ClaimsEmailVerifiedEQ(v bool) predicate.OhAuthTooToken
- func ClaimsEmailVerifiedNEQ(v bool) predicate.OhAuthTooToken
- func ClaimsGroupsIsNil() predicate.OhAuthTooToken
- func ClaimsGroupsNotNil() predicate.OhAuthTooToken
- func ClaimsPreferredUsername(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameContains(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameContainsFold(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameEQ(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameEqualFold(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameGT(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameGTE(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameHasPrefix(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameHasSuffix(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameLT(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameLTE(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameNEQ(v string) predicate.OhAuthTooToken
- func ClaimsPreferredUsernameNotIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsUserID(v string) predicate.OhAuthTooToken
- func ClaimsUserIDContains(v string) predicate.OhAuthTooToken
- func ClaimsUserIDContainsFold(v string) predicate.OhAuthTooToken
- func ClaimsUserIDEQ(v string) predicate.OhAuthTooToken
- func ClaimsUserIDEqualFold(v string) predicate.OhAuthTooToken
- func ClaimsUserIDGT(v string) predicate.OhAuthTooToken
- func ClaimsUserIDGTE(v string) predicate.OhAuthTooToken
- func ClaimsUserIDHasPrefix(v string) predicate.OhAuthTooToken
- func ClaimsUserIDHasSuffix(v string) predicate.OhAuthTooToken
- func ClaimsUserIDIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsUserIDLT(v string) predicate.OhAuthTooToken
- func ClaimsUserIDLTE(v string) predicate.OhAuthTooToken
- func ClaimsUserIDNEQ(v string) predicate.OhAuthTooToken
- func ClaimsUserIDNotIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsUsername(v string) predicate.OhAuthTooToken
- func ClaimsUsernameContains(v string) predicate.OhAuthTooToken
- func ClaimsUsernameContainsFold(v string) predicate.OhAuthTooToken
- func ClaimsUsernameEQ(v string) predicate.OhAuthTooToken
- func ClaimsUsernameEqualFold(v string) predicate.OhAuthTooToken
- func ClaimsUsernameGT(v string) predicate.OhAuthTooToken
- func ClaimsUsernameGTE(v string) predicate.OhAuthTooToken
- func ClaimsUsernameHasPrefix(v string) predicate.OhAuthTooToken
- func ClaimsUsernameHasSuffix(v string) predicate.OhAuthTooToken
- func ClaimsUsernameIn(vs ...string) predicate.OhAuthTooToken
- func ClaimsUsernameLT(v string) predicate.OhAuthTooToken
- func ClaimsUsernameLTE(v string) predicate.OhAuthTooToken
- func ClaimsUsernameNEQ(v string) predicate.OhAuthTooToken
- func ClaimsUsernameNotIn(vs ...string) predicate.OhAuthTooToken
- func ClientID(v string) predicate.OhAuthTooToken
- func ClientIDContains(v string) predicate.OhAuthTooToken
- func ClientIDContainsFold(v string) predicate.OhAuthTooToken
- func ClientIDEQ(v string) predicate.OhAuthTooToken
- func ClientIDEqualFold(v string) predicate.OhAuthTooToken
- func ClientIDGT(v string) predicate.OhAuthTooToken
- func ClientIDGTE(v string) predicate.OhAuthTooToken
- func ClientIDHasPrefix(v string) predicate.OhAuthTooToken
- func ClientIDHasSuffix(v string) predicate.OhAuthTooToken
- func ClientIDIn(vs ...string) predicate.OhAuthTooToken
- func ClientIDLT(v string) predicate.OhAuthTooToken
- func ClientIDLTE(v string) predicate.OhAuthTooToken
- func ClientIDNEQ(v string) predicate.OhAuthTooToken
- func ClientIDNotIn(vs ...string) predicate.OhAuthTooToken
- func ConnectorDataIsNil() predicate.OhAuthTooToken
- func ConnectorDataNotNil() predicate.OhAuthTooToken
- func ConnectorID(v string) predicate.OhAuthTooToken
- func ConnectorIDContains(v string) predicate.OhAuthTooToken
- func ConnectorIDContainsFold(v string) predicate.OhAuthTooToken
- func ConnectorIDEQ(v string) predicate.OhAuthTooToken
- func ConnectorIDEqualFold(v string) predicate.OhAuthTooToken
- func ConnectorIDGT(v string) predicate.OhAuthTooToken
- func ConnectorIDGTE(v string) predicate.OhAuthTooToken
- func ConnectorIDHasPrefix(v string) predicate.OhAuthTooToken
- func ConnectorIDHasSuffix(v string) predicate.OhAuthTooToken
- func ConnectorIDIn(vs ...string) predicate.OhAuthTooToken
- func ConnectorIDLT(v string) predicate.OhAuthTooToken
- func ConnectorIDLTE(v string) predicate.OhAuthTooToken
- func ConnectorIDNEQ(v string) predicate.OhAuthTooToken
- func ConnectorIDNotIn(vs ...string) predicate.OhAuthTooToken
- func HasEvents() predicate.OhAuthTooToken
- func HasEventsWith(preds ...predicate.Event) predicate.OhAuthTooToken
- func HasIntegration() predicate.OhAuthTooToken
- func HasIntegrationWith(preds ...predicate.Integration) predicate.OhAuthTooToken
- func ID(id string) predicate.OhAuthTooToken
- func IDContainsFold(id string) predicate.OhAuthTooToken
- func IDEQ(id string) predicate.OhAuthTooToken
- func IDEqualFold(id string) predicate.OhAuthTooToken
- func IDGT(id string) predicate.OhAuthTooToken
- func IDGTE(id string) predicate.OhAuthTooToken
- func IDIn(ids ...string) predicate.OhAuthTooToken
- func IDLT(id string) predicate.OhAuthTooToken
- func IDLTE(id string) predicate.OhAuthTooToken
- func IDNEQ(id string) predicate.OhAuthTooToken
- func IDNotIn(ids ...string) predicate.OhAuthTooToken
- func LastUsed(v time.Time) predicate.OhAuthTooToken
- func LastUsedEQ(v time.Time) predicate.OhAuthTooToken
- func LastUsedGT(v time.Time) predicate.OhAuthTooToken
- func LastUsedGTE(v time.Time) predicate.OhAuthTooToken
- func LastUsedIn(vs ...time.Time) predicate.OhAuthTooToken
- func LastUsedLT(v time.Time) predicate.OhAuthTooToken
- func LastUsedLTE(v time.Time) predicate.OhAuthTooToken
- func LastUsedNEQ(v time.Time) predicate.OhAuthTooToken
- func LastUsedNotIn(vs ...time.Time) predicate.OhAuthTooToken
- func MappingID(v string) predicate.OhAuthTooToken
- func MappingIDContains(v string) predicate.OhAuthTooToken
- func MappingIDContainsFold(v string) predicate.OhAuthTooToken
- func MappingIDEQ(v string) predicate.OhAuthTooToken
- func MappingIDEqualFold(v string) predicate.OhAuthTooToken
- func MappingIDGT(v string) predicate.OhAuthTooToken
- func MappingIDGTE(v string) predicate.OhAuthTooToken
- func MappingIDHasPrefix(v string) predicate.OhAuthTooToken
- func MappingIDHasSuffix(v string) predicate.OhAuthTooToken
- func MappingIDIn(vs ...string) predicate.OhAuthTooToken
- func MappingIDLT(v string) predicate.OhAuthTooToken
- func MappingIDLTE(v string) predicate.OhAuthTooToken
- func MappingIDNEQ(v string) predicate.OhAuthTooToken
- func MappingIDNotIn(vs ...string) predicate.OhAuthTooToken
- func Nonce(v string) predicate.OhAuthTooToken
- func NonceContains(v string) predicate.OhAuthTooToken
- func NonceContainsFold(v string) predicate.OhAuthTooToken
- func NonceEQ(v string) predicate.OhAuthTooToken
- func NonceEqualFold(v string) predicate.OhAuthTooToken
- func NonceGT(v string) predicate.OhAuthTooToken
- func NonceGTE(v string) predicate.OhAuthTooToken
- func NonceHasPrefix(v string) predicate.OhAuthTooToken
- func NonceHasSuffix(v string) predicate.OhAuthTooToken
- func NonceIn(vs ...string) predicate.OhAuthTooToken
- func NonceLT(v string) predicate.OhAuthTooToken
- func NonceLTE(v string) predicate.OhAuthTooToken
- func NonceNEQ(v string) predicate.OhAuthTooToken
- func NonceNotIn(vs ...string) predicate.OhAuthTooToken
- func Not(p predicate.OhAuthTooToken) predicate.OhAuthTooToken
- func Or(predicates ...predicate.OhAuthTooToken) predicate.OhAuthTooToken
- func ScopesIsNil() predicate.OhAuthTooToken
- func ScopesNotNil() predicate.OhAuthTooToken
- func TagsIsNil() predicate.OhAuthTooToken
- func TagsNotNil() predicate.OhAuthTooToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByClaimsEmail(opts ...sql.OrderTermOption) OrderOption
- func ByClaimsEmailVerified(opts ...sql.OrderTermOption) OrderOption
- func ByClaimsPreferredUsername(opts ...sql.OrderTermOption) OrderOption
- func ByClaimsUserID(opts ...sql.OrderTermOption) OrderOption
- func ByClaimsUsername(opts ...sql.OrderTermOption) OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByConnectorID(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIntegration(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIntegrationCount(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsed(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByNonce(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the ohauthtootoken type in the database. Label = "oh_auth_too_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldClientID holds the string denoting the client_id field in the database. FieldClientID = "client_id" // FieldScopes holds the string denoting the scopes field in the database. FieldScopes = "scopes" // FieldNonce holds the string denoting the nonce field in the database. FieldNonce = "nonce" // FieldClaimsUserID holds the string denoting the claims_user_id field in the database. FieldClaimsUserID = "claims_user_id" // FieldClaimsUsername holds the string denoting the claims_username field in the database. FieldClaimsUsername = "claims_username" // FieldClaimsEmail holds the string denoting the claims_email field in the database. FieldClaimsEmail = "claims_email" // FieldClaimsEmailVerified holds the string denoting the claims_email_verified field in the database. FieldClaimsEmailVerified = "claims_email_verified" // FieldClaimsGroups holds the string denoting the claims_groups field in the database. FieldClaimsGroups = "claims_groups" // FieldClaimsPreferredUsername holds the string denoting the claims_preferred_username field in the database. FieldClaimsPreferredUsername = "claims_preferred_username" // FieldConnectorID holds the string denoting the connector_id field in the database. FieldConnectorID = "connector_id" // FieldConnectorData holds the string denoting the connector_data field in the database. FieldConnectorData = "connector_data" // FieldLastUsed holds the string denoting the last_used field in the database. FieldLastUsed = "last_used" // EdgeIntegration holds the string denoting the integration edge name in mutations. EdgeIntegration = "integration" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the ohauthtootoken in the database. Table = "oh_auth_too_tokens" // IntegrationTable is the table that holds the integration relation/edge. The primary key declared below. IntegrationTable = "integration_oauth2tokens" // IntegrationInverseTable is the table name for the Integration entity. // It exists in this package in order to avoid circular dependency with the "integration" package. IntegrationInverseTable = "integrations" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "oh_auth_too_token_events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" )
Variables ¶
var ( // IntegrationPrimaryKey and IntegrationColumn2 are the table columns denoting the // primary key for the integration relation (M2M). IntegrationPrimaryKey = []string{"integration_id", "oh_auth_too_token_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"oh_auth_too_token_id", "event_id"} )
var ( // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save. ClientIDValidator func(string) error // NonceValidator is a validator for the "nonce" field. It is called by the builders before save. NonceValidator func(string) error // ClaimsUserIDValidator is a validator for the "claims_user_id" field. It is called by the builders before save. ClaimsUserIDValidator func(string) error // ClaimsUsernameValidator is a validator for the "claims_username" field. It is called by the builders before save. ClaimsUsernameValidator func(string) error // ClaimsEmailValidator is a validator for the "claims_email" field. It is called by the builders before save. ClaimsEmailValidator func(string) error // ConnectorIDValidator is a validator for the "connector_id" field. It is called by the builders before save. ConnectorIDValidator func(string) error // DefaultLastUsed holds the default value on creation for the "last_used" field. DefaultLastUsed func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldMappingID, FieldTags, FieldClientID, FieldScopes, FieldNonce, FieldClaimsUserID, FieldClaimsUsername, FieldClaimsEmail, FieldClaimsEmailVerified, FieldClaimsGroups, FieldClaimsPreferredUsername, FieldConnectorID, FieldConnectorData, FieldLastUsed, }
Columns holds all SQL columns for ohauthtootoken fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OhAuthTooToken) predicate.OhAuthTooToken
And groups predicates with the AND operator between them.
func ClaimsEmail ¶
func ClaimsEmail(v string) predicate.OhAuthTooToken
ClaimsEmail applies equality check predicate on the "claims_email" field. It's identical to ClaimsEmailEQ.
func ClaimsEmailContains ¶
func ClaimsEmailContains(v string) predicate.OhAuthTooToken
ClaimsEmailContains applies the Contains predicate on the "claims_email" field.
func ClaimsEmailContainsFold ¶
func ClaimsEmailContainsFold(v string) predicate.OhAuthTooToken
ClaimsEmailContainsFold applies the ContainsFold predicate on the "claims_email" field.
func ClaimsEmailEQ ¶
func ClaimsEmailEQ(v string) predicate.OhAuthTooToken
ClaimsEmailEQ applies the EQ predicate on the "claims_email" field.
func ClaimsEmailEqualFold ¶
func ClaimsEmailEqualFold(v string) predicate.OhAuthTooToken
ClaimsEmailEqualFold applies the EqualFold predicate on the "claims_email" field.
func ClaimsEmailGT ¶
func ClaimsEmailGT(v string) predicate.OhAuthTooToken
ClaimsEmailGT applies the GT predicate on the "claims_email" field.
func ClaimsEmailGTE ¶
func ClaimsEmailGTE(v string) predicate.OhAuthTooToken
ClaimsEmailGTE applies the GTE predicate on the "claims_email" field.
func ClaimsEmailHasPrefix ¶
func ClaimsEmailHasPrefix(v string) predicate.OhAuthTooToken
ClaimsEmailHasPrefix applies the HasPrefix predicate on the "claims_email" field.
func ClaimsEmailHasSuffix ¶
func ClaimsEmailHasSuffix(v string) predicate.OhAuthTooToken
ClaimsEmailHasSuffix applies the HasSuffix predicate on the "claims_email" field.
func ClaimsEmailIn ¶
func ClaimsEmailIn(vs ...string) predicate.OhAuthTooToken
ClaimsEmailIn applies the In predicate on the "claims_email" field.
func ClaimsEmailLT ¶
func ClaimsEmailLT(v string) predicate.OhAuthTooToken
ClaimsEmailLT applies the LT predicate on the "claims_email" field.
func ClaimsEmailLTE ¶
func ClaimsEmailLTE(v string) predicate.OhAuthTooToken
ClaimsEmailLTE applies the LTE predicate on the "claims_email" field.
func ClaimsEmailNEQ ¶
func ClaimsEmailNEQ(v string) predicate.OhAuthTooToken
ClaimsEmailNEQ applies the NEQ predicate on the "claims_email" field.
func ClaimsEmailNotIn ¶
func ClaimsEmailNotIn(vs ...string) predicate.OhAuthTooToken
ClaimsEmailNotIn applies the NotIn predicate on the "claims_email" field.
func ClaimsEmailVerified ¶
func ClaimsEmailVerified(v bool) predicate.OhAuthTooToken
ClaimsEmailVerified applies equality check predicate on the "claims_email_verified" field. It's identical to ClaimsEmailVerifiedEQ.
func ClaimsEmailVerifiedEQ ¶
func ClaimsEmailVerifiedEQ(v bool) predicate.OhAuthTooToken
ClaimsEmailVerifiedEQ applies the EQ predicate on the "claims_email_verified" field.
func ClaimsEmailVerifiedNEQ ¶
func ClaimsEmailVerifiedNEQ(v bool) predicate.OhAuthTooToken
ClaimsEmailVerifiedNEQ applies the NEQ predicate on the "claims_email_verified" field.
func ClaimsGroupsIsNil ¶
func ClaimsGroupsIsNil() predicate.OhAuthTooToken
ClaimsGroupsIsNil applies the IsNil predicate on the "claims_groups" field.
func ClaimsGroupsNotNil ¶
func ClaimsGroupsNotNil() predicate.OhAuthTooToken
ClaimsGroupsNotNil applies the NotNil predicate on the "claims_groups" field.
func ClaimsPreferredUsername ¶
func ClaimsPreferredUsername(v string) predicate.OhAuthTooToken
ClaimsPreferredUsername applies equality check predicate on the "claims_preferred_username" field. It's identical to ClaimsPreferredUsernameEQ.
func ClaimsPreferredUsernameContains ¶
func ClaimsPreferredUsernameContains(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameContains applies the Contains predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameContainsFold ¶
func ClaimsPreferredUsernameContainsFold(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameContainsFold applies the ContainsFold predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameEQ ¶
func ClaimsPreferredUsernameEQ(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameEQ applies the EQ predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameEqualFold ¶
func ClaimsPreferredUsernameEqualFold(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameEqualFold applies the EqualFold predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameGT ¶
func ClaimsPreferredUsernameGT(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameGT applies the GT predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameGTE ¶
func ClaimsPreferredUsernameGTE(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameGTE applies the GTE predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameHasPrefix ¶
func ClaimsPreferredUsernameHasPrefix(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameHasPrefix applies the HasPrefix predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameHasSuffix ¶
func ClaimsPreferredUsernameHasSuffix(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameHasSuffix applies the HasSuffix predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameIn ¶
func ClaimsPreferredUsernameIn(vs ...string) predicate.OhAuthTooToken
ClaimsPreferredUsernameIn applies the In predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameLT ¶
func ClaimsPreferredUsernameLT(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameLT applies the LT predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameLTE ¶
func ClaimsPreferredUsernameLTE(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameLTE applies the LTE predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameNEQ ¶
func ClaimsPreferredUsernameNEQ(v string) predicate.OhAuthTooToken
ClaimsPreferredUsernameNEQ applies the NEQ predicate on the "claims_preferred_username" field.
func ClaimsPreferredUsernameNotIn ¶
func ClaimsPreferredUsernameNotIn(vs ...string) predicate.OhAuthTooToken
ClaimsPreferredUsernameNotIn applies the NotIn predicate on the "claims_preferred_username" field.
func ClaimsUserID ¶
func ClaimsUserID(v string) predicate.OhAuthTooToken
ClaimsUserID applies equality check predicate on the "claims_user_id" field. It's identical to ClaimsUserIDEQ.
func ClaimsUserIDContains ¶
func ClaimsUserIDContains(v string) predicate.OhAuthTooToken
ClaimsUserIDContains applies the Contains predicate on the "claims_user_id" field.
func ClaimsUserIDContainsFold ¶
func ClaimsUserIDContainsFold(v string) predicate.OhAuthTooToken
ClaimsUserIDContainsFold applies the ContainsFold predicate on the "claims_user_id" field.
func ClaimsUserIDEQ ¶
func ClaimsUserIDEQ(v string) predicate.OhAuthTooToken
ClaimsUserIDEQ applies the EQ predicate on the "claims_user_id" field.
func ClaimsUserIDEqualFold ¶
func ClaimsUserIDEqualFold(v string) predicate.OhAuthTooToken
ClaimsUserIDEqualFold applies the EqualFold predicate on the "claims_user_id" field.
func ClaimsUserIDGT ¶
func ClaimsUserIDGT(v string) predicate.OhAuthTooToken
ClaimsUserIDGT applies the GT predicate on the "claims_user_id" field.
func ClaimsUserIDGTE ¶
func ClaimsUserIDGTE(v string) predicate.OhAuthTooToken
ClaimsUserIDGTE applies the GTE predicate on the "claims_user_id" field.
func ClaimsUserIDHasPrefix ¶
func ClaimsUserIDHasPrefix(v string) predicate.OhAuthTooToken
ClaimsUserIDHasPrefix applies the HasPrefix predicate on the "claims_user_id" field.
func ClaimsUserIDHasSuffix ¶
func ClaimsUserIDHasSuffix(v string) predicate.OhAuthTooToken
ClaimsUserIDHasSuffix applies the HasSuffix predicate on the "claims_user_id" field.
func ClaimsUserIDIn ¶
func ClaimsUserIDIn(vs ...string) predicate.OhAuthTooToken
ClaimsUserIDIn applies the In predicate on the "claims_user_id" field.
func ClaimsUserIDLT ¶
func ClaimsUserIDLT(v string) predicate.OhAuthTooToken
ClaimsUserIDLT applies the LT predicate on the "claims_user_id" field.
func ClaimsUserIDLTE ¶
func ClaimsUserIDLTE(v string) predicate.OhAuthTooToken
ClaimsUserIDLTE applies the LTE predicate on the "claims_user_id" field.
func ClaimsUserIDNEQ ¶
func ClaimsUserIDNEQ(v string) predicate.OhAuthTooToken
ClaimsUserIDNEQ applies the NEQ predicate on the "claims_user_id" field.
func ClaimsUserIDNotIn ¶
func ClaimsUserIDNotIn(vs ...string) predicate.OhAuthTooToken
ClaimsUserIDNotIn applies the NotIn predicate on the "claims_user_id" field.
func ClaimsUsername ¶
func ClaimsUsername(v string) predicate.OhAuthTooToken
ClaimsUsername applies equality check predicate on the "claims_username" field. It's identical to ClaimsUsernameEQ.
func ClaimsUsernameContains ¶
func ClaimsUsernameContains(v string) predicate.OhAuthTooToken
ClaimsUsernameContains applies the Contains predicate on the "claims_username" field.
func ClaimsUsernameContainsFold ¶
func ClaimsUsernameContainsFold(v string) predicate.OhAuthTooToken
ClaimsUsernameContainsFold applies the ContainsFold predicate on the "claims_username" field.
func ClaimsUsernameEQ ¶
func ClaimsUsernameEQ(v string) predicate.OhAuthTooToken
ClaimsUsernameEQ applies the EQ predicate on the "claims_username" field.
func ClaimsUsernameEqualFold ¶
func ClaimsUsernameEqualFold(v string) predicate.OhAuthTooToken
ClaimsUsernameEqualFold applies the EqualFold predicate on the "claims_username" field.
func ClaimsUsernameGT ¶
func ClaimsUsernameGT(v string) predicate.OhAuthTooToken
ClaimsUsernameGT applies the GT predicate on the "claims_username" field.
func ClaimsUsernameGTE ¶
func ClaimsUsernameGTE(v string) predicate.OhAuthTooToken
ClaimsUsernameGTE applies the GTE predicate on the "claims_username" field.
func ClaimsUsernameHasPrefix ¶
func ClaimsUsernameHasPrefix(v string) predicate.OhAuthTooToken
ClaimsUsernameHasPrefix applies the HasPrefix predicate on the "claims_username" field.
func ClaimsUsernameHasSuffix ¶
func ClaimsUsernameHasSuffix(v string) predicate.OhAuthTooToken
ClaimsUsernameHasSuffix applies the HasSuffix predicate on the "claims_username" field.
func ClaimsUsernameIn ¶
func ClaimsUsernameIn(vs ...string) predicate.OhAuthTooToken
ClaimsUsernameIn applies the In predicate on the "claims_username" field.
func ClaimsUsernameLT ¶
func ClaimsUsernameLT(v string) predicate.OhAuthTooToken
ClaimsUsernameLT applies the LT predicate on the "claims_username" field.
func ClaimsUsernameLTE ¶
func ClaimsUsernameLTE(v string) predicate.OhAuthTooToken
ClaimsUsernameLTE applies the LTE predicate on the "claims_username" field.
func ClaimsUsernameNEQ ¶
func ClaimsUsernameNEQ(v string) predicate.OhAuthTooToken
ClaimsUsernameNEQ applies the NEQ predicate on the "claims_username" field.
func ClaimsUsernameNotIn ¶
func ClaimsUsernameNotIn(vs ...string) predicate.OhAuthTooToken
ClaimsUsernameNotIn applies the NotIn predicate on the "claims_username" field.
func ClientID ¶
func ClientID(v string) predicate.OhAuthTooToken
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
func ClientIDContains(v string) predicate.OhAuthTooToken
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
func ClientIDContainsFold(v string) predicate.OhAuthTooToken
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
func ClientIDEQ(v string) predicate.OhAuthTooToken
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
func ClientIDEqualFold(v string) predicate.OhAuthTooToken
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
func ClientIDGT(v string) predicate.OhAuthTooToken
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
func ClientIDGTE(v string) predicate.OhAuthTooToken
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
func ClientIDHasPrefix(v string) predicate.OhAuthTooToken
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
func ClientIDHasSuffix(v string) predicate.OhAuthTooToken
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
func ClientIDIn(vs ...string) predicate.OhAuthTooToken
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
func ClientIDLT(v string) predicate.OhAuthTooToken
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
func ClientIDLTE(v string) predicate.OhAuthTooToken
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
func ClientIDNEQ(v string) predicate.OhAuthTooToken
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
func ClientIDNotIn(vs ...string) predicate.OhAuthTooToken
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
func ConnectorDataIsNil ¶
func ConnectorDataIsNil() predicate.OhAuthTooToken
ConnectorDataIsNil applies the IsNil predicate on the "connector_data" field.
func ConnectorDataNotNil ¶
func ConnectorDataNotNil() predicate.OhAuthTooToken
ConnectorDataNotNil applies the NotNil predicate on the "connector_data" field.
func ConnectorID ¶
func ConnectorID(v string) predicate.OhAuthTooToken
ConnectorID applies equality check predicate on the "connector_id" field. It's identical to ConnectorIDEQ.
func ConnectorIDContains ¶
func ConnectorIDContains(v string) predicate.OhAuthTooToken
ConnectorIDContains applies the Contains predicate on the "connector_id" field.
func ConnectorIDContainsFold ¶
func ConnectorIDContainsFold(v string) predicate.OhAuthTooToken
ConnectorIDContainsFold applies the ContainsFold predicate on the "connector_id" field.
func ConnectorIDEQ ¶
func ConnectorIDEQ(v string) predicate.OhAuthTooToken
ConnectorIDEQ applies the EQ predicate on the "connector_id" field.
func ConnectorIDEqualFold ¶
func ConnectorIDEqualFold(v string) predicate.OhAuthTooToken
ConnectorIDEqualFold applies the EqualFold predicate on the "connector_id" field.
func ConnectorIDGT ¶
func ConnectorIDGT(v string) predicate.OhAuthTooToken
ConnectorIDGT applies the GT predicate on the "connector_id" field.
func ConnectorIDGTE ¶
func ConnectorIDGTE(v string) predicate.OhAuthTooToken
ConnectorIDGTE applies the GTE predicate on the "connector_id" field.
func ConnectorIDHasPrefix ¶
func ConnectorIDHasPrefix(v string) predicate.OhAuthTooToken
ConnectorIDHasPrefix applies the HasPrefix predicate on the "connector_id" field.
func ConnectorIDHasSuffix ¶
func ConnectorIDHasSuffix(v string) predicate.OhAuthTooToken
ConnectorIDHasSuffix applies the HasSuffix predicate on the "connector_id" field.
func ConnectorIDIn ¶
func ConnectorIDIn(vs ...string) predicate.OhAuthTooToken
ConnectorIDIn applies the In predicate on the "connector_id" field.
func ConnectorIDLT ¶
func ConnectorIDLT(v string) predicate.OhAuthTooToken
ConnectorIDLT applies the LT predicate on the "connector_id" field.
func ConnectorIDLTE ¶
func ConnectorIDLTE(v string) predicate.OhAuthTooToken
ConnectorIDLTE applies the LTE predicate on the "connector_id" field.
func ConnectorIDNEQ ¶
func ConnectorIDNEQ(v string) predicate.OhAuthTooToken
ConnectorIDNEQ applies the NEQ predicate on the "connector_id" field.
func ConnectorIDNotIn ¶
func ConnectorIDNotIn(vs ...string) predicate.OhAuthTooToken
ConnectorIDNotIn applies the NotIn predicate on the "connector_id" field.
func HasEvents ¶ added in v0.5.0
func HasEvents() predicate.OhAuthTooToken
HasEvents applies the HasEdge predicate on the "events" edge.
func HasEventsWith ¶ added in v0.5.0
func HasEventsWith(preds ...predicate.Event) predicate.OhAuthTooToken
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasIntegration ¶ added in v0.5.0
func HasIntegration() predicate.OhAuthTooToken
HasIntegration applies the HasEdge predicate on the "integration" edge.
func HasIntegrationWith ¶ added in v0.5.0
func HasIntegrationWith(preds ...predicate.Integration) predicate.OhAuthTooToken
HasIntegrationWith applies the HasEdge predicate on the "integration" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.OhAuthTooToken
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.OhAuthTooToken
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.OhAuthTooToken
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.OhAuthTooToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.OhAuthTooToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.OhAuthTooToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.OhAuthTooToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.OhAuthTooToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.OhAuthTooToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.OhAuthTooToken
IDNotIn applies the NotIn predicate on the ID field.
func LastUsed ¶
func LastUsed(v time.Time) predicate.OhAuthTooToken
LastUsed applies equality check predicate on the "last_used" field. It's identical to LastUsedEQ.
func LastUsedEQ ¶
func LastUsedEQ(v time.Time) predicate.OhAuthTooToken
LastUsedEQ applies the EQ predicate on the "last_used" field.
func LastUsedGT ¶
func LastUsedGT(v time.Time) predicate.OhAuthTooToken
LastUsedGT applies the GT predicate on the "last_used" field.
func LastUsedGTE ¶
func LastUsedGTE(v time.Time) predicate.OhAuthTooToken
LastUsedGTE applies the GTE predicate on the "last_used" field.
func LastUsedIn ¶
func LastUsedIn(vs ...time.Time) predicate.OhAuthTooToken
LastUsedIn applies the In predicate on the "last_used" field.
func LastUsedLT ¶
func LastUsedLT(v time.Time) predicate.OhAuthTooToken
LastUsedLT applies the LT predicate on the "last_used" field.
func LastUsedLTE ¶
func LastUsedLTE(v time.Time) predicate.OhAuthTooToken
LastUsedLTE applies the LTE predicate on the "last_used" field.
func LastUsedNEQ ¶
func LastUsedNEQ(v time.Time) predicate.OhAuthTooToken
LastUsedNEQ applies the NEQ predicate on the "last_used" field.
func LastUsedNotIn ¶
func LastUsedNotIn(vs ...time.Time) predicate.OhAuthTooToken
LastUsedNotIn applies the NotIn predicate on the "last_used" field.
func MappingID ¶ added in v0.5.0
func MappingID(v string) predicate.OhAuthTooToken
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶ added in v0.5.0
func MappingIDContains(v string) predicate.OhAuthTooToken
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶ added in v0.5.0
func MappingIDContainsFold(v string) predicate.OhAuthTooToken
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶ added in v0.5.0
func MappingIDEQ(v string) predicate.OhAuthTooToken
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶ added in v0.5.0
func MappingIDEqualFold(v string) predicate.OhAuthTooToken
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶ added in v0.5.0
func MappingIDGT(v string) predicate.OhAuthTooToken
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶ added in v0.5.0
func MappingIDGTE(v string) predicate.OhAuthTooToken
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶ added in v0.5.0
func MappingIDHasPrefix(v string) predicate.OhAuthTooToken
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶ added in v0.5.0
func MappingIDHasSuffix(v string) predicate.OhAuthTooToken
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶ added in v0.5.0
func MappingIDIn(vs ...string) predicate.OhAuthTooToken
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶ added in v0.5.0
func MappingIDLT(v string) predicate.OhAuthTooToken
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶ added in v0.5.0
func MappingIDLTE(v string) predicate.OhAuthTooToken
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶ added in v0.5.0
func MappingIDNEQ(v string) predicate.OhAuthTooToken
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶ added in v0.5.0
func MappingIDNotIn(vs ...string) predicate.OhAuthTooToken
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Nonce ¶
func Nonce(v string) predicate.OhAuthTooToken
Nonce applies equality check predicate on the "nonce" field. It's identical to NonceEQ.
func NonceContains ¶
func NonceContains(v string) predicate.OhAuthTooToken
NonceContains applies the Contains predicate on the "nonce" field.
func NonceContainsFold ¶
func NonceContainsFold(v string) predicate.OhAuthTooToken
NonceContainsFold applies the ContainsFold predicate on the "nonce" field.
func NonceEQ ¶
func NonceEQ(v string) predicate.OhAuthTooToken
NonceEQ applies the EQ predicate on the "nonce" field.
func NonceEqualFold ¶
func NonceEqualFold(v string) predicate.OhAuthTooToken
NonceEqualFold applies the EqualFold predicate on the "nonce" field.
func NonceGT ¶
func NonceGT(v string) predicate.OhAuthTooToken
NonceGT applies the GT predicate on the "nonce" field.
func NonceGTE ¶
func NonceGTE(v string) predicate.OhAuthTooToken
NonceGTE applies the GTE predicate on the "nonce" field.
func NonceHasPrefix ¶
func NonceHasPrefix(v string) predicate.OhAuthTooToken
NonceHasPrefix applies the HasPrefix predicate on the "nonce" field.
func NonceHasSuffix ¶
func NonceHasSuffix(v string) predicate.OhAuthTooToken
NonceHasSuffix applies the HasSuffix predicate on the "nonce" field.
func NonceIn ¶
func NonceIn(vs ...string) predicate.OhAuthTooToken
NonceIn applies the In predicate on the "nonce" field.
func NonceLT ¶
func NonceLT(v string) predicate.OhAuthTooToken
NonceLT applies the LT predicate on the "nonce" field.
func NonceLTE ¶
func NonceLTE(v string) predicate.OhAuthTooToken
NonceLTE applies the LTE predicate on the "nonce" field.
func NonceNEQ ¶
func NonceNEQ(v string) predicate.OhAuthTooToken
NonceNEQ applies the NEQ predicate on the "nonce" field.
func NonceNotIn ¶
func NonceNotIn(vs ...string) predicate.OhAuthTooToken
NonceNotIn applies the NotIn predicate on the "nonce" field.
func Not ¶
func Not(p predicate.OhAuthTooToken) predicate.OhAuthTooToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OhAuthTooToken) predicate.OhAuthTooToken
Or groups predicates with the OR operator between them.
func ScopesIsNil ¶
func ScopesIsNil() predicate.OhAuthTooToken
ScopesIsNil applies the IsNil predicate on the "scopes" field.
func ScopesNotNil ¶
func ScopesNotNil() predicate.OhAuthTooToken
ScopesNotNil applies the NotNil predicate on the "scopes" field.
func TagsIsNil ¶ added in v0.5.2
func TagsIsNil() predicate.OhAuthTooToken
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶ added in v0.5.2
func TagsNotNil() predicate.OhAuthTooToken
TagsNotNil applies the NotNil predicate on the "tags" 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 OhAuthTooToken queries.
func ByClaimsEmail ¶
func ByClaimsEmail(opts ...sql.OrderTermOption) OrderOption
ByClaimsEmail orders the results by the claims_email field.
func ByClaimsEmailVerified ¶
func ByClaimsEmailVerified(opts ...sql.OrderTermOption) OrderOption
ByClaimsEmailVerified orders the results by the claims_email_verified field.
func ByClaimsPreferredUsername ¶
func ByClaimsPreferredUsername(opts ...sql.OrderTermOption) OrderOption
ByClaimsPreferredUsername orders the results by the claims_preferred_username field.
func ByClaimsUserID ¶
func ByClaimsUserID(opts ...sql.OrderTermOption) OrderOption
ByClaimsUserID orders the results by the claims_user_id field.
func ByClaimsUsername ¶
func ByClaimsUsername(opts ...sql.OrderTermOption) OrderOption
ByClaimsUsername orders the results by the claims_username field.
func ByClientID ¶
func ByClientID(opts ...sql.OrderTermOption) OrderOption
ByClientID orders the results by the client_id field.
func ByConnectorID ¶
func ByConnectorID(opts ...sql.OrderTermOption) OrderOption
ByConnectorID orders the results by the connector_id field.
func ByEvents ¶ added in v0.5.0
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶ added in v0.5.0
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIntegration ¶ added in v0.5.0
func ByIntegration(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIntegration orders the results by integration terms.
func ByIntegrationCount ¶ added in v0.5.0
func ByIntegrationCount(opts ...sql.OrderTermOption) OrderOption
ByIntegrationCount orders the results by integration count.
func ByLastUsed ¶
func ByLastUsed(opts ...sql.OrderTermOption) OrderOption
ByLastUsed orders the results by the last_used field.
func ByMappingID ¶ added in v0.5.0
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByNonce ¶
func ByNonce(opts ...sql.OrderTermOption) OrderOption
ByNonce orders the results by the nonce field.