slackoauthcredentials

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

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

And groups predicates with the AND operator between them.

func CreatedAt

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Or

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

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

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

TeamIDGT applies the GT predicate on the "team_id" field.

func TeamIDGTE

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

TeamIDLT applies the LT predicate on the "team_id" field.

func TeamIDLTE

TeamIDLTE applies the LTE predicate on the "team_id" field.

func TeamIDNEQ

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL