Documentation ¶
Index ¶
- Constants
- Variables
- func Access(v string) predicate.OAuthToken
- func AccessContains(v string) predicate.OAuthToken
- func AccessContainsFold(v string) predicate.OAuthToken
- func AccessEQ(v string) predicate.OAuthToken
- func AccessEqualFold(v string) predicate.OAuthToken
- func AccessGT(v string) predicate.OAuthToken
- func AccessGTE(v string) predicate.OAuthToken
- func AccessHasPrefix(v string) predicate.OAuthToken
- func AccessHasSuffix(v string) predicate.OAuthToken
- func AccessIn(vs ...string) predicate.OAuthToken
- func AccessLT(v string) predicate.OAuthToken
- func AccessLTE(v string) predicate.OAuthToken
- func AccessNEQ(v string) predicate.OAuthToken
- func AccessNotIn(vs ...string) predicate.OAuthToken
- func And(predicates ...predicate.OAuthToken) predicate.OAuthToken
- func Code(v string) predicate.OAuthToken
- func CodeContains(v string) predicate.OAuthToken
- func CodeContainsFold(v string) predicate.OAuthToken
- func CodeEQ(v string) predicate.OAuthToken
- func CodeEqualFold(v string) predicate.OAuthToken
- func CodeGT(v string) predicate.OAuthToken
- func CodeGTE(v string) predicate.OAuthToken
- func CodeHasPrefix(v string) predicate.OAuthToken
- func CodeHasSuffix(v string) predicate.OAuthToken
- func CodeIn(vs ...string) predicate.OAuthToken
- func CodeLT(v string) predicate.OAuthToken
- func CodeLTE(v string) predicate.OAuthToken
- func CodeNEQ(v string) predicate.OAuthToken
- func CodeNotIn(vs ...string) predicate.OAuthToken
- func Data(v string) predicate.OAuthToken
- func DataContains(v string) predicate.OAuthToken
- func DataContainsFold(v string) predicate.OAuthToken
- func DataEQ(v string) predicate.OAuthToken
- func DataEqualFold(v string) predicate.OAuthToken
- func DataGT(v string) predicate.OAuthToken
- func DataGTE(v string) predicate.OAuthToken
- func DataHasPrefix(v string) predicate.OAuthToken
- func DataHasSuffix(v string) predicate.OAuthToken
- func DataIn(vs ...string) predicate.OAuthToken
- func DataLT(v string) predicate.OAuthToken
- func DataLTE(v string) predicate.OAuthToken
- func DataNEQ(v string) predicate.OAuthToken
- func DataNotIn(vs ...string) predicate.OAuthToken
- func ExpiredAt(v time.Time) predicate.OAuthToken
- func ExpiredAtEQ(v time.Time) predicate.OAuthToken
- func ExpiredAtGT(v time.Time) predicate.OAuthToken
- func ExpiredAtGTE(v time.Time) predicate.OAuthToken
- func ExpiredAtIn(vs ...time.Time) predicate.OAuthToken
- func ExpiredAtLT(v time.Time) predicate.OAuthToken
- func ExpiredAtLTE(v time.Time) predicate.OAuthToken
- func ExpiredAtNEQ(v time.Time) predicate.OAuthToken
- func ExpiredAtNotIn(vs ...time.Time) predicate.OAuthToken
- func ID(id int) predicate.OAuthToken
- func IDEQ(id int) predicate.OAuthToken
- func IDGT(id int) predicate.OAuthToken
- func IDGTE(id int) predicate.OAuthToken
- func IDIn(ids ...int) predicate.OAuthToken
- func IDLT(id int) predicate.OAuthToken
- func IDLTE(id int) predicate.OAuthToken
- func IDNEQ(id int) predicate.OAuthToken
- func IDNotIn(ids ...int) predicate.OAuthToken
- func Not(p predicate.OAuthToken) predicate.OAuthToken
- func Or(predicates ...predicate.OAuthToken) predicate.OAuthToken
- func Refresh(v string) predicate.OAuthToken
- func RefreshContains(v string) predicate.OAuthToken
- func RefreshContainsFold(v string) predicate.OAuthToken
- func RefreshEQ(v string) predicate.OAuthToken
- func RefreshEqualFold(v string) predicate.OAuthToken
- func RefreshGT(v string) predicate.OAuthToken
- func RefreshGTE(v string) predicate.OAuthToken
- func RefreshHasPrefix(v string) predicate.OAuthToken
- func RefreshHasSuffix(v string) predicate.OAuthToken
- func RefreshIn(vs ...string) predicate.OAuthToken
- func RefreshLT(v string) predicate.OAuthToken
- func RefreshLTE(v string) predicate.OAuthToken
- func RefreshNEQ(v string) predicate.OAuthToken
- func RefreshNotIn(vs ...string) predicate.OAuthToken
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the oauthtoken type in the database. Label = "oauth_token" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldExpiredAt holds the string denoting the expired_at field in the database. FieldExpiredAt = "expired_at" // FieldCode holds the string denoting the code field in the database. FieldCode = "code" // FieldAccess holds the string denoting the access field in the database. FieldAccess = "access" // FieldRefresh holds the string denoting the refresh field in the database. FieldRefresh = "refresh" // FieldData holds the string denoting the data field in the database. FieldData = "data" // Table holds the table name of the oauthtoken in the database. Table = "oauth_tokens" )
Variables ¶
var ( // DefaultExpiredAt holds the default value on creation for the "expired_at" field. DefaultExpiredAt func() time.Time // DefaultCode holds the default value on creation for the "code" field. DefaultCode string // CodeValidator is a validator for the "code" field. It is called by the builders before save. CodeValidator func(string) error // DefaultAccess holds the default value on creation for the "access" field. DefaultAccess string // AccessValidator is a validator for the "access" field. It is called by the builders before save. AccessValidator func(string) error // DefaultRefresh holds the default value on creation for the "refresh" field. DefaultRefresh string // RefreshValidator is a validator for the "refresh" field. It is called by the builders before save. RefreshValidator func(string) error // DataValidator is a validator for the "data" field. It is called by the builders before save. DataValidator func(string) error )
var Columns = []string{ FieldID, FieldExpiredAt, FieldCode, FieldAccess, FieldRefresh, FieldData, }
Columns holds all SQL columns for oauthtoken fields.
Functions ¶
func Access ¶
func Access(v string) predicate.OAuthToken
Access applies equality check predicate on the "access" field. It's identical to AccessEQ.
func AccessContains ¶
func AccessContains(v string) predicate.OAuthToken
AccessContains applies the Contains predicate on the "access" field.
func AccessContainsFold ¶
func AccessContainsFold(v string) predicate.OAuthToken
AccessContainsFold applies the ContainsFold predicate on the "access" field.
func AccessEQ ¶
func AccessEQ(v string) predicate.OAuthToken
AccessEQ applies the EQ predicate on the "access" field.
func AccessEqualFold ¶
func AccessEqualFold(v string) predicate.OAuthToken
AccessEqualFold applies the EqualFold predicate on the "access" field.
func AccessGT ¶
func AccessGT(v string) predicate.OAuthToken
AccessGT applies the GT predicate on the "access" field.
func AccessGTE ¶
func AccessGTE(v string) predicate.OAuthToken
AccessGTE applies the GTE predicate on the "access" field.
func AccessHasPrefix ¶
func AccessHasPrefix(v string) predicate.OAuthToken
AccessHasPrefix applies the HasPrefix predicate on the "access" field.
func AccessHasSuffix ¶
func AccessHasSuffix(v string) predicate.OAuthToken
AccessHasSuffix applies the HasSuffix predicate on the "access" field.
func AccessIn ¶
func AccessIn(vs ...string) predicate.OAuthToken
AccessIn applies the In predicate on the "access" field.
func AccessLT ¶
func AccessLT(v string) predicate.OAuthToken
AccessLT applies the LT predicate on the "access" field.
func AccessLTE ¶
func AccessLTE(v string) predicate.OAuthToken
AccessLTE applies the LTE predicate on the "access" field.
func AccessNEQ ¶
func AccessNEQ(v string) predicate.OAuthToken
AccessNEQ applies the NEQ predicate on the "access" field.
func AccessNotIn ¶
func AccessNotIn(vs ...string) predicate.OAuthToken
AccessNotIn applies the NotIn predicate on the "access" field.
func And ¶
func And(predicates ...predicate.OAuthToken) predicate.OAuthToken
And groups predicates with the AND operator between them.
func Code ¶
func Code(v string) predicate.OAuthToken
Code applies equality check predicate on the "code" field. It's identical to CodeEQ.
func CodeContains ¶
func CodeContains(v string) predicate.OAuthToken
CodeContains applies the Contains predicate on the "code" field.
func CodeContainsFold ¶
func CodeContainsFold(v string) predicate.OAuthToken
CodeContainsFold applies the ContainsFold predicate on the "code" field.
func CodeEQ ¶
func CodeEQ(v string) predicate.OAuthToken
CodeEQ applies the EQ predicate on the "code" field.
func CodeEqualFold ¶
func CodeEqualFold(v string) predicate.OAuthToken
CodeEqualFold applies the EqualFold predicate on the "code" field.
func CodeGT ¶
func CodeGT(v string) predicate.OAuthToken
CodeGT applies the GT predicate on the "code" field.
func CodeGTE ¶
func CodeGTE(v string) predicate.OAuthToken
CodeGTE applies the GTE predicate on the "code" field.
func CodeHasPrefix ¶
func CodeHasPrefix(v string) predicate.OAuthToken
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
func CodeHasSuffix ¶
func CodeHasSuffix(v string) predicate.OAuthToken
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
func CodeIn ¶
func CodeIn(vs ...string) predicate.OAuthToken
CodeIn applies the In predicate on the "code" field.
func CodeLT ¶
func CodeLT(v string) predicate.OAuthToken
CodeLT applies the LT predicate on the "code" field.
func CodeLTE ¶
func CodeLTE(v string) predicate.OAuthToken
CodeLTE applies the LTE predicate on the "code" field.
func CodeNEQ ¶
func CodeNEQ(v string) predicate.OAuthToken
CodeNEQ applies the NEQ predicate on the "code" field.
func CodeNotIn ¶
func CodeNotIn(vs ...string) predicate.OAuthToken
CodeNotIn applies the NotIn predicate on the "code" field.
func Data ¶
func Data(v string) predicate.OAuthToken
Data applies equality check predicate on the "data" field. It's identical to DataEQ.
func DataContains ¶
func DataContains(v string) predicate.OAuthToken
DataContains applies the Contains predicate on the "data" field.
func DataContainsFold ¶
func DataContainsFold(v string) predicate.OAuthToken
DataContainsFold applies the ContainsFold predicate on the "data" field.
func DataEQ ¶
func DataEQ(v string) predicate.OAuthToken
DataEQ applies the EQ predicate on the "data" field.
func DataEqualFold ¶
func DataEqualFold(v string) predicate.OAuthToken
DataEqualFold applies the EqualFold predicate on the "data" field.
func DataGT ¶
func DataGT(v string) predicate.OAuthToken
DataGT applies the GT predicate on the "data" field.
func DataGTE ¶
func DataGTE(v string) predicate.OAuthToken
DataGTE applies the GTE predicate on the "data" field.
func DataHasPrefix ¶
func DataHasPrefix(v string) predicate.OAuthToken
DataHasPrefix applies the HasPrefix predicate on the "data" field.
func DataHasSuffix ¶
func DataHasSuffix(v string) predicate.OAuthToken
DataHasSuffix applies the HasSuffix predicate on the "data" field.
func DataIn ¶
func DataIn(vs ...string) predicate.OAuthToken
DataIn applies the In predicate on the "data" field.
func DataLT ¶
func DataLT(v string) predicate.OAuthToken
DataLT applies the LT predicate on the "data" field.
func DataLTE ¶
func DataLTE(v string) predicate.OAuthToken
DataLTE applies the LTE predicate on the "data" field.
func DataNEQ ¶
func DataNEQ(v string) predicate.OAuthToken
DataNEQ applies the NEQ predicate on the "data" field.
func DataNotIn ¶
func DataNotIn(vs ...string) predicate.OAuthToken
DataNotIn applies the NotIn predicate on the "data" field.
func ExpiredAt ¶
func ExpiredAt(v time.Time) predicate.OAuthToken
ExpiredAt applies equality check predicate on the "expired_at" field. It's identical to ExpiredAtEQ.
func ExpiredAtEQ ¶
func ExpiredAtEQ(v time.Time) predicate.OAuthToken
ExpiredAtEQ applies the EQ predicate on the "expired_at" field.
func ExpiredAtGT ¶
func ExpiredAtGT(v time.Time) predicate.OAuthToken
ExpiredAtGT applies the GT predicate on the "expired_at" field.
func ExpiredAtGTE ¶
func ExpiredAtGTE(v time.Time) predicate.OAuthToken
ExpiredAtGTE applies the GTE predicate on the "expired_at" field.
func ExpiredAtIn ¶
func ExpiredAtIn(vs ...time.Time) predicate.OAuthToken
ExpiredAtIn applies the In predicate on the "expired_at" field.
func ExpiredAtLT ¶
func ExpiredAtLT(v time.Time) predicate.OAuthToken
ExpiredAtLT applies the LT predicate on the "expired_at" field.
func ExpiredAtLTE ¶
func ExpiredAtLTE(v time.Time) predicate.OAuthToken
ExpiredAtLTE applies the LTE predicate on the "expired_at" field.
func ExpiredAtNEQ ¶
func ExpiredAtNEQ(v time.Time) predicate.OAuthToken
ExpiredAtNEQ applies the NEQ predicate on the "expired_at" field.
func ExpiredAtNotIn ¶
func ExpiredAtNotIn(vs ...time.Time) predicate.OAuthToken
ExpiredAtNotIn applies the NotIn predicate on the "expired_at" field.
func IDGTE ¶
func IDGTE(id int) predicate.OAuthToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.OAuthToken
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.OAuthToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.OAuthToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.OAuthToken
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OAuthToken) predicate.OAuthToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OAuthToken) predicate.OAuthToken
Or groups predicates with the OR operator between them.
func Refresh ¶
func Refresh(v string) predicate.OAuthToken
Refresh applies equality check predicate on the "refresh" field. It's identical to RefreshEQ.
func RefreshContains ¶
func RefreshContains(v string) predicate.OAuthToken
RefreshContains applies the Contains predicate on the "refresh" field.
func RefreshContainsFold ¶
func RefreshContainsFold(v string) predicate.OAuthToken
RefreshContainsFold applies the ContainsFold predicate on the "refresh" field.
func RefreshEQ ¶
func RefreshEQ(v string) predicate.OAuthToken
RefreshEQ applies the EQ predicate on the "refresh" field.
func RefreshEqualFold ¶
func RefreshEqualFold(v string) predicate.OAuthToken
RefreshEqualFold applies the EqualFold predicate on the "refresh" field.
func RefreshGT ¶
func RefreshGT(v string) predicate.OAuthToken
RefreshGT applies the GT predicate on the "refresh" field.
func RefreshGTE ¶
func RefreshGTE(v string) predicate.OAuthToken
RefreshGTE applies the GTE predicate on the "refresh" field.
func RefreshHasPrefix ¶
func RefreshHasPrefix(v string) predicate.OAuthToken
RefreshHasPrefix applies the HasPrefix predicate on the "refresh" field.
func RefreshHasSuffix ¶
func RefreshHasSuffix(v string) predicate.OAuthToken
RefreshHasSuffix applies the HasSuffix predicate on the "refresh" field.
func RefreshIn ¶
func RefreshIn(vs ...string) predicate.OAuthToken
RefreshIn applies the In predicate on the "refresh" field.
func RefreshLT ¶
func RefreshLT(v string) predicate.OAuthToken
RefreshLT applies the LT predicate on the "refresh" field.
func RefreshLTE ¶
func RefreshLTE(v string) predicate.OAuthToken
RefreshLTE applies the LTE predicate on the "refresh" field.
func RefreshNEQ ¶
func RefreshNEQ(v string) predicate.OAuthToken
RefreshNEQ applies the NEQ predicate on the "refresh" field.
func RefreshNotIn ¶
func RefreshNotIn(vs ...string) predicate.OAuthToken
RefreshNotIn applies the NotIn predicate on the "refresh" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.