Documentation
¶
Index ¶
- Constants
- Variables
- func AccessToken(v string) predicate.SlackOAuthCredentials
- func AccessTokenContains(v string) predicate.SlackOAuthCredentials
- func AccessTokenContainsFold(v string) predicate.SlackOAuthCredentials
- func AccessTokenEQ(v string) predicate.SlackOAuthCredentials
- func AccessTokenEqualFold(v string) predicate.SlackOAuthCredentials
- func AccessTokenGT(v string) predicate.SlackOAuthCredentials
- func AccessTokenGTE(v string) predicate.SlackOAuthCredentials
- func AccessTokenHasPrefix(v string) predicate.SlackOAuthCredentials
- func AccessTokenHasSuffix(v string) predicate.SlackOAuthCredentials
- func AccessTokenIn(vs ...string) predicate.SlackOAuthCredentials
- func AccessTokenLT(v string) predicate.SlackOAuthCredentials
- func AccessTokenLTE(v string) predicate.SlackOAuthCredentials
- func AccessTokenNEQ(v string) predicate.SlackOAuthCredentials
- func AccessTokenNotIn(vs ...string) predicate.SlackOAuthCredentials
- func And(predicates ...predicate.SlackOAuthCredentials) predicate.SlackOAuthCredentials
- func CreatedAt(v int64) predicate.SlackOAuthCredentials
- func CreatedAtEQ(v int64) predicate.SlackOAuthCredentials
- func CreatedAtGT(v int64) predicate.SlackOAuthCredentials
- func CreatedAtGTE(v int64) predicate.SlackOAuthCredentials
- func CreatedAtIn(vs ...int64) predicate.SlackOAuthCredentials
- func CreatedAtLT(v int64) predicate.SlackOAuthCredentials
- func CreatedAtLTE(v int64) predicate.SlackOAuthCredentials
- func CreatedAtNEQ(v int64) predicate.SlackOAuthCredentials
- func CreatedAtNotIn(vs ...int64) predicate.SlackOAuthCredentials
- func ID(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDEQ(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDGT(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDGTE(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDIn(ids ...uuid.UUID) predicate.SlackOAuthCredentials
- func IDLT(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDLTE(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDNEQ(id uuid.UUID) predicate.SlackOAuthCredentials
- func IDNotIn(ids ...uuid.UUID) predicate.SlackOAuthCredentials
- func Not(p predicate.SlackOAuthCredentials) predicate.SlackOAuthCredentials
- func Or(predicates ...predicate.SlackOAuthCredentials) predicate.SlackOAuthCredentials
- func RefreshToken(v string) predicate.SlackOAuthCredentials
- func RefreshTokenContains(v string) predicate.SlackOAuthCredentials
- func RefreshTokenContainsFold(v string) predicate.SlackOAuthCredentials
- func RefreshTokenEQ(v string) predicate.SlackOAuthCredentials
- func RefreshTokenEqualFold(v string) predicate.SlackOAuthCredentials
- func RefreshTokenGT(v string) predicate.SlackOAuthCredentials
- func RefreshTokenGTE(v string) predicate.SlackOAuthCredentials
- func RefreshTokenHasPrefix(v string) predicate.SlackOAuthCredentials
- func RefreshTokenHasSuffix(v string) predicate.SlackOAuthCredentials
- func RefreshTokenIn(vs ...string) predicate.SlackOAuthCredentials
- func RefreshTokenLT(v string) predicate.SlackOAuthCredentials
- func RefreshTokenLTE(v string) predicate.SlackOAuthCredentials
- func RefreshTokenNEQ(v string) predicate.SlackOAuthCredentials
- func RefreshTokenNotIn(vs ...string) predicate.SlackOAuthCredentials
- func TeamID(v string) predicate.SlackOAuthCredentials
- func TeamIDContains(v string) predicate.SlackOAuthCredentials
- func TeamIDContainsFold(v string) predicate.SlackOAuthCredentials
- func TeamIDEQ(v string) predicate.SlackOAuthCredentials
- func TeamIDEqualFold(v string) predicate.SlackOAuthCredentials
- func TeamIDGT(v string) predicate.SlackOAuthCredentials
- func TeamIDGTE(v string) predicate.SlackOAuthCredentials
- func TeamIDHasPrefix(v string) predicate.SlackOAuthCredentials
- func TeamIDHasSuffix(v string) predicate.SlackOAuthCredentials
- func TeamIDIn(vs ...string) predicate.SlackOAuthCredentials
- func TeamIDLT(v string) predicate.SlackOAuthCredentials
- func TeamIDLTE(v string) predicate.SlackOAuthCredentials
- func TeamIDNEQ(v string) predicate.SlackOAuthCredentials
- func TeamIDNotIn(vs ...string) predicate.SlackOAuthCredentials
- func UpdatedAt(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtEQ(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtGT(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtGTE(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtIn(vs ...int64) predicate.SlackOAuthCredentials
- func UpdatedAtLT(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtLTE(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtNEQ(v int64) predicate.SlackOAuthCredentials
- func UpdatedAtNotIn(vs ...int64) predicate.SlackOAuthCredentials
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
- func ByTeamID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the slackoauthcredentials type in the database. Label = "slack_oauth_credentials" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTeamID holds the string denoting the team_id field in the database. FieldTeamID = "team_id" // FieldRefreshToken holds the string denoting the refresh_token field in the database. FieldRefreshToken = "refresh_token" // FieldAccessToken holds the string denoting the access_token field in the database. FieldAccessToken = "access_token" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the slackoauthcredentials in the database. Table = "slack_oauth_credentials" )
Variables ¶
var ( // TeamIDValidator is a validator for the "team_id" field. It is called by the builders before save. TeamIDValidator func(string) error // DefaultRefreshToken holds the default value on creation for the "refresh_token" field. DefaultRefreshToken string // AccessTokenValidator is a validator for the "access_token" field. It is called by the builders before save. AccessTokenValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() int64 // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() int64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldTeamID, FieldRefreshToken, FieldAccessToken, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for slackoauthcredentials fields.
Functions ¶
func AccessToken ¶
func AccessToken(v string) predicate.SlackOAuthCredentials
AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessTokenContains ¶
func AccessTokenContains(v string) predicate.SlackOAuthCredentials
AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContainsFold ¶
func AccessTokenContainsFold(v string) predicate.SlackOAuthCredentials
AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenEQ ¶
func AccessTokenEQ(v string) predicate.SlackOAuthCredentials
AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEqualFold ¶
func AccessTokenEqualFold(v string) predicate.SlackOAuthCredentials
AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenGT ¶
func AccessTokenGT(v string) predicate.SlackOAuthCredentials
AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGTE ¶
func AccessTokenGTE(v string) predicate.SlackOAuthCredentials
AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenHasPrefix ¶
func AccessTokenHasPrefix(v string) predicate.SlackOAuthCredentials
AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasSuffix ¶
func AccessTokenHasSuffix(v string) predicate.SlackOAuthCredentials
AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenIn ¶
func AccessTokenIn(vs ...string) predicate.SlackOAuthCredentials
AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenLT ¶
func AccessTokenLT(v string) predicate.SlackOAuthCredentials
AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLTE ¶
func AccessTokenLTE(v string) predicate.SlackOAuthCredentials
AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenNEQ ¶
func AccessTokenNEQ(v string) predicate.SlackOAuthCredentials
AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNotIn ¶
func AccessTokenNotIn(vs ...string) predicate.SlackOAuthCredentials
AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func And ¶
func And(predicates ...predicate.SlackOAuthCredentials) predicate.SlackOAuthCredentials
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v int64) predicate.SlackOAuthCredentials
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v int64) predicate.SlackOAuthCredentials
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v int64) predicate.SlackOAuthCredentials
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v int64) predicate.SlackOAuthCredentials
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...int64) predicate.SlackOAuthCredentials
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v int64) predicate.SlackOAuthCredentials
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v int64) predicate.SlackOAuthCredentials
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v int64) predicate.SlackOAuthCredentials
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...int64) predicate.SlackOAuthCredentials
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ID ¶
func ID(id uuid.UUID) predicate.SlackOAuthCredentials
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.SlackOAuthCredentials
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.SlackOAuthCredentials
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.SlackOAuthCredentials
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.SlackOAuthCredentials
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.SlackOAuthCredentials
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.SlackOAuthCredentials
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.SlackOAuthCredentials
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.SlackOAuthCredentials
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.SlackOAuthCredentials) predicate.SlackOAuthCredentials
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SlackOAuthCredentials) predicate.SlackOAuthCredentials
Or groups predicates with the OR operator between them.
func RefreshToken ¶
func RefreshToken(v string) predicate.SlackOAuthCredentials
RefreshToken applies equality check predicate on the "refresh_token" field. It's identical to RefreshTokenEQ.
func RefreshTokenContains ¶
func RefreshTokenContains(v string) predicate.SlackOAuthCredentials
RefreshTokenContains applies the Contains predicate on the "refresh_token" field.
func RefreshTokenContainsFold ¶
func RefreshTokenContainsFold(v string) predicate.SlackOAuthCredentials
RefreshTokenContainsFold applies the ContainsFold predicate on the "refresh_token" field.
func RefreshTokenEQ ¶
func RefreshTokenEQ(v string) predicate.SlackOAuthCredentials
RefreshTokenEQ applies the EQ predicate on the "refresh_token" field.
func RefreshTokenEqualFold ¶
func RefreshTokenEqualFold(v string) predicate.SlackOAuthCredentials
RefreshTokenEqualFold applies the EqualFold predicate on the "refresh_token" field.
func RefreshTokenGT ¶
func RefreshTokenGT(v string) predicate.SlackOAuthCredentials
RefreshTokenGT applies the GT predicate on the "refresh_token" field.
func RefreshTokenGTE ¶
func RefreshTokenGTE(v string) predicate.SlackOAuthCredentials
RefreshTokenGTE applies the GTE predicate on the "refresh_token" field.
func RefreshTokenHasPrefix ¶
func RefreshTokenHasPrefix(v string) predicate.SlackOAuthCredentials
RefreshTokenHasPrefix applies the HasPrefix predicate on the "refresh_token" field.
func RefreshTokenHasSuffix ¶
func RefreshTokenHasSuffix(v string) predicate.SlackOAuthCredentials
RefreshTokenHasSuffix applies the HasSuffix predicate on the "refresh_token" field.
func RefreshTokenIn ¶
func RefreshTokenIn(vs ...string) predicate.SlackOAuthCredentials
RefreshTokenIn applies the In predicate on the "refresh_token" field.
func RefreshTokenLT ¶
func RefreshTokenLT(v string) predicate.SlackOAuthCredentials
RefreshTokenLT applies the LT predicate on the "refresh_token" field.
func RefreshTokenLTE ¶
func RefreshTokenLTE(v string) predicate.SlackOAuthCredentials
RefreshTokenLTE applies the LTE predicate on the "refresh_token" field.
func RefreshTokenNEQ ¶
func RefreshTokenNEQ(v string) predicate.SlackOAuthCredentials
RefreshTokenNEQ applies the NEQ predicate on the "refresh_token" field.
func RefreshTokenNotIn ¶
func RefreshTokenNotIn(vs ...string) predicate.SlackOAuthCredentials
RefreshTokenNotIn applies the NotIn predicate on the "refresh_token" field.
func TeamID ¶
func TeamID(v string) predicate.SlackOAuthCredentials
TeamID applies equality check predicate on the "team_id" field. It's identical to TeamIDEQ.
func TeamIDContains ¶
func TeamIDContains(v string) predicate.SlackOAuthCredentials
TeamIDContains applies the Contains predicate on the "team_id" field.
func TeamIDContainsFold ¶
func TeamIDContainsFold(v string) predicate.SlackOAuthCredentials
TeamIDContainsFold applies the ContainsFold predicate on the "team_id" field.
func TeamIDEQ ¶
func TeamIDEQ(v string) predicate.SlackOAuthCredentials
TeamIDEQ applies the EQ predicate on the "team_id" field.
func TeamIDEqualFold ¶
func TeamIDEqualFold(v string) predicate.SlackOAuthCredentials
TeamIDEqualFold applies the EqualFold predicate on the "team_id" field.
func TeamIDGT ¶
func TeamIDGT(v string) predicate.SlackOAuthCredentials
TeamIDGT applies the GT predicate on the "team_id" field.
func TeamIDGTE ¶
func TeamIDGTE(v string) predicate.SlackOAuthCredentials
TeamIDGTE applies the GTE predicate on the "team_id" field.
func TeamIDHasPrefix ¶
func TeamIDHasPrefix(v string) predicate.SlackOAuthCredentials
TeamIDHasPrefix applies the HasPrefix predicate on the "team_id" field.
func TeamIDHasSuffix ¶
func TeamIDHasSuffix(v string) predicate.SlackOAuthCredentials
TeamIDHasSuffix applies the HasSuffix predicate on the "team_id" field.
func TeamIDIn ¶
func TeamIDIn(vs ...string) predicate.SlackOAuthCredentials
TeamIDIn applies the In predicate on the "team_id" field.
func TeamIDLT ¶
func TeamIDLT(v string) predicate.SlackOAuthCredentials
TeamIDLT applies the LT predicate on the "team_id" field.
func TeamIDLTE ¶
func TeamIDLTE(v string) predicate.SlackOAuthCredentials
TeamIDLTE applies the LTE predicate on the "team_id" field.
func TeamIDNEQ ¶
func TeamIDNEQ(v string) predicate.SlackOAuthCredentials
TeamIDNEQ applies the NEQ predicate on the "team_id" field.
func TeamIDNotIn ¶
func TeamIDNotIn(vs ...string) predicate.SlackOAuthCredentials
TeamIDNotIn applies the NotIn predicate on the "team_id" field.
func UpdatedAt ¶
func UpdatedAt(v int64) predicate.SlackOAuthCredentials
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v int64) predicate.SlackOAuthCredentials
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v int64) predicate.SlackOAuthCredentials
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v int64) predicate.SlackOAuthCredentials
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...int64) predicate.SlackOAuthCredentials
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v int64) predicate.SlackOAuthCredentials
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v int64) predicate.SlackOAuthCredentials
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v int64) predicate.SlackOAuthCredentials
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...int64) predicate.SlackOAuthCredentials
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 SlackOAuthCredentials queries.
func ByAccessToken ¶
func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
ByAccessToken orders the results by the access_token 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 ByRefreshToken ¶
func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
ByRefreshToken orders the results by the refresh_token field.
func ByTeamID ¶
func ByTeamID(opts ...sql.OrderTermOption) OrderOption
ByTeamID orders the results by the team_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.