Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LoginHandoff) predicate.LoginHandoff
- func Callback(v string) predicate.LoginHandoff
- func CallbackContains(v string) predicate.LoginHandoff
- func CallbackContainsFold(v string) predicate.LoginHandoff
- func CallbackEQ(v string) predicate.LoginHandoff
- func CallbackEqualFold(v string) predicate.LoginHandoff
- func CallbackGT(v string) predicate.LoginHandoff
- func CallbackGTE(v string) predicate.LoginHandoff
- func CallbackHasPrefix(v string) predicate.LoginHandoff
- func CallbackHasSuffix(v string) predicate.LoginHandoff
- func CallbackIn(vs ...string) predicate.LoginHandoff
- func CallbackLT(v string) predicate.LoginHandoff
- func CallbackLTE(v string) predicate.LoginHandoff
- func CallbackNEQ(v string) predicate.LoginHandoff
- func CallbackNotIn(vs ...string) predicate.LoginHandoff
- func CodeChallenge(v string) predicate.LoginHandoff
- func CodeChallengeContains(v string) predicate.LoginHandoff
- func CodeChallengeContainsFold(v string) predicate.LoginHandoff
- func CodeChallengeEQ(v string) predicate.LoginHandoff
- func CodeChallengeEqualFold(v string) predicate.LoginHandoff
- func CodeChallengeGT(v string) predicate.LoginHandoff
- func CodeChallengeGTE(v string) predicate.LoginHandoff
- func CodeChallengeHasPrefix(v string) predicate.LoginHandoff
- func CodeChallengeHasSuffix(v string) predicate.LoginHandoff
- func CodeChallengeIn(vs ...string) predicate.LoginHandoff
- func CodeChallengeLT(v string) predicate.LoginHandoff
- func CodeChallengeLTE(v string) predicate.LoginHandoff
- func CodeChallengeNEQ(v string) predicate.LoginHandoff
- func CodeChallengeNotIn(vs ...string) predicate.LoginHandoff
- func CodeHash(v string) predicate.LoginHandoff
- func CodeHashContains(v string) predicate.LoginHandoff
- func CodeHashContainsFold(v string) predicate.LoginHandoff
- func CodeHashEQ(v string) predicate.LoginHandoff
- func CodeHashEqualFold(v string) predicate.LoginHandoff
- func CodeHashGT(v string) predicate.LoginHandoff
- func CodeHashGTE(v string) predicate.LoginHandoff
- func CodeHashHasPrefix(v string) predicate.LoginHandoff
- func CodeHashHasSuffix(v string) predicate.LoginHandoff
- func CodeHashIn(vs ...string) predicate.LoginHandoff
- func CodeHashLT(v string) predicate.LoginHandoff
- func CodeHashLTE(v string) predicate.LoginHandoff
- func CodeHashNEQ(v string) predicate.LoginHandoff
- func CodeHashNotIn(vs ...string) predicate.LoginHandoff
- func ExpiresAt(v time.Time) predicate.LoginHandoff
- func ExpiresAtEQ(v time.Time) predicate.LoginHandoff
- func ExpiresAtGT(v time.Time) predicate.LoginHandoff
- func ExpiresAtGTE(v time.Time) predicate.LoginHandoff
- func ExpiresAtIn(vs ...time.Time) predicate.LoginHandoff
- func ExpiresAtLT(v time.Time) predicate.LoginHandoff
- func ExpiresAtLTE(v time.Time) predicate.LoginHandoff
- func ExpiresAtNEQ(v time.Time) predicate.LoginHandoff
- func ExpiresAtNotIn(vs ...time.Time) predicate.LoginHandoff
- func HasUser() predicate.LoginHandoff
- func HasUserWith(preds ...predicate.User) predicate.LoginHandoff
- func ID(id uuid.UUID) predicate.LoginHandoff
- func IDEQ(id uuid.UUID) predicate.LoginHandoff
- func IDGT(id uuid.UUID) predicate.LoginHandoff
- func IDGTE(id uuid.UUID) predicate.LoginHandoff
- func IDIn(ids ...uuid.UUID) predicate.LoginHandoff
- func IDLT(id uuid.UUID) predicate.LoginHandoff
- func IDLTE(id uuid.UUID) predicate.LoginHandoff
- func IDNEQ(id uuid.UUID) predicate.LoginHandoff
- func IDNotIn(ids ...uuid.UUID) predicate.LoginHandoff
- func Not(p predicate.LoginHandoff) predicate.LoginHandoff
- func Or(predicates ...predicate.LoginHandoff) predicate.LoginHandoff
- func TokenTTLSeconds(v int64) predicate.LoginHandoff
- func TokenTTLSecondsEQ(v int64) predicate.LoginHandoff
- func TokenTTLSecondsGT(v int64) predicate.LoginHandoff
- func TokenTTLSecondsGTE(v int64) predicate.LoginHandoff
- func TokenTTLSecondsIn(vs ...int64) predicate.LoginHandoff
- func TokenTTLSecondsLT(v int64) predicate.LoginHandoff
- func TokenTTLSecondsLTE(v int64) predicate.LoginHandoff
- func TokenTTLSecondsNEQ(v int64) predicate.LoginHandoff
- func TokenTTLSecondsNotIn(vs ...int64) predicate.LoginHandoff
- func UsedAt(v time.Time) predicate.LoginHandoff
- func UsedAtEQ(v time.Time) predicate.LoginHandoff
- func UsedAtGT(v time.Time) predicate.LoginHandoff
- func UsedAtGTE(v time.Time) predicate.LoginHandoff
- func UsedAtIn(vs ...time.Time) predicate.LoginHandoff
- func UsedAtIsNil() predicate.LoginHandoff
- func UsedAtLT(v time.Time) predicate.LoginHandoff
- func UsedAtLTE(v time.Time) predicate.LoginHandoff
- func UsedAtNEQ(v time.Time) predicate.LoginHandoff
- func UsedAtNotIn(vs ...time.Time) predicate.LoginHandoff
- func UsedAtNotNil() predicate.LoginHandoff
- func UserID(v uuid.UUID) predicate.LoginHandoff
- func UserIDEQ(v uuid.UUID) predicate.LoginHandoff
- func UserIDIn(vs ...uuid.UUID) predicate.LoginHandoff
- func UserIDNEQ(v uuid.UUID) predicate.LoginHandoff
- func UserIDNotIn(vs ...uuid.UUID) predicate.LoginHandoff
- func ValidColumn(column string) bool
- type OrderOption
- func ByCallback(opts ...sql.OrderTermOption) OrderOption
- func ByCodeChallenge(opts ...sql.OrderTermOption) OrderOption
- func ByCodeHash(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByTokenTTLSeconds(opts ...sql.OrderTermOption) OrderOption
- func ByUsedAt(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 loginhandoff type in the database. Label = "login_handoff" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCodeHash holds the string denoting the code_hash field in the database. FieldCodeHash = "code_hash" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldTokenTTLSeconds holds the string denoting the token_ttl_seconds field in the database. FieldTokenTTLSeconds = "token_ttl_seconds" // FieldCodeChallenge holds the string denoting the code_challenge field in the database. FieldCodeChallenge = "code_challenge" // FieldCallback holds the string denoting the callback field in the database. FieldCallback = "callback" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldUsedAt holds the string denoting the used_at field in the database. FieldUsedAt = "used_at" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the loginhandoff in the database. Table = "login_handoffs" // UserTable is the table that holds the user relation/edge. UserTable = "login_handoffs" // 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, FieldCodeHash, FieldUserID, FieldTokenTTLSeconds, FieldCodeChallenge, FieldCallback, FieldExpiresAt, FieldUsedAt, }
Columns holds all SQL columns for loginhandoff fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func And ¶
func And(predicates ...predicate.LoginHandoff) predicate.LoginHandoff
And groups predicates with the AND operator between them.
func Callback ¶
func Callback(v string) predicate.LoginHandoff
Callback applies equality check predicate on the "callback" field. It's identical to CallbackEQ.
func CallbackContains ¶
func CallbackContains(v string) predicate.LoginHandoff
CallbackContains applies the Contains predicate on the "callback" field.
func CallbackContainsFold ¶
func CallbackContainsFold(v string) predicate.LoginHandoff
CallbackContainsFold applies the ContainsFold predicate on the "callback" field.
func CallbackEQ ¶
func CallbackEQ(v string) predicate.LoginHandoff
CallbackEQ applies the EQ predicate on the "callback" field.
func CallbackEqualFold ¶
func CallbackEqualFold(v string) predicate.LoginHandoff
CallbackEqualFold applies the EqualFold predicate on the "callback" field.
func CallbackGT ¶
func CallbackGT(v string) predicate.LoginHandoff
CallbackGT applies the GT predicate on the "callback" field.
func CallbackGTE ¶
func CallbackGTE(v string) predicate.LoginHandoff
CallbackGTE applies the GTE predicate on the "callback" field.
func CallbackHasPrefix ¶
func CallbackHasPrefix(v string) predicate.LoginHandoff
CallbackHasPrefix applies the HasPrefix predicate on the "callback" field.
func CallbackHasSuffix ¶
func CallbackHasSuffix(v string) predicate.LoginHandoff
CallbackHasSuffix applies the HasSuffix predicate on the "callback" field.
func CallbackIn ¶
func CallbackIn(vs ...string) predicate.LoginHandoff
CallbackIn applies the In predicate on the "callback" field.
func CallbackLT ¶
func CallbackLT(v string) predicate.LoginHandoff
CallbackLT applies the LT predicate on the "callback" field.
func CallbackLTE ¶
func CallbackLTE(v string) predicate.LoginHandoff
CallbackLTE applies the LTE predicate on the "callback" field.
func CallbackNEQ ¶
func CallbackNEQ(v string) predicate.LoginHandoff
CallbackNEQ applies the NEQ predicate on the "callback" field.
func CallbackNotIn ¶
func CallbackNotIn(vs ...string) predicate.LoginHandoff
CallbackNotIn applies the NotIn predicate on the "callback" field.
func CodeChallenge ¶
func CodeChallenge(v string) predicate.LoginHandoff
CodeChallenge applies equality check predicate on the "code_challenge" field. It's identical to CodeChallengeEQ.
func CodeChallengeContains ¶
func CodeChallengeContains(v string) predicate.LoginHandoff
CodeChallengeContains applies the Contains predicate on the "code_challenge" field.
func CodeChallengeContainsFold ¶
func CodeChallengeContainsFold(v string) predicate.LoginHandoff
CodeChallengeContainsFold applies the ContainsFold predicate on the "code_challenge" field.
func CodeChallengeEQ ¶
func CodeChallengeEQ(v string) predicate.LoginHandoff
CodeChallengeEQ applies the EQ predicate on the "code_challenge" field.
func CodeChallengeEqualFold ¶
func CodeChallengeEqualFold(v string) predicate.LoginHandoff
CodeChallengeEqualFold applies the EqualFold predicate on the "code_challenge" field.
func CodeChallengeGT ¶
func CodeChallengeGT(v string) predicate.LoginHandoff
CodeChallengeGT applies the GT predicate on the "code_challenge" field.
func CodeChallengeGTE ¶
func CodeChallengeGTE(v string) predicate.LoginHandoff
CodeChallengeGTE applies the GTE predicate on the "code_challenge" field.
func CodeChallengeHasPrefix ¶
func CodeChallengeHasPrefix(v string) predicate.LoginHandoff
CodeChallengeHasPrefix applies the HasPrefix predicate on the "code_challenge" field.
func CodeChallengeHasSuffix ¶
func CodeChallengeHasSuffix(v string) predicate.LoginHandoff
CodeChallengeHasSuffix applies the HasSuffix predicate on the "code_challenge" field.
func CodeChallengeIn ¶
func CodeChallengeIn(vs ...string) predicate.LoginHandoff
CodeChallengeIn applies the In predicate on the "code_challenge" field.
func CodeChallengeLT ¶
func CodeChallengeLT(v string) predicate.LoginHandoff
CodeChallengeLT applies the LT predicate on the "code_challenge" field.
func CodeChallengeLTE ¶
func CodeChallengeLTE(v string) predicate.LoginHandoff
CodeChallengeLTE applies the LTE predicate on the "code_challenge" field.
func CodeChallengeNEQ ¶
func CodeChallengeNEQ(v string) predicate.LoginHandoff
CodeChallengeNEQ applies the NEQ predicate on the "code_challenge" field.
func CodeChallengeNotIn ¶
func CodeChallengeNotIn(vs ...string) predicate.LoginHandoff
CodeChallengeNotIn applies the NotIn predicate on the "code_challenge" field.
func CodeHash ¶
func CodeHash(v string) predicate.LoginHandoff
CodeHash applies equality check predicate on the "code_hash" field. It's identical to CodeHashEQ.
func CodeHashContains ¶
func CodeHashContains(v string) predicate.LoginHandoff
CodeHashContains applies the Contains predicate on the "code_hash" field.
func CodeHashContainsFold ¶
func CodeHashContainsFold(v string) predicate.LoginHandoff
CodeHashContainsFold applies the ContainsFold predicate on the "code_hash" field.
func CodeHashEQ ¶
func CodeHashEQ(v string) predicate.LoginHandoff
CodeHashEQ applies the EQ predicate on the "code_hash" field.
func CodeHashEqualFold ¶
func CodeHashEqualFold(v string) predicate.LoginHandoff
CodeHashEqualFold applies the EqualFold predicate on the "code_hash" field.
func CodeHashGT ¶
func CodeHashGT(v string) predicate.LoginHandoff
CodeHashGT applies the GT predicate on the "code_hash" field.
func CodeHashGTE ¶
func CodeHashGTE(v string) predicate.LoginHandoff
CodeHashGTE applies the GTE predicate on the "code_hash" field.
func CodeHashHasPrefix ¶
func CodeHashHasPrefix(v string) predicate.LoginHandoff
CodeHashHasPrefix applies the HasPrefix predicate on the "code_hash" field.
func CodeHashHasSuffix ¶
func CodeHashHasSuffix(v string) predicate.LoginHandoff
CodeHashHasSuffix applies the HasSuffix predicate on the "code_hash" field.
func CodeHashIn ¶
func CodeHashIn(vs ...string) predicate.LoginHandoff
CodeHashIn applies the In predicate on the "code_hash" field.
func CodeHashLT ¶
func CodeHashLT(v string) predicate.LoginHandoff
CodeHashLT applies the LT predicate on the "code_hash" field.
func CodeHashLTE ¶
func CodeHashLTE(v string) predicate.LoginHandoff
CodeHashLTE applies the LTE predicate on the "code_hash" field.
func CodeHashNEQ ¶
func CodeHashNEQ(v string) predicate.LoginHandoff
CodeHashNEQ applies the NEQ predicate on the "code_hash" field.
func CodeHashNotIn ¶
func CodeHashNotIn(vs ...string) predicate.LoginHandoff
CodeHashNotIn applies the NotIn predicate on the "code_hash" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.LoginHandoff
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.LoginHandoff
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.LoginHandoff
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.LoginHandoff
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.LoginHandoff
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.LoginHandoff
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.LoginHandoff
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.LoginHandoff
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.LoginHandoff
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func HasUser ¶
func HasUser() predicate.LoginHandoff
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.LoginHandoff
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.LoginHandoff
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.LoginHandoff
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.LoginHandoff
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.LoginHandoff
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.LoginHandoff
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.LoginHandoff
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.LoginHandoff
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.LoginHandoff
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.LoginHandoff) predicate.LoginHandoff
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LoginHandoff) predicate.LoginHandoff
Or groups predicates with the OR operator between them.
func TokenTTLSeconds ¶
func TokenTTLSeconds(v int64) predicate.LoginHandoff
TokenTTLSeconds applies equality check predicate on the "token_ttl_seconds" field. It's identical to TokenTTLSecondsEQ.
func TokenTTLSecondsEQ ¶
func TokenTTLSecondsEQ(v int64) predicate.LoginHandoff
TokenTTLSecondsEQ applies the EQ predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsGT ¶
func TokenTTLSecondsGT(v int64) predicate.LoginHandoff
TokenTTLSecondsGT applies the GT predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsGTE ¶
func TokenTTLSecondsGTE(v int64) predicate.LoginHandoff
TokenTTLSecondsGTE applies the GTE predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsIn ¶
func TokenTTLSecondsIn(vs ...int64) predicate.LoginHandoff
TokenTTLSecondsIn applies the In predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsLT ¶
func TokenTTLSecondsLT(v int64) predicate.LoginHandoff
TokenTTLSecondsLT applies the LT predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsLTE ¶
func TokenTTLSecondsLTE(v int64) predicate.LoginHandoff
TokenTTLSecondsLTE applies the LTE predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsNEQ ¶
func TokenTTLSecondsNEQ(v int64) predicate.LoginHandoff
TokenTTLSecondsNEQ applies the NEQ predicate on the "token_ttl_seconds" field.
func TokenTTLSecondsNotIn ¶
func TokenTTLSecondsNotIn(vs ...int64) predicate.LoginHandoff
TokenTTLSecondsNotIn applies the NotIn predicate on the "token_ttl_seconds" field.
func UsedAt ¶
func UsedAt(v time.Time) predicate.LoginHandoff
UsedAt applies equality check predicate on the "used_at" field. It's identical to UsedAtEQ.
func UsedAtEQ ¶
func UsedAtEQ(v time.Time) predicate.LoginHandoff
UsedAtEQ applies the EQ predicate on the "used_at" field.
func UsedAtGT ¶
func UsedAtGT(v time.Time) predicate.LoginHandoff
UsedAtGT applies the GT predicate on the "used_at" field.
func UsedAtGTE ¶
func UsedAtGTE(v time.Time) predicate.LoginHandoff
UsedAtGTE applies the GTE predicate on the "used_at" field.
func UsedAtIn ¶
func UsedAtIn(vs ...time.Time) predicate.LoginHandoff
UsedAtIn applies the In predicate on the "used_at" field.
func UsedAtIsNil ¶
func UsedAtIsNil() predicate.LoginHandoff
UsedAtIsNil applies the IsNil predicate on the "used_at" field.
func UsedAtLT ¶
func UsedAtLT(v time.Time) predicate.LoginHandoff
UsedAtLT applies the LT predicate on the "used_at" field.
func UsedAtLTE ¶
func UsedAtLTE(v time.Time) predicate.LoginHandoff
UsedAtLTE applies the LTE predicate on the "used_at" field.
func UsedAtNEQ ¶
func UsedAtNEQ(v time.Time) predicate.LoginHandoff
UsedAtNEQ applies the NEQ predicate on the "used_at" field.
func UsedAtNotIn ¶
func UsedAtNotIn(vs ...time.Time) predicate.LoginHandoff
UsedAtNotIn applies the NotIn predicate on the "used_at" field.
func UsedAtNotNil ¶
func UsedAtNotNil() predicate.LoginHandoff
UsedAtNotNil applies the NotNil predicate on the "used_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.LoginHandoff
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.LoginHandoff
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.LoginHandoff
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.LoginHandoff
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.LoginHandoff
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 LoginHandoff queries.
func ByCallback ¶
func ByCallback(opts ...sql.OrderTermOption) OrderOption
ByCallback orders the results by the callback field.
func ByCodeChallenge ¶
func ByCodeChallenge(opts ...sql.OrderTermOption) OrderOption
ByCodeChallenge orders the results by the code_challenge field.
func ByCodeHash ¶
func ByCodeHash(opts ...sql.OrderTermOption) OrderOption
ByCodeHash orders the results by the code_hash field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByTokenTTLSeconds ¶
func ByTokenTTLSeconds(opts ...sql.OrderTermOption) OrderOption
ByTokenTTLSeconds orders the results by the token_ttl_seconds field.
func ByUsedAt ¶
func ByUsedAt(opts ...sql.OrderTermOption) OrderOption
ByUsedAt orders the results by the used_at 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.