Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BrowserSession) predicate.BrowserSession
- func CreatedAt(v time.Time) predicate.BrowserSession
- func CreatedAtEQ(v time.Time) predicate.BrowserSession
- func CreatedAtGT(v time.Time) predicate.BrowserSession
- func CreatedAtGTE(v time.Time) predicate.BrowserSession
- func CreatedAtIn(vs ...time.Time) predicate.BrowserSession
- func CreatedAtLT(v time.Time) predicate.BrowserSession
- func CreatedAtLTE(v time.Time) predicate.BrowserSession
- func CreatedAtNEQ(v time.Time) predicate.BrowserSession
- func CreatedAtNotIn(vs ...time.Time) predicate.BrowserSession
- func CsrfSecret(v string) predicate.BrowserSession
- func CsrfSecretContains(v string) predicate.BrowserSession
- func CsrfSecretContainsFold(v string) predicate.BrowserSession
- func CsrfSecretEQ(v string) predicate.BrowserSession
- func CsrfSecretEqualFold(v string) predicate.BrowserSession
- func CsrfSecretGT(v string) predicate.BrowserSession
- func CsrfSecretGTE(v string) predicate.BrowserSession
- func CsrfSecretHasPrefix(v string) predicate.BrowserSession
- func CsrfSecretHasSuffix(v string) predicate.BrowserSession
- func CsrfSecretIn(vs ...string) predicate.BrowserSession
- func CsrfSecretLT(v string) predicate.BrowserSession
- func CsrfSecretLTE(v string) predicate.BrowserSession
- func CsrfSecretNEQ(v string) predicate.BrowserSession
- func CsrfSecretNotIn(vs ...string) predicate.BrowserSession
- func DeviceBrowser(v string) predicate.BrowserSession
- func DeviceBrowserContains(v string) predicate.BrowserSession
- func DeviceBrowserContainsFold(v string) predicate.BrowserSession
- func DeviceBrowserEQ(v string) predicate.BrowserSession
- func DeviceBrowserEqualFold(v string) predicate.BrowserSession
- func DeviceBrowserGT(v string) predicate.BrowserSession
- func DeviceBrowserGTE(v string) predicate.BrowserSession
- func DeviceBrowserHasPrefix(v string) predicate.BrowserSession
- func DeviceBrowserHasSuffix(v string) predicate.BrowserSession
- func DeviceBrowserIn(vs ...string) predicate.BrowserSession
- func DeviceBrowserLT(v string) predicate.BrowserSession
- func DeviceBrowserLTE(v string) predicate.BrowserSession
- func DeviceBrowserNEQ(v string) predicate.BrowserSession
- func DeviceBrowserNotIn(vs ...string) predicate.BrowserSession
- func DeviceKind(v string) predicate.BrowserSession
- func DeviceKindContains(v string) predicate.BrowserSession
- func DeviceKindContainsFold(v string) predicate.BrowserSession
- func DeviceKindEQ(v string) predicate.BrowserSession
- func DeviceKindEqualFold(v string) predicate.BrowserSession
- func DeviceKindGT(v string) predicate.BrowserSession
- func DeviceKindGTE(v string) predicate.BrowserSession
- func DeviceKindHasPrefix(v string) predicate.BrowserSession
- func DeviceKindHasSuffix(v string) predicate.BrowserSession
- func DeviceKindIn(vs ...string) predicate.BrowserSession
- func DeviceKindLT(v string) predicate.BrowserSession
- func DeviceKindLTE(v string) predicate.BrowserSession
- func DeviceKindNEQ(v string) predicate.BrowserSession
- func DeviceKindNotIn(vs ...string) predicate.BrowserSession
- func DeviceLabel(v string) predicate.BrowserSession
- func DeviceLabelContains(v string) predicate.BrowserSession
- func DeviceLabelContainsFold(v string) predicate.BrowserSession
- func DeviceLabelEQ(v string) predicate.BrowserSession
- func DeviceLabelEqualFold(v string) predicate.BrowserSession
- func DeviceLabelGT(v string) predicate.BrowserSession
- func DeviceLabelGTE(v string) predicate.BrowserSession
- func DeviceLabelHasPrefix(v string) predicate.BrowserSession
- func DeviceLabelHasSuffix(v string) predicate.BrowserSession
- func DeviceLabelIn(vs ...string) predicate.BrowserSession
- func DeviceLabelLT(v string) predicate.BrowserSession
- func DeviceLabelLTE(v string) predicate.BrowserSession
- func DeviceLabelNEQ(v string) predicate.BrowserSession
- func DeviceLabelNotIn(vs ...string) predicate.BrowserSession
- func DeviceOs(v string) predicate.BrowserSession
- func DeviceOsContains(v string) predicate.BrowserSession
- func DeviceOsContainsFold(v string) predicate.BrowserSession
- func DeviceOsEQ(v string) predicate.BrowserSession
- func DeviceOsEqualFold(v string) predicate.BrowserSession
- func DeviceOsGT(v string) predicate.BrowserSession
- func DeviceOsGTE(v string) predicate.BrowserSession
- func DeviceOsHasPrefix(v string) predicate.BrowserSession
- func DeviceOsHasSuffix(v string) predicate.BrowserSession
- func DeviceOsIn(vs ...string) predicate.BrowserSession
- func DeviceOsLT(v string) predicate.BrowserSession
- func DeviceOsLTE(v string) predicate.BrowserSession
- func DeviceOsNEQ(v string) predicate.BrowserSession
- func DeviceOsNotIn(vs ...string) predicate.BrowserSession
- func ExpiresAt(v time.Time) predicate.BrowserSession
- func ExpiresAtEQ(v time.Time) predicate.BrowserSession
- func ExpiresAtGT(v time.Time) predicate.BrowserSession
- func ExpiresAtGTE(v time.Time) predicate.BrowserSession
- func ExpiresAtIn(vs ...time.Time) predicate.BrowserSession
- func ExpiresAtLT(v time.Time) predicate.BrowserSession
- func ExpiresAtLTE(v time.Time) predicate.BrowserSession
- func ExpiresAtNEQ(v time.Time) predicate.BrowserSession
- func ExpiresAtNotIn(vs ...time.Time) predicate.BrowserSession
- func ID(id uuid.UUID) predicate.BrowserSession
- func IDEQ(id uuid.UUID) predicate.BrowserSession
- func IDGT(id uuid.UUID) predicate.BrowserSession
- func IDGTE(id uuid.UUID) predicate.BrowserSession
- func IDIn(ids ...uuid.UUID) predicate.BrowserSession
- func IDLT(id uuid.UUID) predicate.BrowserSession
- func IDLTE(id uuid.UUID) predicate.BrowserSession
- func IDNEQ(id uuid.UUID) predicate.BrowserSession
- func IDNotIn(ids ...uuid.UUID) predicate.BrowserSession
- func IPPrefix(v string) predicate.BrowserSession
- func IPPrefixContains(v string) predicate.BrowserSession
- func IPPrefixContainsFold(v string) predicate.BrowserSession
- func IPPrefixEQ(v string) predicate.BrowserSession
- func IPPrefixEqualFold(v string) predicate.BrowserSession
- func IPPrefixGT(v string) predicate.BrowserSession
- func IPPrefixGTE(v string) predicate.BrowserSession
- func IPPrefixHasPrefix(v string) predicate.BrowserSession
- func IPPrefixHasSuffix(v string) predicate.BrowserSession
- func IPPrefixIn(vs ...string) predicate.BrowserSession
- func IPPrefixLT(v string) predicate.BrowserSession
- func IPPrefixLTE(v string) predicate.BrowserSession
- func IPPrefixNEQ(v string) predicate.BrowserSession
- func IPPrefixNotIn(vs ...string) predicate.BrowserSession
- func IdleExpiresAt(v time.Time) predicate.BrowserSession
- func IdleExpiresAtEQ(v time.Time) predicate.BrowserSession
- func IdleExpiresAtGT(v time.Time) predicate.BrowserSession
- func IdleExpiresAtGTE(v time.Time) predicate.BrowserSession
- func IdleExpiresAtIn(vs ...time.Time) predicate.BrowserSession
- func IdleExpiresAtLT(v time.Time) predicate.BrowserSession
- func IdleExpiresAtLTE(v time.Time) predicate.BrowserSession
- func IdleExpiresAtNEQ(v time.Time) predicate.BrowserSession
- func IdleExpiresAtNotIn(vs ...time.Time) predicate.BrowserSession
- func Not(p predicate.BrowserSession) predicate.BrowserSession
- func Or(predicates ...predicate.BrowserSession) predicate.BrowserSession
- func RevokedAt(v time.Time) predicate.BrowserSession
- func RevokedAtEQ(v time.Time) predicate.BrowserSession
- func RevokedAtGT(v time.Time) predicate.BrowserSession
- func RevokedAtGTE(v time.Time) predicate.BrowserSession
- func RevokedAtIn(vs ...time.Time) predicate.BrowserSession
- func RevokedAtIsNil() predicate.BrowserSession
- func RevokedAtLT(v time.Time) predicate.BrowserSession
- func RevokedAtLTE(v time.Time) predicate.BrowserSession
- func RevokedAtNEQ(v time.Time) predicate.BrowserSession
- func RevokedAtNotIn(vs ...time.Time) predicate.BrowserSession
- func RevokedAtNotNil() predicate.BrowserSession
- func SessionHash(v string) predicate.BrowserSession
- func SessionHashContains(v string) predicate.BrowserSession
- func SessionHashContainsFold(v string) predicate.BrowserSession
- func SessionHashEQ(v string) predicate.BrowserSession
- func SessionHashEqualFold(v string) predicate.BrowserSession
- func SessionHashGT(v string) predicate.BrowserSession
- func SessionHashGTE(v string) predicate.BrowserSession
- func SessionHashHasPrefix(v string) predicate.BrowserSession
- func SessionHashHasSuffix(v string) predicate.BrowserSession
- func SessionHashIn(vs ...string) predicate.BrowserSession
- func SessionHashLT(v string) predicate.BrowserSession
- func SessionHashLTE(v string) predicate.BrowserSession
- func SessionHashNEQ(v string) predicate.BrowserSession
- func SessionHashNotIn(vs ...string) predicate.BrowserSession
- func UpdatedAt(v time.Time) predicate.BrowserSession
- func UpdatedAtEQ(v time.Time) predicate.BrowserSession
- func UpdatedAtGT(v time.Time) predicate.BrowserSession
- func UpdatedAtGTE(v time.Time) predicate.BrowserSession
- func UpdatedAtIn(vs ...time.Time) predicate.BrowserSession
- func UpdatedAtLT(v time.Time) predicate.BrowserSession
- func UpdatedAtLTE(v time.Time) predicate.BrowserSession
- func UpdatedAtNEQ(v time.Time) predicate.BrowserSession
- func UpdatedAtNotIn(vs ...time.Time) predicate.BrowserSession
- func UserAgentHash(v string) predicate.BrowserSession
- func UserAgentHashContains(v string) predicate.BrowserSession
- func UserAgentHashContainsFold(v string) predicate.BrowserSession
- func UserAgentHashEQ(v string) predicate.BrowserSession
- func UserAgentHashEqualFold(v string) predicate.BrowserSession
- func UserAgentHashGT(v string) predicate.BrowserSession
- func UserAgentHashGTE(v string) predicate.BrowserSession
- func UserAgentHashHasPrefix(v string) predicate.BrowserSession
- func UserAgentHashHasSuffix(v string) predicate.BrowserSession
- func UserAgentHashIn(vs ...string) predicate.BrowserSession
- func UserAgentHashLT(v string) predicate.BrowserSession
- func UserAgentHashLTE(v string) predicate.BrowserSession
- func UserAgentHashNEQ(v string) predicate.BrowserSession
- func UserAgentHashNotIn(vs ...string) predicate.BrowserSession
- func UserID(v uuid.UUID) predicate.BrowserSession
- func UserIDEQ(v uuid.UUID) predicate.BrowserSession
- func UserIDGT(v uuid.UUID) predicate.BrowserSession
- func UserIDGTE(v uuid.UUID) predicate.BrowserSession
- func UserIDIn(vs ...uuid.UUID) predicate.BrowserSession
- func UserIDLT(v uuid.UUID) predicate.BrowserSession
- func UserIDLTE(v uuid.UUID) predicate.BrowserSession
- func UserIDNEQ(v uuid.UUID) predicate.BrowserSession
- func UserIDNotIn(vs ...uuid.UUID) predicate.BrowserSession
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCsrfSecret(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceBrowser(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceKind(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceLabel(opts ...sql.OrderTermOption) OrderOption
- func ByDeviceOs(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIPPrefix(opts ...sql.OrderTermOption) OrderOption
- func ByIdleExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func BySessionHash(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserAgentHash(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the browsersession type in the database. Label = "browser_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" // FieldSessionHash holds the string denoting the session_hash field in the database. FieldSessionHash = "session_hash" // FieldDeviceKind holds the string denoting the device_kind field in the database. FieldDeviceKind = "device_kind" // FieldDeviceOs holds the string denoting the device_os field in the database. FieldDeviceOs = "device_os" // FieldDeviceBrowser holds the string denoting the device_browser field in the database. FieldDeviceBrowser = "device_browser" // FieldDeviceLabel holds the string denoting the device_label field in the database. FieldDeviceLabel = "device_label" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldIdleExpiresAt holds the string denoting the idle_expires_at field in the database. FieldIdleExpiresAt = "idle_expires_at" // FieldCsrfSecret holds the string denoting the csrf_secret field in the database. FieldCsrfSecret = "csrf_secret" // FieldUserAgentHash holds the string denoting the user_agent_hash field in the database. FieldUserAgentHash = "user_agent_hash" // FieldIPPrefix holds the string denoting the ip_prefix field in the database. FieldIPPrefix = "ip_prefix" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // 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 browsersession in the database. Table = "browser_sessions" )
Variables ¶
var ( // SessionHashValidator is a validator for the "session_hash" field. It is called by the builders before save. SessionHashValidator func(string) error // DefaultDeviceKind holds the default value on creation for the "device_kind" field. DefaultDeviceKind string // DefaultDeviceOs holds the default value on creation for the "device_os" field. DefaultDeviceOs string // DefaultDeviceBrowser holds the default value on creation for the "device_browser" field. DefaultDeviceBrowser string // DefaultDeviceLabel holds the default value on creation for the "device_label" field. DefaultDeviceLabel string // CsrfSecretValidator is a validator for the "csrf_secret" field. It is called by the builders before save. CsrfSecretValidator func(string) error // DefaultUserAgentHash holds the default value on creation for the "user_agent_hash" field. DefaultUserAgentHash string // DefaultIPPrefix holds the default value on creation for the "ip_prefix" field. DefaultIPPrefix string // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldUserID, FieldSessionHash, FieldDeviceKind, FieldDeviceOs, FieldDeviceBrowser, FieldDeviceLabel, FieldExpiresAt, FieldIdleExpiresAt, FieldCsrfSecret, FieldUserAgentHash, FieldIPPrefix, FieldRevokedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for browsersession fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BrowserSession) predicate.BrowserSession
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.BrowserSession
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BrowserSession
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BrowserSession
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.BrowserSession
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.BrowserSession
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.BrowserSession
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.BrowserSession
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.BrowserSession
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.BrowserSession
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CsrfSecret ¶
func CsrfSecret(v string) predicate.BrowserSession
CsrfSecret applies equality check predicate on the "csrf_secret" field. It's identical to CsrfSecretEQ.
func CsrfSecretContains ¶
func CsrfSecretContains(v string) predicate.BrowserSession
CsrfSecretContains applies the Contains predicate on the "csrf_secret" field.
func CsrfSecretContainsFold ¶
func CsrfSecretContainsFold(v string) predicate.BrowserSession
CsrfSecretContainsFold applies the ContainsFold predicate on the "csrf_secret" field.
func CsrfSecretEQ ¶
func CsrfSecretEQ(v string) predicate.BrowserSession
CsrfSecretEQ applies the EQ predicate on the "csrf_secret" field.
func CsrfSecretEqualFold ¶
func CsrfSecretEqualFold(v string) predicate.BrowserSession
CsrfSecretEqualFold applies the EqualFold predicate on the "csrf_secret" field.
func CsrfSecretGT ¶
func CsrfSecretGT(v string) predicate.BrowserSession
CsrfSecretGT applies the GT predicate on the "csrf_secret" field.
func CsrfSecretGTE ¶
func CsrfSecretGTE(v string) predicate.BrowserSession
CsrfSecretGTE applies the GTE predicate on the "csrf_secret" field.
func CsrfSecretHasPrefix ¶
func CsrfSecretHasPrefix(v string) predicate.BrowserSession
CsrfSecretHasPrefix applies the HasPrefix predicate on the "csrf_secret" field.
func CsrfSecretHasSuffix ¶
func CsrfSecretHasSuffix(v string) predicate.BrowserSession
CsrfSecretHasSuffix applies the HasSuffix predicate on the "csrf_secret" field.
func CsrfSecretIn ¶
func CsrfSecretIn(vs ...string) predicate.BrowserSession
CsrfSecretIn applies the In predicate on the "csrf_secret" field.
func CsrfSecretLT ¶
func CsrfSecretLT(v string) predicate.BrowserSession
CsrfSecretLT applies the LT predicate on the "csrf_secret" field.
func CsrfSecretLTE ¶
func CsrfSecretLTE(v string) predicate.BrowserSession
CsrfSecretLTE applies the LTE predicate on the "csrf_secret" field.
func CsrfSecretNEQ ¶
func CsrfSecretNEQ(v string) predicate.BrowserSession
CsrfSecretNEQ applies the NEQ predicate on the "csrf_secret" field.
func CsrfSecretNotIn ¶
func CsrfSecretNotIn(vs ...string) predicate.BrowserSession
CsrfSecretNotIn applies the NotIn predicate on the "csrf_secret" field.
func DeviceBrowser ¶ added in v0.3.0
func DeviceBrowser(v string) predicate.BrowserSession
DeviceBrowser applies equality check predicate on the "device_browser" field. It's identical to DeviceBrowserEQ.
func DeviceBrowserContains ¶ added in v0.3.0
func DeviceBrowserContains(v string) predicate.BrowserSession
DeviceBrowserContains applies the Contains predicate on the "device_browser" field.
func DeviceBrowserContainsFold ¶ added in v0.3.0
func DeviceBrowserContainsFold(v string) predicate.BrowserSession
DeviceBrowserContainsFold applies the ContainsFold predicate on the "device_browser" field.
func DeviceBrowserEQ ¶ added in v0.3.0
func DeviceBrowserEQ(v string) predicate.BrowserSession
DeviceBrowserEQ applies the EQ predicate on the "device_browser" field.
func DeviceBrowserEqualFold ¶ added in v0.3.0
func DeviceBrowserEqualFold(v string) predicate.BrowserSession
DeviceBrowserEqualFold applies the EqualFold predicate on the "device_browser" field.
func DeviceBrowserGT ¶ added in v0.3.0
func DeviceBrowserGT(v string) predicate.BrowserSession
DeviceBrowserGT applies the GT predicate on the "device_browser" field.
func DeviceBrowserGTE ¶ added in v0.3.0
func DeviceBrowserGTE(v string) predicate.BrowserSession
DeviceBrowserGTE applies the GTE predicate on the "device_browser" field.
func DeviceBrowserHasPrefix ¶ added in v0.3.0
func DeviceBrowserHasPrefix(v string) predicate.BrowserSession
DeviceBrowserHasPrefix applies the HasPrefix predicate on the "device_browser" field.
func DeviceBrowserHasSuffix ¶ added in v0.3.0
func DeviceBrowserHasSuffix(v string) predicate.BrowserSession
DeviceBrowserHasSuffix applies the HasSuffix predicate on the "device_browser" field.
func DeviceBrowserIn ¶ added in v0.3.0
func DeviceBrowserIn(vs ...string) predicate.BrowserSession
DeviceBrowserIn applies the In predicate on the "device_browser" field.
func DeviceBrowserLT ¶ added in v0.3.0
func DeviceBrowserLT(v string) predicate.BrowserSession
DeviceBrowserLT applies the LT predicate on the "device_browser" field.
func DeviceBrowserLTE ¶ added in v0.3.0
func DeviceBrowserLTE(v string) predicate.BrowserSession
DeviceBrowserLTE applies the LTE predicate on the "device_browser" field.
func DeviceBrowserNEQ ¶ added in v0.3.0
func DeviceBrowserNEQ(v string) predicate.BrowserSession
DeviceBrowserNEQ applies the NEQ predicate on the "device_browser" field.
func DeviceBrowserNotIn ¶ added in v0.3.0
func DeviceBrowserNotIn(vs ...string) predicate.BrowserSession
DeviceBrowserNotIn applies the NotIn predicate on the "device_browser" field.
func DeviceKind ¶ added in v0.3.0
func DeviceKind(v string) predicate.BrowserSession
DeviceKind applies equality check predicate on the "device_kind" field. It's identical to DeviceKindEQ.
func DeviceKindContains ¶ added in v0.3.0
func DeviceKindContains(v string) predicate.BrowserSession
DeviceKindContains applies the Contains predicate on the "device_kind" field.
func DeviceKindContainsFold ¶ added in v0.3.0
func DeviceKindContainsFold(v string) predicate.BrowserSession
DeviceKindContainsFold applies the ContainsFold predicate on the "device_kind" field.
func DeviceKindEQ ¶ added in v0.3.0
func DeviceKindEQ(v string) predicate.BrowserSession
DeviceKindEQ applies the EQ predicate on the "device_kind" field.
func DeviceKindEqualFold ¶ added in v0.3.0
func DeviceKindEqualFold(v string) predicate.BrowserSession
DeviceKindEqualFold applies the EqualFold predicate on the "device_kind" field.
func DeviceKindGT ¶ added in v0.3.0
func DeviceKindGT(v string) predicate.BrowserSession
DeviceKindGT applies the GT predicate on the "device_kind" field.
func DeviceKindGTE ¶ added in v0.3.0
func DeviceKindGTE(v string) predicate.BrowserSession
DeviceKindGTE applies the GTE predicate on the "device_kind" field.
func DeviceKindHasPrefix ¶ added in v0.3.0
func DeviceKindHasPrefix(v string) predicate.BrowserSession
DeviceKindHasPrefix applies the HasPrefix predicate on the "device_kind" field.
func DeviceKindHasSuffix ¶ added in v0.3.0
func DeviceKindHasSuffix(v string) predicate.BrowserSession
DeviceKindHasSuffix applies the HasSuffix predicate on the "device_kind" field.
func DeviceKindIn ¶ added in v0.3.0
func DeviceKindIn(vs ...string) predicate.BrowserSession
DeviceKindIn applies the In predicate on the "device_kind" field.
func DeviceKindLT ¶ added in v0.3.0
func DeviceKindLT(v string) predicate.BrowserSession
DeviceKindLT applies the LT predicate on the "device_kind" field.
func DeviceKindLTE ¶ added in v0.3.0
func DeviceKindLTE(v string) predicate.BrowserSession
DeviceKindLTE applies the LTE predicate on the "device_kind" field.
func DeviceKindNEQ ¶ added in v0.3.0
func DeviceKindNEQ(v string) predicate.BrowserSession
DeviceKindNEQ applies the NEQ predicate on the "device_kind" field.
func DeviceKindNotIn ¶ added in v0.3.0
func DeviceKindNotIn(vs ...string) predicate.BrowserSession
DeviceKindNotIn applies the NotIn predicate on the "device_kind" field.
func DeviceLabel ¶ added in v0.3.0
func DeviceLabel(v string) predicate.BrowserSession
DeviceLabel applies equality check predicate on the "device_label" field. It's identical to DeviceLabelEQ.
func DeviceLabelContains ¶ added in v0.3.0
func DeviceLabelContains(v string) predicate.BrowserSession
DeviceLabelContains applies the Contains predicate on the "device_label" field.
func DeviceLabelContainsFold ¶ added in v0.3.0
func DeviceLabelContainsFold(v string) predicate.BrowserSession
DeviceLabelContainsFold applies the ContainsFold predicate on the "device_label" field.
func DeviceLabelEQ ¶ added in v0.3.0
func DeviceLabelEQ(v string) predicate.BrowserSession
DeviceLabelEQ applies the EQ predicate on the "device_label" field.
func DeviceLabelEqualFold ¶ added in v0.3.0
func DeviceLabelEqualFold(v string) predicate.BrowserSession
DeviceLabelEqualFold applies the EqualFold predicate on the "device_label" field.
func DeviceLabelGT ¶ added in v0.3.0
func DeviceLabelGT(v string) predicate.BrowserSession
DeviceLabelGT applies the GT predicate on the "device_label" field.
func DeviceLabelGTE ¶ added in v0.3.0
func DeviceLabelGTE(v string) predicate.BrowserSession
DeviceLabelGTE applies the GTE predicate on the "device_label" field.
func DeviceLabelHasPrefix ¶ added in v0.3.0
func DeviceLabelHasPrefix(v string) predicate.BrowserSession
DeviceLabelHasPrefix applies the HasPrefix predicate on the "device_label" field.
func DeviceLabelHasSuffix ¶ added in v0.3.0
func DeviceLabelHasSuffix(v string) predicate.BrowserSession
DeviceLabelHasSuffix applies the HasSuffix predicate on the "device_label" field.
func DeviceLabelIn ¶ added in v0.3.0
func DeviceLabelIn(vs ...string) predicate.BrowserSession
DeviceLabelIn applies the In predicate on the "device_label" field.
func DeviceLabelLT ¶ added in v0.3.0
func DeviceLabelLT(v string) predicate.BrowserSession
DeviceLabelLT applies the LT predicate on the "device_label" field.
func DeviceLabelLTE ¶ added in v0.3.0
func DeviceLabelLTE(v string) predicate.BrowserSession
DeviceLabelLTE applies the LTE predicate on the "device_label" field.
func DeviceLabelNEQ ¶ added in v0.3.0
func DeviceLabelNEQ(v string) predicate.BrowserSession
DeviceLabelNEQ applies the NEQ predicate on the "device_label" field.
func DeviceLabelNotIn ¶ added in v0.3.0
func DeviceLabelNotIn(vs ...string) predicate.BrowserSession
DeviceLabelNotIn applies the NotIn predicate on the "device_label" field.
func DeviceOs ¶ added in v0.3.0
func DeviceOs(v string) predicate.BrowserSession
DeviceOs applies equality check predicate on the "device_os" field. It's identical to DeviceOsEQ.
func DeviceOsContains ¶ added in v0.3.0
func DeviceOsContains(v string) predicate.BrowserSession
DeviceOsContains applies the Contains predicate on the "device_os" field.
func DeviceOsContainsFold ¶ added in v0.3.0
func DeviceOsContainsFold(v string) predicate.BrowserSession
DeviceOsContainsFold applies the ContainsFold predicate on the "device_os" field.
func DeviceOsEQ ¶ added in v0.3.0
func DeviceOsEQ(v string) predicate.BrowserSession
DeviceOsEQ applies the EQ predicate on the "device_os" field.
func DeviceOsEqualFold ¶ added in v0.3.0
func DeviceOsEqualFold(v string) predicate.BrowserSession
DeviceOsEqualFold applies the EqualFold predicate on the "device_os" field.
func DeviceOsGT ¶ added in v0.3.0
func DeviceOsGT(v string) predicate.BrowserSession
DeviceOsGT applies the GT predicate on the "device_os" field.
func DeviceOsGTE ¶ added in v0.3.0
func DeviceOsGTE(v string) predicate.BrowserSession
DeviceOsGTE applies the GTE predicate on the "device_os" field.
func DeviceOsHasPrefix ¶ added in v0.3.0
func DeviceOsHasPrefix(v string) predicate.BrowserSession
DeviceOsHasPrefix applies the HasPrefix predicate on the "device_os" field.
func DeviceOsHasSuffix ¶ added in v0.3.0
func DeviceOsHasSuffix(v string) predicate.BrowserSession
DeviceOsHasSuffix applies the HasSuffix predicate on the "device_os" field.
func DeviceOsIn ¶ added in v0.3.0
func DeviceOsIn(vs ...string) predicate.BrowserSession
DeviceOsIn applies the In predicate on the "device_os" field.
func DeviceOsLT ¶ added in v0.3.0
func DeviceOsLT(v string) predicate.BrowserSession
DeviceOsLT applies the LT predicate on the "device_os" field.
func DeviceOsLTE ¶ added in v0.3.0
func DeviceOsLTE(v string) predicate.BrowserSession
DeviceOsLTE applies the LTE predicate on the "device_os" field.
func DeviceOsNEQ ¶ added in v0.3.0
func DeviceOsNEQ(v string) predicate.BrowserSession
DeviceOsNEQ applies the NEQ predicate on the "device_os" field.
func DeviceOsNotIn ¶ added in v0.3.0
func DeviceOsNotIn(vs ...string) predicate.BrowserSession
DeviceOsNotIn applies the NotIn predicate on the "device_os" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.BrowserSession
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.BrowserSession
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.BrowserSession
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.BrowserSession
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.BrowserSession
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.BrowserSession
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.BrowserSession
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.BrowserSession
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.BrowserSession
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ID ¶
func ID(id uuid.UUID) predicate.BrowserSession
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.BrowserSession
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.BrowserSession
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.BrowserSession
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.BrowserSession
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.BrowserSession
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.BrowserSession
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.BrowserSession
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.BrowserSession
IDNotIn applies the NotIn predicate on the ID field.
func IPPrefix ¶
func IPPrefix(v string) predicate.BrowserSession
IPPrefix applies equality check predicate on the "ip_prefix" field. It's identical to IPPrefixEQ.
func IPPrefixContains ¶
func IPPrefixContains(v string) predicate.BrowserSession
IPPrefixContains applies the Contains predicate on the "ip_prefix" field.
func IPPrefixContainsFold ¶
func IPPrefixContainsFold(v string) predicate.BrowserSession
IPPrefixContainsFold applies the ContainsFold predicate on the "ip_prefix" field.
func IPPrefixEQ ¶
func IPPrefixEQ(v string) predicate.BrowserSession
IPPrefixEQ applies the EQ predicate on the "ip_prefix" field.
func IPPrefixEqualFold ¶
func IPPrefixEqualFold(v string) predicate.BrowserSession
IPPrefixEqualFold applies the EqualFold predicate on the "ip_prefix" field.
func IPPrefixGT ¶
func IPPrefixGT(v string) predicate.BrowserSession
IPPrefixGT applies the GT predicate on the "ip_prefix" field.
func IPPrefixGTE ¶
func IPPrefixGTE(v string) predicate.BrowserSession
IPPrefixGTE applies the GTE predicate on the "ip_prefix" field.
func IPPrefixHasPrefix ¶
func IPPrefixHasPrefix(v string) predicate.BrowserSession
IPPrefixHasPrefix applies the HasPrefix predicate on the "ip_prefix" field.
func IPPrefixHasSuffix ¶
func IPPrefixHasSuffix(v string) predicate.BrowserSession
IPPrefixHasSuffix applies the HasSuffix predicate on the "ip_prefix" field.
func IPPrefixIn ¶
func IPPrefixIn(vs ...string) predicate.BrowserSession
IPPrefixIn applies the In predicate on the "ip_prefix" field.
func IPPrefixLT ¶
func IPPrefixLT(v string) predicate.BrowserSession
IPPrefixLT applies the LT predicate on the "ip_prefix" field.
func IPPrefixLTE ¶
func IPPrefixLTE(v string) predicate.BrowserSession
IPPrefixLTE applies the LTE predicate on the "ip_prefix" field.
func IPPrefixNEQ ¶
func IPPrefixNEQ(v string) predicate.BrowserSession
IPPrefixNEQ applies the NEQ predicate on the "ip_prefix" field.
func IPPrefixNotIn ¶
func IPPrefixNotIn(vs ...string) predicate.BrowserSession
IPPrefixNotIn applies the NotIn predicate on the "ip_prefix" field.
func IdleExpiresAt ¶
func IdleExpiresAt(v time.Time) predicate.BrowserSession
IdleExpiresAt applies equality check predicate on the "idle_expires_at" field. It's identical to IdleExpiresAtEQ.
func IdleExpiresAtEQ ¶
func IdleExpiresAtEQ(v time.Time) predicate.BrowserSession
IdleExpiresAtEQ applies the EQ predicate on the "idle_expires_at" field.
func IdleExpiresAtGT ¶
func IdleExpiresAtGT(v time.Time) predicate.BrowserSession
IdleExpiresAtGT applies the GT predicate on the "idle_expires_at" field.
func IdleExpiresAtGTE ¶
func IdleExpiresAtGTE(v time.Time) predicate.BrowserSession
IdleExpiresAtGTE applies the GTE predicate on the "idle_expires_at" field.
func IdleExpiresAtIn ¶
func IdleExpiresAtIn(vs ...time.Time) predicate.BrowserSession
IdleExpiresAtIn applies the In predicate on the "idle_expires_at" field.
func IdleExpiresAtLT ¶
func IdleExpiresAtLT(v time.Time) predicate.BrowserSession
IdleExpiresAtLT applies the LT predicate on the "idle_expires_at" field.
func IdleExpiresAtLTE ¶
func IdleExpiresAtLTE(v time.Time) predicate.BrowserSession
IdleExpiresAtLTE applies the LTE predicate on the "idle_expires_at" field.
func IdleExpiresAtNEQ ¶
func IdleExpiresAtNEQ(v time.Time) predicate.BrowserSession
IdleExpiresAtNEQ applies the NEQ predicate on the "idle_expires_at" field.
func IdleExpiresAtNotIn ¶
func IdleExpiresAtNotIn(vs ...time.Time) predicate.BrowserSession
IdleExpiresAtNotIn applies the NotIn predicate on the "idle_expires_at" field.
func Not ¶
func Not(p predicate.BrowserSession) predicate.BrowserSession
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BrowserSession) predicate.BrowserSession
Or groups predicates with the OR operator between them.
func RevokedAt ¶
func RevokedAt(v time.Time) predicate.BrowserSession
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
func RevokedAtEQ(v time.Time) predicate.BrowserSession
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
func RevokedAtGT(v time.Time) predicate.BrowserSession
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
func RevokedAtGTE(v time.Time) predicate.BrowserSession
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
func RevokedAtIn(vs ...time.Time) predicate.BrowserSession
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
func RevokedAtIsNil() predicate.BrowserSession
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
func RevokedAtLT(v time.Time) predicate.BrowserSession
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
func RevokedAtLTE(v time.Time) predicate.BrowserSession
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
func RevokedAtNEQ(v time.Time) predicate.BrowserSession
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
func RevokedAtNotIn(vs ...time.Time) predicate.BrowserSession
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
func RevokedAtNotNil() predicate.BrowserSession
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func SessionHash ¶
func SessionHash(v string) predicate.BrowserSession
SessionHash applies equality check predicate on the "session_hash" field. It's identical to SessionHashEQ.
func SessionHashContains ¶
func SessionHashContains(v string) predicate.BrowserSession
SessionHashContains applies the Contains predicate on the "session_hash" field.
func SessionHashContainsFold ¶
func SessionHashContainsFold(v string) predicate.BrowserSession
SessionHashContainsFold applies the ContainsFold predicate on the "session_hash" field.
func SessionHashEQ ¶
func SessionHashEQ(v string) predicate.BrowserSession
SessionHashEQ applies the EQ predicate on the "session_hash" field.
func SessionHashEqualFold ¶
func SessionHashEqualFold(v string) predicate.BrowserSession
SessionHashEqualFold applies the EqualFold predicate on the "session_hash" field.
func SessionHashGT ¶
func SessionHashGT(v string) predicate.BrowserSession
SessionHashGT applies the GT predicate on the "session_hash" field.
func SessionHashGTE ¶
func SessionHashGTE(v string) predicate.BrowserSession
SessionHashGTE applies the GTE predicate on the "session_hash" field.
func SessionHashHasPrefix ¶
func SessionHashHasPrefix(v string) predicate.BrowserSession
SessionHashHasPrefix applies the HasPrefix predicate on the "session_hash" field.
func SessionHashHasSuffix ¶
func SessionHashHasSuffix(v string) predicate.BrowserSession
SessionHashHasSuffix applies the HasSuffix predicate on the "session_hash" field.
func SessionHashIn ¶
func SessionHashIn(vs ...string) predicate.BrowserSession
SessionHashIn applies the In predicate on the "session_hash" field.
func SessionHashLT ¶
func SessionHashLT(v string) predicate.BrowserSession
SessionHashLT applies the LT predicate on the "session_hash" field.
func SessionHashLTE ¶
func SessionHashLTE(v string) predicate.BrowserSession
SessionHashLTE applies the LTE predicate on the "session_hash" field.
func SessionHashNEQ ¶
func SessionHashNEQ(v string) predicate.BrowserSession
SessionHashNEQ applies the NEQ predicate on the "session_hash" field.
func SessionHashNotIn ¶
func SessionHashNotIn(vs ...string) predicate.BrowserSession
SessionHashNotIn applies the NotIn predicate on the "session_hash" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.BrowserSession
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.BrowserSession
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.BrowserSession
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.BrowserSession
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.BrowserSession
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.BrowserSession
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.BrowserSession
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.BrowserSession
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.BrowserSession
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserAgentHash ¶
func UserAgentHash(v string) predicate.BrowserSession
UserAgentHash applies equality check predicate on the "user_agent_hash" field. It's identical to UserAgentHashEQ.
func UserAgentHashContains ¶
func UserAgentHashContains(v string) predicate.BrowserSession
UserAgentHashContains applies the Contains predicate on the "user_agent_hash" field.
func UserAgentHashContainsFold ¶
func UserAgentHashContainsFold(v string) predicate.BrowserSession
UserAgentHashContainsFold applies the ContainsFold predicate on the "user_agent_hash" field.
func UserAgentHashEQ ¶
func UserAgentHashEQ(v string) predicate.BrowserSession
UserAgentHashEQ applies the EQ predicate on the "user_agent_hash" field.
func UserAgentHashEqualFold ¶
func UserAgentHashEqualFold(v string) predicate.BrowserSession
UserAgentHashEqualFold applies the EqualFold predicate on the "user_agent_hash" field.
func UserAgentHashGT ¶
func UserAgentHashGT(v string) predicate.BrowserSession
UserAgentHashGT applies the GT predicate on the "user_agent_hash" field.
func UserAgentHashGTE ¶
func UserAgentHashGTE(v string) predicate.BrowserSession
UserAgentHashGTE applies the GTE predicate on the "user_agent_hash" field.
func UserAgentHashHasPrefix ¶
func UserAgentHashHasPrefix(v string) predicate.BrowserSession
UserAgentHashHasPrefix applies the HasPrefix predicate on the "user_agent_hash" field.
func UserAgentHashHasSuffix ¶
func UserAgentHashHasSuffix(v string) predicate.BrowserSession
UserAgentHashHasSuffix applies the HasSuffix predicate on the "user_agent_hash" field.
func UserAgentHashIn ¶
func UserAgentHashIn(vs ...string) predicate.BrowserSession
UserAgentHashIn applies the In predicate on the "user_agent_hash" field.
func UserAgentHashLT ¶
func UserAgentHashLT(v string) predicate.BrowserSession
UserAgentHashLT applies the LT predicate on the "user_agent_hash" field.
func UserAgentHashLTE ¶
func UserAgentHashLTE(v string) predicate.BrowserSession
UserAgentHashLTE applies the LTE predicate on the "user_agent_hash" field.
func UserAgentHashNEQ ¶
func UserAgentHashNEQ(v string) predicate.BrowserSession
UserAgentHashNEQ applies the NEQ predicate on the "user_agent_hash" field.
func UserAgentHashNotIn ¶
func UserAgentHashNotIn(vs ...string) predicate.BrowserSession
UserAgentHashNotIn applies the NotIn predicate on the "user_agent_hash" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.BrowserSession
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.BrowserSession
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v uuid.UUID) predicate.BrowserSession
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v uuid.UUID) predicate.BrowserSession
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.BrowserSession
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v uuid.UUID) predicate.BrowserSession
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v uuid.UUID) predicate.BrowserSession
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.BrowserSession
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.BrowserSession
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 BrowserSession queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCsrfSecret ¶
func ByCsrfSecret(opts ...sql.OrderTermOption) OrderOption
ByCsrfSecret orders the results by the csrf_secret field.
func ByDeviceBrowser ¶ added in v0.3.0
func ByDeviceBrowser(opts ...sql.OrderTermOption) OrderOption
ByDeviceBrowser orders the results by the device_browser field.
func ByDeviceKind ¶ added in v0.3.0
func ByDeviceKind(opts ...sql.OrderTermOption) OrderOption
ByDeviceKind orders the results by the device_kind field.
func ByDeviceLabel ¶ added in v0.3.0
func ByDeviceLabel(opts ...sql.OrderTermOption) OrderOption
ByDeviceLabel orders the results by the device_label field.
func ByDeviceOs ¶ added in v0.3.0
func ByDeviceOs(opts ...sql.OrderTermOption) OrderOption
ByDeviceOs orders the results by the device_os 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 ByIPPrefix ¶
func ByIPPrefix(opts ...sql.OrderTermOption) OrderOption
ByIPPrefix orders the results by the ip_prefix field.
func ByIdleExpiresAt ¶
func ByIdleExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByIdleExpiresAt orders the results by the idle_expires_at field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func BySessionHash ¶
func BySessionHash(opts ...sql.OrderTermOption) OrderOption
BySessionHash orders the results by the session_hash field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserAgentHash ¶
func ByUserAgentHash(opts ...sql.OrderTermOption) OrderOption
ByUserAgentHash orders the results by the user_agent_hash field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.