Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OfflineSession) predicate.OfflineSession
- func ConnID(v string) predicate.OfflineSession
- func ConnIDContains(v string) predicate.OfflineSession
- func ConnIDContainsFold(v string) predicate.OfflineSession
- func ConnIDEQ(v string) predicate.OfflineSession
- func ConnIDEqualFold(v string) predicate.OfflineSession
- func ConnIDGT(v string) predicate.OfflineSession
- func ConnIDGTE(v string) predicate.OfflineSession
- func ConnIDHasPrefix(v string) predicate.OfflineSession
- func ConnIDHasSuffix(v string) predicate.OfflineSession
- func ConnIDIn(vs ...string) predicate.OfflineSession
- func ConnIDLT(v string) predicate.OfflineSession
- func ConnIDLTE(v string) predicate.OfflineSession
- func ConnIDNEQ(v string) predicate.OfflineSession
- func ConnIDNotIn(vs ...string) predicate.OfflineSession
- func ConnectorData(v []byte) predicate.OfflineSession
- func ConnectorDataEQ(v []byte) predicate.OfflineSession
- func ConnectorDataGT(v []byte) predicate.OfflineSession
- func ConnectorDataGTE(v []byte) predicate.OfflineSession
- func ConnectorDataIn(vs ...[]byte) predicate.OfflineSession
- func ConnectorDataIsNil() predicate.OfflineSession
- func ConnectorDataLT(v []byte) predicate.OfflineSession
- func ConnectorDataLTE(v []byte) predicate.OfflineSession
- func ConnectorDataNEQ(v []byte) predicate.OfflineSession
- func ConnectorDataNotIn(vs ...[]byte) predicate.OfflineSession
- func ConnectorDataNotNil() predicate.OfflineSession
- func ID(id string) predicate.OfflineSession
- func IDContainsFold(id string) predicate.OfflineSession
- func IDEQ(id string) predicate.OfflineSession
- func IDEqualFold(id string) predicate.OfflineSession
- func IDGT(id string) predicate.OfflineSession
- func IDGTE(id string) predicate.OfflineSession
- func IDIn(ids ...string) predicate.OfflineSession
- func IDLT(id string) predicate.OfflineSession
- func IDLTE(id string) predicate.OfflineSession
- func IDNEQ(id string) predicate.OfflineSession
- func IDNotIn(ids ...string) predicate.OfflineSession
- func Not(p predicate.OfflineSession) predicate.OfflineSession
- func Or(predicates ...predicate.OfflineSession) predicate.OfflineSession
- func Refresh(v []byte) predicate.OfflineSession
- func RefreshEQ(v []byte) predicate.OfflineSession
- func RefreshGT(v []byte) predicate.OfflineSession
- func RefreshGTE(v []byte) predicate.OfflineSession
- func RefreshIn(vs ...[]byte) predicate.OfflineSession
- func RefreshLT(v []byte) predicate.OfflineSession
- func RefreshLTE(v []byte) predicate.OfflineSession
- func RefreshNEQ(v []byte) predicate.OfflineSession
- func RefreshNotIn(vs ...[]byte) predicate.OfflineSession
- func UserID(v string) predicate.OfflineSession
- func UserIDContains(v string) predicate.OfflineSession
- func UserIDContainsFold(v string) predicate.OfflineSession
- func UserIDEQ(v string) predicate.OfflineSession
- func UserIDEqualFold(v string) predicate.OfflineSession
- func UserIDGT(v string) predicate.OfflineSession
- func UserIDGTE(v string) predicate.OfflineSession
- func UserIDHasPrefix(v string) predicate.OfflineSession
- func UserIDHasSuffix(v string) predicate.OfflineSession
- func UserIDIn(vs ...string) predicate.OfflineSession
- func UserIDLT(v string) predicate.OfflineSession
- func UserIDLTE(v string) predicate.OfflineSession
- func UserIDNEQ(v string) predicate.OfflineSession
- func UserIDNotIn(vs ...string) predicate.OfflineSession
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the offlinesession type in the database. Label = "offline_session" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldConnID holds the string denoting the conn_id field in the database. FieldConnID = "conn_id" // FieldRefresh holds the string denoting the refresh field in the database. FieldRefresh = "refresh" // FieldConnectorData holds the string denoting the connector_data field in the database. FieldConnectorData = "connector_data" // Table holds the table name of the offlinesession in the database. Table = "offline_sessions" )
Variables ¶
var ( // UserIDValidator is a validator for the "user_id" field. It is called by the builders before save. UserIDValidator func(string) error // ConnIDValidator is a validator for the "conn_id" field. It is called by the builders before save. ConnIDValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldUserID, FieldConnID, FieldRefresh, FieldConnectorData, }
Columns holds all SQL columns for offlinesession fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OfflineSession) predicate.OfflineSession
And groups predicates with the AND operator between them.
func ConnID ¶
func ConnID(v string) predicate.OfflineSession
ConnID applies equality check predicate on the "conn_id" field. It's identical to ConnIDEQ.
func ConnIDContains ¶
func ConnIDContains(v string) predicate.OfflineSession
ConnIDContains applies the Contains predicate on the "conn_id" field.
func ConnIDContainsFold ¶
func ConnIDContainsFold(v string) predicate.OfflineSession
ConnIDContainsFold applies the ContainsFold predicate on the "conn_id" field.
func ConnIDEQ ¶
func ConnIDEQ(v string) predicate.OfflineSession
ConnIDEQ applies the EQ predicate on the "conn_id" field.
func ConnIDEqualFold ¶
func ConnIDEqualFold(v string) predicate.OfflineSession
ConnIDEqualFold applies the EqualFold predicate on the "conn_id" field.
func ConnIDGT ¶
func ConnIDGT(v string) predicate.OfflineSession
ConnIDGT applies the GT predicate on the "conn_id" field.
func ConnIDGTE ¶
func ConnIDGTE(v string) predicate.OfflineSession
ConnIDGTE applies the GTE predicate on the "conn_id" field.
func ConnIDHasPrefix ¶
func ConnIDHasPrefix(v string) predicate.OfflineSession
ConnIDHasPrefix applies the HasPrefix predicate on the "conn_id" field.
func ConnIDHasSuffix ¶
func ConnIDHasSuffix(v string) predicate.OfflineSession
ConnIDHasSuffix applies the HasSuffix predicate on the "conn_id" field.
func ConnIDIn ¶
func ConnIDIn(vs ...string) predicate.OfflineSession
ConnIDIn applies the In predicate on the "conn_id" field.
func ConnIDLT ¶
func ConnIDLT(v string) predicate.OfflineSession
ConnIDLT applies the LT predicate on the "conn_id" field.
func ConnIDLTE ¶
func ConnIDLTE(v string) predicate.OfflineSession
ConnIDLTE applies the LTE predicate on the "conn_id" field.
func ConnIDNEQ ¶
func ConnIDNEQ(v string) predicate.OfflineSession
ConnIDNEQ applies the NEQ predicate on the "conn_id" field.
func ConnIDNotIn ¶
func ConnIDNotIn(vs ...string) predicate.OfflineSession
ConnIDNotIn applies the NotIn predicate on the "conn_id" field.
func ConnectorData ¶
func ConnectorData(v []byte) predicate.OfflineSession
ConnectorData applies equality check predicate on the "connector_data" field. It's identical to ConnectorDataEQ.
func ConnectorDataEQ ¶
func ConnectorDataEQ(v []byte) predicate.OfflineSession
ConnectorDataEQ applies the EQ predicate on the "connector_data" field.
func ConnectorDataGT ¶
func ConnectorDataGT(v []byte) predicate.OfflineSession
ConnectorDataGT applies the GT predicate on the "connector_data" field.
func ConnectorDataGTE ¶
func ConnectorDataGTE(v []byte) predicate.OfflineSession
ConnectorDataGTE applies the GTE predicate on the "connector_data" field.
func ConnectorDataIn ¶
func ConnectorDataIn(vs ...[]byte) predicate.OfflineSession
ConnectorDataIn applies the In predicate on the "connector_data" field.
func ConnectorDataIsNil ¶
func ConnectorDataIsNil() predicate.OfflineSession
ConnectorDataIsNil applies the IsNil predicate on the "connector_data" field.
func ConnectorDataLT ¶
func ConnectorDataLT(v []byte) predicate.OfflineSession
ConnectorDataLT applies the LT predicate on the "connector_data" field.
func ConnectorDataLTE ¶
func ConnectorDataLTE(v []byte) predicate.OfflineSession
ConnectorDataLTE applies the LTE predicate on the "connector_data" field.
func ConnectorDataNEQ ¶
func ConnectorDataNEQ(v []byte) predicate.OfflineSession
ConnectorDataNEQ applies the NEQ predicate on the "connector_data" field.
func ConnectorDataNotIn ¶
func ConnectorDataNotIn(vs ...[]byte) predicate.OfflineSession
ConnectorDataNotIn applies the NotIn predicate on the "connector_data" field.
func ConnectorDataNotNil ¶
func ConnectorDataNotNil() predicate.OfflineSession
ConnectorDataNotNil applies the NotNil predicate on the "connector_data" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.OfflineSession
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.OfflineSession
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.OfflineSession
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.OfflineSession
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.OfflineSession
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.OfflineSession
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.OfflineSession
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.OfflineSession
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.OfflineSession
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.OfflineSession
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OfflineSession) predicate.OfflineSession
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OfflineSession) predicate.OfflineSession
Or groups predicates with the OR operator between them.
func Refresh ¶
func Refresh(v []byte) predicate.OfflineSession
Refresh applies equality check predicate on the "refresh" field. It's identical to RefreshEQ.
func RefreshEQ ¶
func RefreshEQ(v []byte) predicate.OfflineSession
RefreshEQ applies the EQ predicate on the "refresh" field.
func RefreshGT ¶
func RefreshGT(v []byte) predicate.OfflineSession
RefreshGT applies the GT predicate on the "refresh" field.
func RefreshGTE ¶
func RefreshGTE(v []byte) predicate.OfflineSession
RefreshGTE applies the GTE predicate on the "refresh" field.
func RefreshIn ¶
func RefreshIn(vs ...[]byte) predicate.OfflineSession
RefreshIn applies the In predicate on the "refresh" field.
func RefreshLT ¶
func RefreshLT(v []byte) predicate.OfflineSession
RefreshLT applies the LT predicate on the "refresh" field.
func RefreshLTE ¶
func RefreshLTE(v []byte) predicate.OfflineSession
RefreshLTE applies the LTE predicate on the "refresh" field.
func RefreshNEQ ¶
func RefreshNEQ(v []byte) predicate.OfflineSession
RefreshNEQ applies the NEQ predicate on the "refresh" field.
func RefreshNotIn ¶
func RefreshNotIn(vs ...[]byte) predicate.OfflineSession
RefreshNotIn applies the NotIn predicate on the "refresh" field.
func UserID ¶
func UserID(v string) predicate.OfflineSession
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.OfflineSession
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.OfflineSession
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.OfflineSession
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.OfflineSession
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.OfflineSession
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.OfflineSession
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.OfflineSession
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.OfflineSession
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.OfflineSession
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.OfflineSession
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.OfflineSession
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.OfflineSession
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.OfflineSession
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 ¶
This section is empty.