visitorlog

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the visitorlog type in the database.
	Label = "visitor_log"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldVisitorID holds the string denoting the visitor_id field in the database.
	FieldVisitorID = "visitor_id"
	// FieldSessionID holds the string denoting the session_id field in the database.
	FieldSessionID = "session_id"
	// FieldIPAddress holds the string denoting the ip_address field in the database.
	FieldIPAddress = "ip_address"
	// FieldUserAgent holds the string denoting the user_agent field in the database.
	FieldUserAgent = "user_agent"
	// FieldReferer holds the string denoting the referer field in the database.
	FieldReferer = "referer"
	// FieldURLPath holds the string denoting the url_path field in the database.
	FieldURLPath = "url_path"
	// FieldCountry holds the string denoting the country field in the database.
	FieldCountry = "country"
	// FieldRegion holds the string denoting the region field in the database.
	FieldRegion = "region"
	// FieldCity holds the string denoting the city field in the database.
	FieldCity = "city"
	// FieldBrowser holds the string denoting the browser field in the database.
	FieldBrowser = "browser"
	// FieldOs holds the string denoting the os field in the database.
	FieldOs = "os"
	// FieldDevice holds the string denoting the device field in the database.
	FieldDevice = "device"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// FieldIsBounce holds the string denoting the is_bounce field in the database.
	FieldIsBounce = "is_bounce"
	// Table holds the table name of the visitorlog in the database.
	Table = "visitor_logs"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// VisitorIDValidator is a validator for the "visitor_id" field. It is called by the builders before save.
	VisitorIDValidator func(string) error
	// SessionIDValidator is a validator for the "session_id" field. It is called by the builders before save.
	SessionIDValidator func(string) error
	// IPAddressValidator is a validator for the "ip_address" field. It is called by the builders before save.
	IPAddressValidator func(string) error
	// UserAgentValidator is a validator for the "user_agent" field. It is called by the builders before save.
	UserAgentValidator func(string) error
	// RefererValidator is a validator for the "referer" field. It is called by the builders before save.
	RefererValidator func(string) error
	// URLPathValidator is a validator for the "url_path" field. It is called by the builders before save.
	URLPathValidator func(string) error
	// CountryValidator is a validator for the "country" field. It is called by the builders before save.
	CountryValidator func(string) error
	// RegionValidator is a validator for the "region" field. It is called by the builders before save.
	RegionValidator func(string) error
	// CityValidator is a validator for the "city" field. It is called by the builders before save.
	CityValidator func(string) error
	// BrowserValidator is a validator for the "browser" field. It is called by the builders before save.
	BrowserValidator func(string) error
	// OsValidator is a validator for the "os" field. It is called by the builders before save.
	OsValidator func(string) error
	// DeviceValidator is a validator for the "device" field. It is called by the builders before save.
	DeviceValidator func(string) error
	// DefaultDuration holds the default value on creation for the "duration" field.
	DefaultDuration int
	// DefaultIsBounce holds the default value on creation for the "is_bounce" field.
	DefaultIsBounce bool
)

Columns holds all SQL columns for visitorlog fields.

Functions

func And

func And(predicates ...predicate.VisitorLog) predicate.VisitorLog

And groups predicates with the AND operator between them.

func Browser

func Browser(v string) predicate.VisitorLog

Browser applies equality check predicate on the "browser" field. It's identical to BrowserEQ.

func BrowserContains

func BrowserContains(v string) predicate.VisitorLog

BrowserContains applies the Contains predicate on the "browser" field.

func BrowserContainsFold

func BrowserContainsFold(v string) predicate.VisitorLog

BrowserContainsFold applies the ContainsFold predicate on the "browser" field.

func BrowserEQ

func BrowserEQ(v string) predicate.VisitorLog

BrowserEQ applies the EQ predicate on the "browser" field.

func BrowserEqualFold

func BrowserEqualFold(v string) predicate.VisitorLog

BrowserEqualFold applies the EqualFold predicate on the "browser" field.

func BrowserGT

func BrowserGT(v string) predicate.VisitorLog

BrowserGT applies the GT predicate on the "browser" field.

func BrowserGTE

func BrowserGTE(v string) predicate.VisitorLog

BrowserGTE applies the GTE predicate on the "browser" field.

func BrowserHasPrefix

func BrowserHasPrefix(v string) predicate.VisitorLog

BrowserHasPrefix applies the HasPrefix predicate on the "browser" field.

func BrowserHasSuffix

func BrowserHasSuffix(v string) predicate.VisitorLog

BrowserHasSuffix applies the HasSuffix predicate on the "browser" field.

func BrowserIn

func BrowserIn(vs ...string) predicate.VisitorLog

BrowserIn applies the In predicate on the "browser" field.

func BrowserIsNil

func BrowserIsNil() predicate.VisitorLog

BrowserIsNil applies the IsNil predicate on the "browser" field.

func BrowserLT

func BrowserLT(v string) predicate.VisitorLog

BrowserLT applies the LT predicate on the "browser" field.

func BrowserLTE

func BrowserLTE(v string) predicate.VisitorLog

BrowserLTE applies the LTE predicate on the "browser" field.

func BrowserNEQ

func BrowserNEQ(v string) predicate.VisitorLog

BrowserNEQ applies the NEQ predicate on the "browser" field.

func BrowserNotIn

func BrowserNotIn(vs ...string) predicate.VisitorLog

BrowserNotIn applies the NotIn predicate on the "browser" field.

func BrowserNotNil

func BrowserNotNil() predicate.VisitorLog

BrowserNotNil applies the NotNil predicate on the "browser" field.

func City

func City(v string) predicate.VisitorLog

City applies equality check predicate on the "city" field. It's identical to CityEQ.

func CityContains

func CityContains(v string) predicate.VisitorLog

CityContains applies the Contains predicate on the "city" field.

func CityContainsFold

func CityContainsFold(v string) predicate.VisitorLog

CityContainsFold applies the ContainsFold predicate on the "city" field.

func CityEQ

func CityEQ(v string) predicate.VisitorLog

CityEQ applies the EQ predicate on the "city" field.

func CityEqualFold

func CityEqualFold(v string) predicate.VisitorLog

CityEqualFold applies the EqualFold predicate on the "city" field.

func CityGT

func CityGT(v string) predicate.VisitorLog

CityGT applies the GT predicate on the "city" field.

func CityGTE

func CityGTE(v string) predicate.VisitorLog

CityGTE applies the GTE predicate on the "city" field.

func CityHasPrefix

func CityHasPrefix(v string) predicate.VisitorLog

CityHasPrefix applies the HasPrefix predicate on the "city" field.

func CityHasSuffix

func CityHasSuffix(v string) predicate.VisitorLog

CityHasSuffix applies the HasSuffix predicate on the "city" field.

func CityIn

func CityIn(vs ...string) predicate.VisitorLog

CityIn applies the In predicate on the "city" field.

func CityIsNil

func CityIsNil() predicate.VisitorLog

CityIsNil applies the IsNil predicate on the "city" field.

func CityLT

func CityLT(v string) predicate.VisitorLog

CityLT applies the LT predicate on the "city" field.

func CityLTE

func CityLTE(v string) predicate.VisitorLog

CityLTE applies the LTE predicate on the "city" field.

func CityNEQ

func CityNEQ(v string) predicate.VisitorLog

CityNEQ applies the NEQ predicate on the "city" field.

func CityNotIn

func CityNotIn(vs ...string) predicate.VisitorLog

CityNotIn applies the NotIn predicate on the "city" field.

func CityNotNil

func CityNotNil() predicate.VisitorLog

CityNotNil applies the NotNil predicate on the "city" field.

func Country

func Country(v string) predicate.VisitorLog

Country applies equality check predicate on the "country" field. It's identical to CountryEQ.

func CountryContains

func CountryContains(v string) predicate.VisitorLog

CountryContains applies the Contains predicate on the "country" field.

func CountryContainsFold

func CountryContainsFold(v string) predicate.VisitorLog

CountryContainsFold applies the ContainsFold predicate on the "country" field.

func CountryEQ

func CountryEQ(v string) predicate.VisitorLog

CountryEQ applies the EQ predicate on the "country" field.

func CountryEqualFold

func CountryEqualFold(v string) predicate.VisitorLog

CountryEqualFold applies the EqualFold predicate on the "country" field.

func CountryGT

func CountryGT(v string) predicate.VisitorLog

CountryGT applies the GT predicate on the "country" field.

func CountryGTE

func CountryGTE(v string) predicate.VisitorLog

CountryGTE applies the GTE predicate on the "country" field.

func CountryHasPrefix

func CountryHasPrefix(v string) predicate.VisitorLog

CountryHasPrefix applies the HasPrefix predicate on the "country" field.

func CountryHasSuffix

func CountryHasSuffix(v string) predicate.VisitorLog

CountryHasSuffix applies the HasSuffix predicate on the "country" field.

func CountryIn

func CountryIn(vs ...string) predicate.VisitorLog

CountryIn applies the In predicate on the "country" field.

func CountryIsNil

func CountryIsNil() predicate.VisitorLog

CountryIsNil applies the IsNil predicate on the "country" field.

func CountryLT

func CountryLT(v string) predicate.VisitorLog

CountryLT applies the LT predicate on the "country" field.

func CountryLTE

func CountryLTE(v string) predicate.VisitorLog

CountryLTE applies the LTE predicate on the "country" field.

func CountryNEQ

func CountryNEQ(v string) predicate.VisitorLog

CountryNEQ applies the NEQ predicate on the "country" field.

func CountryNotIn

func CountryNotIn(vs ...string) predicate.VisitorLog

CountryNotIn applies the NotIn predicate on the "country" field.

func CountryNotNil

func CountryNotNil() predicate.VisitorLog

CountryNotNil applies the NotNil predicate on the "country" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.VisitorLog

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.VisitorLog

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.VisitorLog

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.VisitorLog

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.VisitorLog

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.VisitorLog

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.VisitorLog

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.VisitorLog

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.VisitorLog

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Device

func Device(v string) predicate.VisitorLog

Device applies equality check predicate on the "device" field. It's identical to DeviceEQ.

func DeviceContains

func DeviceContains(v string) predicate.VisitorLog

DeviceContains applies the Contains predicate on the "device" field.

func DeviceContainsFold

func DeviceContainsFold(v string) predicate.VisitorLog

DeviceContainsFold applies the ContainsFold predicate on the "device" field.

func DeviceEQ

func DeviceEQ(v string) predicate.VisitorLog

DeviceEQ applies the EQ predicate on the "device" field.

func DeviceEqualFold

func DeviceEqualFold(v string) predicate.VisitorLog

DeviceEqualFold applies the EqualFold predicate on the "device" field.

func DeviceGT

func DeviceGT(v string) predicate.VisitorLog

DeviceGT applies the GT predicate on the "device" field.

func DeviceGTE

func DeviceGTE(v string) predicate.VisitorLog

DeviceGTE applies the GTE predicate on the "device" field.

func DeviceHasPrefix

func DeviceHasPrefix(v string) predicate.VisitorLog

DeviceHasPrefix applies the HasPrefix predicate on the "device" field.

func DeviceHasSuffix

func DeviceHasSuffix(v string) predicate.VisitorLog

DeviceHasSuffix applies the HasSuffix predicate on the "device" field.

func DeviceIn

func DeviceIn(vs ...string) predicate.VisitorLog

DeviceIn applies the In predicate on the "device" field.

func DeviceIsNil

func DeviceIsNil() predicate.VisitorLog

DeviceIsNil applies the IsNil predicate on the "device" field.

func DeviceLT

func DeviceLT(v string) predicate.VisitorLog

DeviceLT applies the LT predicate on the "device" field.

func DeviceLTE

func DeviceLTE(v string) predicate.VisitorLog

DeviceLTE applies the LTE predicate on the "device" field.

func DeviceNEQ

func DeviceNEQ(v string) predicate.VisitorLog

DeviceNEQ applies the NEQ predicate on the "device" field.

func DeviceNotIn

func DeviceNotIn(vs ...string) predicate.VisitorLog

DeviceNotIn applies the NotIn predicate on the "device" field.

func DeviceNotNil

func DeviceNotNil() predicate.VisitorLog

DeviceNotNil applies the NotNil predicate on the "device" field.

func Duration

func Duration(v int) predicate.VisitorLog

Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.

func DurationEQ

func DurationEQ(v int) predicate.VisitorLog

DurationEQ applies the EQ predicate on the "duration" field.

func DurationGT

func DurationGT(v int) predicate.VisitorLog

DurationGT applies the GT predicate on the "duration" field.

func DurationGTE

func DurationGTE(v int) predicate.VisitorLog

DurationGTE applies the GTE predicate on the "duration" field.

func DurationIn

func DurationIn(vs ...int) predicate.VisitorLog

DurationIn applies the In predicate on the "duration" field.

func DurationLT

func DurationLT(v int) predicate.VisitorLog

DurationLT applies the LT predicate on the "duration" field.

func DurationLTE

func DurationLTE(v int) predicate.VisitorLog

DurationLTE applies the LTE predicate on the "duration" field.

func DurationNEQ

func DurationNEQ(v int) predicate.VisitorLog

DurationNEQ applies the NEQ predicate on the "duration" field.

func DurationNotIn

func DurationNotIn(vs ...int) predicate.VisitorLog

DurationNotIn applies the NotIn predicate on the "duration" field.

func ID

func ID(id uint) predicate.VisitorLog

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint) predicate.VisitorLog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint) predicate.VisitorLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint) predicate.VisitorLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint) predicate.VisitorLog

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint) predicate.VisitorLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint) predicate.VisitorLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint) predicate.VisitorLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint) predicate.VisitorLog

IDNotIn applies the NotIn predicate on the ID field.

func IPAddress

func IPAddress(v string) predicate.VisitorLog

IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.

func IPAddressContains

func IPAddressContains(v string) predicate.VisitorLog

IPAddressContains applies the Contains predicate on the "ip_address" field.

func IPAddressContainsFold

func IPAddressContainsFold(v string) predicate.VisitorLog

IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.

func IPAddressEQ

func IPAddressEQ(v string) predicate.VisitorLog

IPAddressEQ applies the EQ predicate on the "ip_address" field.

func IPAddressEqualFold

func IPAddressEqualFold(v string) predicate.VisitorLog

IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.

func IPAddressGT

func IPAddressGT(v string) predicate.VisitorLog

IPAddressGT applies the GT predicate on the "ip_address" field.

func IPAddressGTE

func IPAddressGTE(v string) predicate.VisitorLog

IPAddressGTE applies the GTE predicate on the "ip_address" field.

func IPAddressHasPrefix

func IPAddressHasPrefix(v string) predicate.VisitorLog

IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.

func IPAddressHasSuffix

func IPAddressHasSuffix(v string) predicate.VisitorLog

IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.

func IPAddressIn

func IPAddressIn(vs ...string) predicate.VisitorLog

IPAddressIn applies the In predicate on the "ip_address" field.

func IPAddressLT

func IPAddressLT(v string) predicate.VisitorLog

IPAddressLT applies the LT predicate on the "ip_address" field.

func IPAddressLTE

func IPAddressLTE(v string) predicate.VisitorLog

IPAddressLTE applies the LTE predicate on the "ip_address" field.

func IPAddressNEQ

func IPAddressNEQ(v string) predicate.VisitorLog

IPAddressNEQ applies the NEQ predicate on the "ip_address" field.

func IPAddressNotIn

func IPAddressNotIn(vs ...string) predicate.VisitorLog

IPAddressNotIn applies the NotIn predicate on the "ip_address" field.

func IsBounce

func IsBounce(v bool) predicate.VisitorLog

IsBounce applies equality check predicate on the "is_bounce" field. It's identical to IsBounceEQ.

func IsBounceEQ

func IsBounceEQ(v bool) predicate.VisitorLog

IsBounceEQ applies the EQ predicate on the "is_bounce" field.

func IsBounceNEQ

func IsBounceNEQ(v bool) predicate.VisitorLog

IsBounceNEQ applies the NEQ predicate on the "is_bounce" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.VisitorLog) predicate.VisitorLog

Or groups predicates with the OR operator between them.

func Os

Os applies equality check predicate on the "os" field. It's identical to OsEQ.

func OsContains

func OsContains(v string) predicate.VisitorLog

OsContains applies the Contains predicate on the "os" field.

func OsContainsFold

func OsContainsFold(v string) predicate.VisitorLog

OsContainsFold applies the ContainsFold predicate on the "os" field.

func OsEQ

func OsEQ(v string) predicate.VisitorLog

OsEQ applies the EQ predicate on the "os" field.

func OsEqualFold

func OsEqualFold(v string) predicate.VisitorLog

OsEqualFold applies the EqualFold predicate on the "os" field.

func OsGT

func OsGT(v string) predicate.VisitorLog

OsGT applies the GT predicate on the "os" field.

func OsGTE

func OsGTE(v string) predicate.VisitorLog

OsGTE applies the GTE predicate on the "os" field.

func OsHasPrefix

func OsHasPrefix(v string) predicate.VisitorLog

OsHasPrefix applies the HasPrefix predicate on the "os" field.

func OsHasSuffix

func OsHasSuffix(v string) predicate.VisitorLog

OsHasSuffix applies the HasSuffix predicate on the "os" field.

func OsIn

func OsIn(vs ...string) predicate.VisitorLog

OsIn applies the In predicate on the "os" field.

func OsIsNil

func OsIsNil() predicate.VisitorLog

OsIsNil applies the IsNil predicate on the "os" field.

func OsLT

func OsLT(v string) predicate.VisitorLog

OsLT applies the LT predicate on the "os" field.

func OsLTE

func OsLTE(v string) predicate.VisitorLog

OsLTE applies the LTE predicate on the "os" field.

func OsNEQ

func OsNEQ(v string) predicate.VisitorLog

OsNEQ applies the NEQ predicate on the "os" field.

func OsNotIn

func OsNotIn(vs ...string) predicate.VisitorLog

OsNotIn applies the NotIn predicate on the "os" field.

func OsNotNil

func OsNotNil() predicate.VisitorLog

OsNotNil applies the NotNil predicate on the "os" field.

func Referer

func Referer(v string) predicate.VisitorLog

Referer applies equality check predicate on the "referer" field. It's identical to RefererEQ.

func RefererContains

func RefererContains(v string) predicate.VisitorLog

RefererContains applies the Contains predicate on the "referer" field.

func RefererContainsFold

func RefererContainsFold(v string) predicate.VisitorLog

RefererContainsFold applies the ContainsFold predicate on the "referer" field.

func RefererEQ

func RefererEQ(v string) predicate.VisitorLog

RefererEQ applies the EQ predicate on the "referer" field.

func RefererEqualFold

func RefererEqualFold(v string) predicate.VisitorLog

RefererEqualFold applies the EqualFold predicate on the "referer" field.

func RefererGT

func RefererGT(v string) predicate.VisitorLog

RefererGT applies the GT predicate on the "referer" field.

func RefererGTE

func RefererGTE(v string) predicate.VisitorLog

RefererGTE applies the GTE predicate on the "referer" field.

func RefererHasPrefix

func RefererHasPrefix(v string) predicate.VisitorLog

RefererHasPrefix applies the HasPrefix predicate on the "referer" field.

func RefererHasSuffix

func RefererHasSuffix(v string) predicate.VisitorLog

RefererHasSuffix applies the HasSuffix predicate on the "referer" field.

func RefererIn

func RefererIn(vs ...string) predicate.VisitorLog

RefererIn applies the In predicate on the "referer" field.

func RefererIsNil

func RefererIsNil() predicate.VisitorLog

RefererIsNil applies the IsNil predicate on the "referer" field.

func RefererLT

func RefererLT(v string) predicate.VisitorLog

RefererLT applies the LT predicate on the "referer" field.

func RefererLTE

func RefererLTE(v string) predicate.VisitorLog

RefererLTE applies the LTE predicate on the "referer" field.

func RefererNEQ

func RefererNEQ(v string) predicate.VisitorLog

RefererNEQ applies the NEQ predicate on the "referer" field.

func RefererNotIn

func RefererNotIn(vs ...string) predicate.VisitorLog

RefererNotIn applies the NotIn predicate on the "referer" field.

func RefererNotNil

func RefererNotNil() predicate.VisitorLog

RefererNotNil applies the NotNil predicate on the "referer" field.

func Region

func Region(v string) predicate.VisitorLog

Region applies equality check predicate on the "region" field. It's identical to RegionEQ.

func RegionContains

func RegionContains(v string) predicate.VisitorLog

RegionContains applies the Contains predicate on the "region" field.

func RegionContainsFold

func RegionContainsFold(v string) predicate.VisitorLog

RegionContainsFold applies the ContainsFold predicate on the "region" field.

func RegionEQ

func RegionEQ(v string) predicate.VisitorLog

RegionEQ applies the EQ predicate on the "region" field.

func RegionEqualFold

func RegionEqualFold(v string) predicate.VisitorLog

RegionEqualFold applies the EqualFold predicate on the "region" field.

func RegionGT

func RegionGT(v string) predicate.VisitorLog

RegionGT applies the GT predicate on the "region" field.

func RegionGTE

func RegionGTE(v string) predicate.VisitorLog

RegionGTE applies the GTE predicate on the "region" field.

func RegionHasPrefix

func RegionHasPrefix(v string) predicate.VisitorLog

RegionHasPrefix applies the HasPrefix predicate on the "region" field.

func RegionHasSuffix

func RegionHasSuffix(v string) predicate.VisitorLog

RegionHasSuffix applies the HasSuffix predicate on the "region" field.

func RegionIn

func RegionIn(vs ...string) predicate.VisitorLog

RegionIn applies the In predicate on the "region" field.

func RegionIsNil

func RegionIsNil() predicate.VisitorLog

RegionIsNil applies the IsNil predicate on the "region" field.

func RegionLT

func RegionLT(v string) predicate.VisitorLog

RegionLT applies the LT predicate on the "region" field.

func RegionLTE

func RegionLTE(v string) predicate.VisitorLog

RegionLTE applies the LTE predicate on the "region" field.

func RegionNEQ

func RegionNEQ(v string) predicate.VisitorLog

RegionNEQ applies the NEQ predicate on the "region" field.

func RegionNotIn

func RegionNotIn(vs ...string) predicate.VisitorLog

RegionNotIn applies the NotIn predicate on the "region" field.

func RegionNotNil

func RegionNotNil() predicate.VisitorLog

RegionNotNil applies the NotNil predicate on the "region" field.

func SessionID

func SessionID(v string) predicate.VisitorLog

SessionID applies equality check predicate on the "session_id" field. It's identical to SessionIDEQ.

func SessionIDContains

func SessionIDContains(v string) predicate.VisitorLog

SessionIDContains applies the Contains predicate on the "session_id" field.

func SessionIDContainsFold

func SessionIDContainsFold(v string) predicate.VisitorLog

SessionIDContainsFold applies the ContainsFold predicate on the "session_id" field.

func SessionIDEQ

func SessionIDEQ(v string) predicate.VisitorLog

SessionIDEQ applies the EQ predicate on the "session_id" field.

func SessionIDEqualFold

func SessionIDEqualFold(v string) predicate.VisitorLog

SessionIDEqualFold applies the EqualFold predicate on the "session_id" field.

func SessionIDGT

func SessionIDGT(v string) predicate.VisitorLog

SessionIDGT applies the GT predicate on the "session_id" field.

func SessionIDGTE

func SessionIDGTE(v string) predicate.VisitorLog

SessionIDGTE applies the GTE predicate on the "session_id" field.

func SessionIDHasPrefix

func SessionIDHasPrefix(v string) predicate.VisitorLog

SessionIDHasPrefix applies the HasPrefix predicate on the "session_id" field.

func SessionIDHasSuffix

func SessionIDHasSuffix(v string) predicate.VisitorLog

SessionIDHasSuffix applies the HasSuffix predicate on the "session_id" field.

func SessionIDIn

func SessionIDIn(vs ...string) predicate.VisitorLog

SessionIDIn applies the In predicate on the "session_id" field.

func SessionIDIsNil

func SessionIDIsNil() predicate.VisitorLog

SessionIDIsNil applies the IsNil predicate on the "session_id" field.

func SessionIDLT

func SessionIDLT(v string) predicate.VisitorLog

SessionIDLT applies the LT predicate on the "session_id" field.

func SessionIDLTE

func SessionIDLTE(v string) predicate.VisitorLog

SessionIDLTE applies the LTE predicate on the "session_id" field.

func SessionIDNEQ

func SessionIDNEQ(v string) predicate.VisitorLog

SessionIDNEQ applies the NEQ predicate on the "session_id" field.

func SessionIDNotIn

func SessionIDNotIn(vs ...string) predicate.VisitorLog

SessionIDNotIn applies the NotIn predicate on the "session_id" field.

func SessionIDNotNil

func SessionIDNotNil() predicate.VisitorLog

SessionIDNotNil applies the NotNil predicate on the "session_id" field.

func URLPath

func URLPath(v string) predicate.VisitorLog

URLPath applies equality check predicate on the "url_path" field. It's identical to URLPathEQ.

func URLPathContains

func URLPathContains(v string) predicate.VisitorLog

URLPathContains applies the Contains predicate on the "url_path" field.

func URLPathContainsFold

func URLPathContainsFold(v string) predicate.VisitorLog

URLPathContainsFold applies the ContainsFold predicate on the "url_path" field.

func URLPathEQ

func URLPathEQ(v string) predicate.VisitorLog

URLPathEQ applies the EQ predicate on the "url_path" field.

func URLPathEqualFold

func URLPathEqualFold(v string) predicate.VisitorLog

URLPathEqualFold applies the EqualFold predicate on the "url_path" field.

func URLPathGT

func URLPathGT(v string) predicate.VisitorLog

URLPathGT applies the GT predicate on the "url_path" field.

func URLPathGTE

func URLPathGTE(v string) predicate.VisitorLog

URLPathGTE applies the GTE predicate on the "url_path" field.

func URLPathHasPrefix

func URLPathHasPrefix(v string) predicate.VisitorLog

URLPathHasPrefix applies the HasPrefix predicate on the "url_path" field.

func URLPathHasSuffix

func URLPathHasSuffix(v string) predicate.VisitorLog

URLPathHasSuffix applies the HasSuffix predicate on the "url_path" field.

func URLPathIn

func URLPathIn(vs ...string) predicate.VisitorLog

URLPathIn applies the In predicate on the "url_path" field.

func URLPathLT

func URLPathLT(v string) predicate.VisitorLog

URLPathLT applies the LT predicate on the "url_path" field.

func URLPathLTE

func URLPathLTE(v string) predicate.VisitorLog

URLPathLTE applies the LTE predicate on the "url_path" field.

func URLPathNEQ

func URLPathNEQ(v string) predicate.VisitorLog

URLPathNEQ applies the NEQ predicate on the "url_path" field.

func URLPathNotIn

func URLPathNotIn(vs ...string) predicate.VisitorLog

URLPathNotIn applies the NotIn predicate on the "url_path" field.

func UserAgent

func UserAgent(v string) predicate.VisitorLog

UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.

func UserAgentContains

func UserAgentContains(v string) predicate.VisitorLog

UserAgentContains applies the Contains predicate on the "user_agent" field.

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.VisitorLog

UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.

func UserAgentEQ

func UserAgentEQ(v string) predicate.VisitorLog

UserAgentEQ applies the EQ predicate on the "user_agent" field.

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.VisitorLog

UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.

func UserAgentGT

func UserAgentGT(v string) predicate.VisitorLog

UserAgentGT applies the GT predicate on the "user_agent" field.

func UserAgentGTE

func UserAgentGTE(v string) predicate.VisitorLog

UserAgentGTE applies the GTE predicate on the "user_agent" field.

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.VisitorLog

UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.VisitorLog

UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.

func UserAgentIn

func UserAgentIn(vs ...string) predicate.VisitorLog

UserAgentIn applies the In predicate on the "user_agent" field.

func UserAgentIsNil

func UserAgentIsNil() predicate.VisitorLog

UserAgentIsNil applies the IsNil predicate on the "user_agent" field.

func UserAgentLT

func UserAgentLT(v string) predicate.VisitorLog

UserAgentLT applies the LT predicate on the "user_agent" field.

func UserAgentLTE

func UserAgentLTE(v string) predicate.VisitorLog

UserAgentLTE applies the LTE predicate on the "user_agent" field.

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.VisitorLog

UserAgentNEQ applies the NEQ predicate on the "user_agent" field.

func UserAgentNotIn

func UserAgentNotIn(vs ...string) predicate.VisitorLog

UserAgentNotIn applies the NotIn predicate on the "user_agent" field.

func UserAgentNotNil

func UserAgentNotNil() predicate.VisitorLog

UserAgentNotNil applies the NotNil predicate on the "user_agent" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VisitorID

func VisitorID(v string) predicate.VisitorLog

VisitorID applies equality check predicate on the "visitor_id" field. It's identical to VisitorIDEQ.

func VisitorIDContains

func VisitorIDContains(v string) predicate.VisitorLog

VisitorIDContains applies the Contains predicate on the "visitor_id" field.

func VisitorIDContainsFold

func VisitorIDContainsFold(v string) predicate.VisitorLog

VisitorIDContainsFold applies the ContainsFold predicate on the "visitor_id" field.

func VisitorIDEQ

func VisitorIDEQ(v string) predicate.VisitorLog

VisitorIDEQ applies the EQ predicate on the "visitor_id" field.

func VisitorIDEqualFold

func VisitorIDEqualFold(v string) predicate.VisitorLog

VisitorIDEqualFold applies the EqualFold predicate on the "visitor_id" field.

func VisitorIDGT

func VisitorIDGT(v string) predicate.VisitorLog

VisitorIDGT applies the GT predicate on the "visitor_id" field.

func VisitorIDGTE

func VisitorIDGTE(v string) predicate.VisitorLog

VisitorIDGTE applies the GTE predicate on the "visitor_id" field.

func VisitorIDHasPrefix

func VisitorIDHasPrefix(v string) predicate.VisitorLog

VisitorIDHasPrefix applies the HasPrefix predicate on the "visitor_id" field.

func VisitorIDHasSuffix

func VisitorIDHasSuffix(v string) predicate.VisitorLog

VisitorIDHasSuffix applies the HasSuffix predicate on the "visitor_id" field.

func VisitorIDIn

func VisitorIDIn(vs ...string) predicate.VisitorLog

VisitorIDIn applies the In predicate on the "visitor_id" field.

func VisitorIDLT

func VisitorIDLT(v string) predicate.VisitorLog

VisitorIDLT applies the LT predicate on the "visitor_id" field.

func VisitorIDLTE

func VisitorIDLTE(v string) predicate.VisitorLog

VisitorIDLTE applies the LTE predicate on the "visitor_id" field.

func VisitorIDNEQ

func VisitorIDNEQ(v string) predicate.VisitorLog

VisitorIDNEQ applies the NEQ predicate on the "visitor_id" field.

func VisitorIDNotIn

func VisitorIDNotIn(vs ...string) predicate.VisitorLog

VisitorIDNotIn applies the NotIn predicate on the "visitor_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the VisitorLog queries.

func ByBrowser

func ByBrowser(opts ...sql.OrderTermOption) OrderOption

ByBrowser orders the results by the browser field.

func ByCity

func ByCity(opts ...sql.OrderTermOption) OrderOption

ByCity orders the results by the city field.

func ByCountry

func ByCountry(opts ...sql.OrderTermOption) OrderOption

ByCountry orders the results by the country field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDevice

func ByDevice(opts ...sql.OrderTermOption) OrderOption

ByDevice orders the results by the device field.

func ByDuration

func ByDuration(opts ...sql.OrderTermOption) OrderOption

ByDuration orders the results by the duration field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIPAddress

func ByIPAddress(opts ...sql.OrderTermOption) OrderOption

ByIPAddress orders the results by the ip_address field.

func ByIsBounce

func ByIsBounce(opts ...sql.OrderTermOption) OrderOption

ByIsBounce orders the results by the is_bounce field.

func ByOs

func ByOs(opts ...sql.OrderTermOption) OrderOption

ByOs orders the results by the os field.

func ByReferer

func ByReferer(opts ...sql.OrderTermOption) OrderOption

ByReferer orders the results by the referer field.

func ByRegion

func ByRegion(opts ...sql.OrderTermOption) OrderOption

ByRegion orders the results by the region field.

func BySessionID

func BySessionID(opts ...sql.OrderTermOption) OrderOption

BySessionID orders the results by the session_id field.

func ByURLPath

func ByURLPath(opts ...sql.OrderTermOption) OrderOption

ByURLPath orders the results by the url_path field.

func ByUserAgent

func ByUserAgent(opts ...sql.OrderTermOption) OrderOption

ByUserAgent orders the results by the user_agent field.

func ByVisitorID

func ByVisitorID(opts ...sql.OrderTermOption) OrderOption

ByVisitorID orders the results by the visitor_id field.

Jump to

Keyboard shortcuts

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