offlinesession

package
v0.0.0-...-c3b95e6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

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

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

Columns holds all SQL columns for offlinesession fields.

Functions

func And

And groups predicates with the AND operator between them.

func ConnID

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

func IDIn(ids ...string) predicate.OfflineSession

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 ...string) predicate.OfflineSession

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

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

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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