Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.VisitLog) predicate.VisitLog
- func Bot(v bool) predicate.VisitLog
- func BotEQ(v bool) predicate.VisitLog
- func BotNEQ(v bool) predicate.VisitLog
- func BrowserName(v string) predicate.VisitLog
- func BrowserNameContains(v string) predicate.VisitLog
- func BrowserNameContainsFold(v string) predicate.VisitLog
- func BrowserNameEQ(v string) predicate.VisitLog
- func BrowserNameEqualFold(v string) predicate.VisitLog
- func BrowserNameGT(v string) predicate.VisitLog
- func BrowserNameGTE(v string) predicate.VisitLog
- func BrowserNameHasPrefix(v string) predicate.VisitLog
- func BrowserNameHasSuffix(v string) predicate.VisitLog
- func BrowserNameIn(vs ...string) predicate.VisitLog
- func BrowserNameLT(v string) predicate.VisitLog
- func BrowserNameLTE(v string) predicate.VisitLog
- func BrowserNameNEQ(v string) predicate.VisitLog
- func BrowserNameNotIn(vs ...string) predicate.VisitLog
- func BrowserVersion(v string) predicate.VisitLog
- func BrowserVersionContains(v string) predicate.VisitLog
- func BrowserVersionContainsFold(v string) predicate.VisitLog
- func BrowserVersionEQ(v string) predicate.VisitLog
- func BrowserVersionEqualFold(v string) predicate.VisitLog
- func BrowserVersionGT(v string) predicate.VisitLog
- func BrowserVersionGTE(v string) predicate.VisitLog
- func BrowserVersionHasPrefix(v string) predicate.VisitLog
- func BrowserVersionHasSuffix(v string) predicate.VisitLog
- func BrowserVersionIn(vs ...string) predicate.VisitLog
- func BrowserVersionLT(v string) predicate.VisitLog
- func BrowserVersionLTE(v string) predicate.VisitLog
- func BrowserVersionNEQ(v string) predicate.VisitLog
- func BrowserVersionNotIn(vs ...string) predicate.VisitLog
- func CreatedAt(v time.Time) predicate.VisitLog
- func CreatedAtEQ(v time.Time) predicate.VisitLog
- func CreatedAtGT(v time.Time) predicate.VisitLog
- func CreatedAtGTE(v time.Time) predicate.VisitLog
- func CreatedAtIn(vs ...time.Time) predicate.VisitLog
- func CreatedAtLT(v time.Time) predicate.VisitLog
- func CreatedAtLTE(v time.Time) predicate.VisitLog
- func CreatedAtNEQ(v time.Time) predicate.VisitLog
- func CreatedAtNotIn(vs ...time.Time) predicate.VisitLog
- func EngineName(v string) predicate.VisitLog
- func EngineNameContains(v string) predicate.VisitLog
- func EngineNameContainsFold(v string) predicate.VisitLog
- func EngineNameEQ(v string) predicate.VisitLog
- func EngineNameEqualFold(v string) predicate.VisitLog
- func EngineNameGT(v string) predicate.VisitLog
- func EngineNameGTE(v string) predicate.VisitLog
- func EngineNameHasPrefix(v string) predicate.VisitLog
- func EngineNameHasSuffix(v string) predicate.VisitLog
- func EngineNameIn(vs ...string) predicate.VisitLog
- func EngineNameLT(v string) predicate.VisitLog
- func EngineNameLTE(v string) predicate.VisitLog
- func EngineNameNEQ(v string) predicate.VisitLog
- func EngineNameNotIn(vs ...string) predicate.VisitLog
- func EngineVersion(v string) predicate.VisitLog
- func EngineVersionContains(v string) predicate.VisitLog
- func EngineVersionContainsFold(v string) predicate.VisitLog
- func EngineVersionEQ(v string) predicate.VisitLog
- func EngineVersionEqualFold(v string) predicate.VisitLog
- func EngineVersionGT(v string) predicate.VisitLog
- func EngineVersionGTE(v string) predicate.VisitLog
- func EngineVersionHasPrefix(v string) predicate.VisitLog
- func EngineVersionHasSuffix(v string) predicate.VisitLog
- func EngineVersionIn(vs ...string) predicate.VisitLog
- func EngineVersionLT(v string) predicate.VisitLog
- func EngineVersionLTE(v string) predicate.VisitLog
- func EngineVersionNEQ(v string) predicate.VisitLog
- func EngineVersionNotIn(vs ...string) predicate.VisitLog
- func HasURL() predicate.VisitLog
- func HasURLWith(preds ...predicate.Url) predicate.VisitLog
- func ID(id int) predicate.VisitLog
- func IDEQ(id int) predicate.VisitLog
- func IDGT(id int) predicate.VisitLog
- func IDGTE(id int) predicate.VisitLog
- func IDIn(ids ...int) predicate.VisitLog
- func IDLT(id int) predicate.VisitLog
- func IDLTE(id int) predicate.VisitLog
- func IDNEQ(id int) predicate.VisitLog
- func IDNotIn(ids ...int) predicate.VisitLog
- func IP(v string) predicate.VisitLog
- func IPContains(v string) predicate.VisitLog
- func IPContainsFold(v string) predicate.VisitLog
- func IPEQ(v string) predicate.VisitLog
- func IPEqualFold(v string) predicate.VisitLog
- func IPGT(v string) predicate.VisitLog
- func IPGTE(v string) predicate.VisitLog
- func IPHasPrefix(v string) predicate.VisitLog
- func IPHasSuffix(v string) predicate.VisitLog
- func IPIn(vs ...string) predicate.VisitLog
- func IPLT(v string) predicate.VisitLog
- func IPLTE(v string) predicate.VisitLog
- func IPNEQ(v string) predicate.VisitLog
- func IPNotIn(vs ...string) predicate.VisitLog
- func Mobile(v bool) predicate.VisitLog
- func MobileEQ(v bool) predicate.VisitLog
- func MobileNEQ(v bool) predicate.VisitLog
- func Mozilla(v string) predicate.VisitLog
- func MozillaContains(v string) predicate.VisitLog
- func MozillaContainsFold(v string) predicate.VisitLog
- func MozillaEQ(v string) predicate.VisitLog
- func MozillaEqualFold(v string) predicate.VisitLog
- func MozillaGT(v string) predicate.VisitLog
- func MozillaGTE(v string) predicate.VisitLog
- func MozillaHasPrefix(v string) predicate.VisitLog
- func MozillaHasSuffix(v string) predicate.VisitLog
- func MozillaIn(vs ...string) predicate.VisitLog
- func MozillaLT(v string) predicate.VisitLog
- func MozillaLTE(v string) predicate.VisitLog
- func MozillaNEQ(v string) predicate.VisitLog
- func MozillaNotIn(vs ...string) predicate.VisitLog
- func Not(p predicate.VisitLog) predicate.VisitLog
- func Or(predicates ...predicate.VisitLog) predicate.VisitLog
- func Os(v string) predicate.VisitLog
- func OsContains(v string) predicate.VisitLog
- func OsContainsFold(v string) predicate.VisitLog
- func OsEQ(v string) predicate.VisitLog
- func OsEqualFold(v string) predicate.VisitLog
- func OsGT(v string) predicate.VisitLog
- func OsGTE(v string) predicate.VisitLog
- func OsHasPrefix(v string) predicate.VisitLog
- func OsHasSuffix(v string) predicate.VisitLog
- func OsIn(vs ...string) predicate.VisitLog
- func OsLT(v string) predicate.VisitLog
- func OsLTE(v string) predicate.VisitLog
- func OsNEQ(v string) predicate.VisitLog
- func OsNotIn(vs ...string) predicate.VisitLog
- func Platform(v string) predicate.VisitLog
- func PlatformContains(v string) predicate.VisitLog
- func PlatformContainsFold(v string) predicate.VisitLog
- func PlatformEQ(v string) predicate.VisitLog
- func PlatformEqualFold(v string) predicate.VisitLog
- func PlatformGT(v string) predicate.VisitLog
- func PlatformGTE(v string) predicate.VisitLog
- func PlatformHasPrefix(v string) predicate.VisitLog
- func PlatformHasSuffix(v string) predicate.VisitLog
- func PlatformIn(vs ...string) predicate.VisitLog
- func PlatformLT(v string) predicate.VisitLog
- func PlatformLTE(v string) predicate.VisitLog
- func PlatformNEQ(v string) predicate.VisitLog
- func PlatformNotIn(vs ...string) predicate.VisitLog
- func Referer(v string) predicate.VisitLog
- func RefererContains(v string) predicate.VisitLog
- func RefererContainsFold(v string) predicate.VisitLog
- func RefererEQ(v string) predicate.VisitLog
- func RefererEqualFold(v string) predicate.VisitLog
- func RefererGT(v string) predicate.VisitLog
- func RefererGTE(v string) predicate.VisitLog
- func RefererHasPrefix(v string) predicate.VisitLog
- func RefererHasSuffix(v string) predicate.VisitLog
- func RefererIn(vs ...string) predicate.VisitLog
- func RefererLT(v string) predicate.VisitLog
- func RefererLTE(v string) predicate.VisitLog
- func RefererNEQ(v string) predicate.VisitLog
- func RefererNotIn(vs ...string) predicate.VisitLog
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the visitlog type in the database. Label = "visit_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPlatform holds the string denoting the platform field in the database. FieldPlatform = "platform" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // FieldIP holds the string denoting the ip field in the database. FieldIP = "ip" // FieldReferer holds the string denoting the referer field in the database. FieldReferer = "referer" // FieldEngineName holds the string denoting the engine_name field in the database. FieldEngineName = "engine_name" // FieldEngineVersion holds the string denoting the engine_version field in the database. FieldEngineVersion = "engine_version" // FieldBrowserName holds the string denoting the browser_name field in the database. FieldBrowserName = "browser_name" // FieldBrowserVersion holds the string denoting the browser_version field in the database. FieldBrowserVersion = "browser_version" // FieldMozilla holds the string denoting the mozilla field in the database. FieldMozilla = "mozilla" // FieldBot holds the string denoting the bot field in the database. FieldBot = "bot" // FieldMobile holds the string denoting the mobile field in the database. FieldMobile = "mobile" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeURL holds the string denoting the url edge name in mutations. EdgeURL = "url" // Table holds the table name of the visitlog in the database. Table = "log" // URLTable is the table that holds the url relation/edge. URLTable = "log" // URLInverseTable is the table name for the Url entity. // It exists in this package in order to avoid circular dependency with the "url" package. URLInverseTable = "url" // URLColumn is the table column denoting the url relation/edge. URLColumn = "url_logs" )
Variables ¶
var Columns = []string{ FieldID, FieldPlatform, FieldOs, FieldIP, FieldReferer, FieldEngineName, FieldEngineVersion, FieldBrowserName, FieldBrowserVersion, FieldMozilla, FieldBot, FieldMobile, FieldCreatedAt, }
Columns holds all SQL columns for visitlog fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var ForeignKeys = []string{
"url_logs",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "log" table and are not defined as standalone fields in the schema.
Functions ¶
func BrowserName ¶
BrowserName applies equality check predicate on the "browser_name" field. It's identical to BrowserNameEQ.
func BrowserNameContains ¶
BrowserNameContains applies the Contains predicate on the "browser_name" field.
func BrowserNameContainsFold ¶
BrowserNameContainsFold applies the ContainsFold predicate on the "browser_name" field.
func BrowserNameEQ ¶
BrowserNameEQ applies the EQ predicate on the "browser_name" field.
func BrowserNameEqualFold ¶
BrowserNameEqualFold applies the EqualFold predicate on the "browser_name" field.
func BrowserNameGT ¶
BrowserNameGT applies the GT predicate on the "browser_name" field.
func BrowserNameGTE ¶
BrowserNameGTE applies the GTE predicate on the "browser_name" field.
func BrowserNameHasPrefix ¶
BrowserNameHasPrefix applies the HasPrefix predicate on the "browser_name" field.
func BrowserNameHasSuffix ¶
BrowserNameHasSuffix applies the HasSuffix predicate on the "browser_name" field.
func BrowserNameIn ¶
BrowserNameIn applies the In predicate on the "browser_name" field.
func BrowserNameLT ¶
BrowserNameLT applies the LT predicate on the "browser_name" field.
func BrowserNameLTE ¶
BrowserNameLTE applies the LTE predicate on the "browser_name" field.
func BrowserNameNEQ ¶
BrowserNameNEQ applies the NEQ predicate on the "browser_name" field.
func BrowserNameNotIn ¶
BrowserNameNotIn applies the NotIn predicate on the "browser_name" field.
func BrowserVersion ¶
BrowserVersion applies equality check predicate on the "browser_version" field. It's identical to BrowserVersionEQ.
func BrowserVersionContains ¶
BrowserVersionContains applies the Contains predicate on the "browser_version" field.
func BrowserVersionContainsFold ¶
BrowserVersionContainsFold applies the ContainsFold predicate on the "browser_version" field.
func BrowserVersionEQ ¶
BrowserVersionEQ applies the EQ predicate on the "browser_version" field.
func BrowserVersionEqualFold ¶
BrowserVersionEqualFold applies the EqualFold predicate on the "browser_version" field.
func BrowserVersionGT ¶
BrowserVersionGT applies the GT predicate on the "browser_version" field.
func BrowserVersionGTE ¶
BrowserVersionGTE applies the GTE predicate on the "browser_version" field.
func BrowserVersionHasPrefix ¶
BrowserVersionHasPrefix applies the HasPrefix predicate on the "browser_version" field.
func BrowserVersionHasSuffix ¶
BrowserVersionHasSuffix applies the HasSuffix predicate on the "browser_version" field.
func BrowserVersionIn ¶
BrowserVersionIn applies the In predicate on the "browser_version" field.
func BrowserVersionLT ¶
BrowserVersionLT applies the LT predicate on the "browser_version" field.
func BrowserVersionLTE ¶
BrowserVersionLTE applies the LTE predicate on the "browser_version" field.
func BrowserVersionNEQ ¶
BrowserVersionNEQ applies the NEQ predicate on the "browser_version" field.
func BrowserVersionNotIn ¶
BrowserVersionNotIn applies the NotIn predicate on the "browser_version" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EngineName ¶
EngineName applies equality check predicate on the "engine_name" field. It's identical to EngineNameEQ.
func EngineNameContains ¶
EngineNameContains applies the Contains predicate on the "engine_name" field.
func EngineNameContainsFold ¶
EngineNameContainsFold applies the ContainsFold predicate on the "engine_name" field.
func EngineNameEQ ¶
EngineNameEQ applies the EQ predicate on the "engine_name" field.
func EngineNameEqualFold ¶
EngineNameEqualFold applies the EqualFold predicate on the "engine_name" field.
func EngineNameGT ¶
EngineNameGT applies the GT predicate on the "engine_name" field.
func EngineNameGTE ¶
EngineNameGTE applies the GTE predicate on the "engine_name" field.
func EngineNameHasPrefix ¶
EngineNameHasPrefix applies the HasPrefix predicate on the "engine_name" field.
func EngineNameHasSuffix ¶
EngineNameHasSuffix applies the HasSuffix predicate on the "engine_name" field.
func EngineNameIn ¶
EngineNameIn applies the In predicate on the "engine_name" field.
func EngineNameLT ¶
EngineNameLT applies the LT predicate on the "engine_name" field.
func EngineNameLTE ¶
EngineNameLTE applies the LTE predicate on the "engine_name" field.
func EngineNameNEQ ¶
EngineNameNEQ applies the NEQ predicate on the "engine_name" field.
func EngineNameNotIn ¶
EngineNameNotIn applies the NotIn predicate on the "engine_name" field.
func EngineVersion ¶
EngineVersion applies equality check predicate on the "engine_version" field. It's identical to EngineVersionEQ.
func EngineVersionContains ¶
EngineVersionContains applies the Contains predicate on the "engine_version" field.
func EngineVersionContainsFold ¶
EngineVersionContainsFold applies the ContainsFold predicate on the "engine_version" field.
func EngineVersionEQ ¶
EngineVersionEQ applies the EQ predicate on the "engine_version" field.
func EngineVersionEqualFold ¶
EngineVersionEqualFold applies the EqualFold predicate on the "engine_version" field.
func EngineVersionGT ¶
EngineVersionGT applies the GT predicate on the "engine_version" field.
func EngineVersionGTE ¶
EngineVersionGTE applies the GTE predicate on the "engine_version" field.
func EngineVersionHasPrefix ¶
EngineVersionHasPrefix applies the HasPrefix predicate on the "engine_version" field.
func EngineVersionHasSuffix ¶
EngineVersionHasSuffix applies the HasSuffix predicate on the "engine_version" field.
func EngineVersionIn ¶
EngineVersionIn applies the In predicate on the "engine_version" field.
func EngineVersionLT ¶
EngineVersionLT applies the LT predicate on the "engine_version" field.
func EngineVersionLTE ¶
EngineVersionLTE applies the LTE predicate on the "engine_version" field.
func EngineVersionNEQ ¶
EngineVersionNEQ applies the NEQ predicate on the "engine_version" field.
func EngineVersionNotIn ¶
EngineVersionNotIn applies the NotIn predicate on the "engine_version" field.
func HasURLWith ¶
HasURLWith applies the HasEdge predicate on the "url" edge with a given conditions (other predicates).
func IPContains ¶
IPContains applies the Contains predicate on the "ip" field.
func IPContainsFold ¶
IPContainsFold applies the ContainsFold predicate on the "ip" field.
func IPEqualFold ¶
IPEqualFold applies the EqualFold predicate on the "ip" field.
func IPHasPrefix ¶
IPHasPrefix applies the HasPrefix predicate on the "ip" field.
func IPHasSuffix ¶
IPHasSuffix applies the HasSuffix predicate on the "ip" field.
func Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func Mozilla ¶
Mozilla applies equality check predicate on the "mozilla" field. It's identical to MozillaEQ.
func MozillaContains ¶
MozillaContains applies the Contains predicate on the "mozilla" field.
func MozillaContainsFold ¶
MozillaContainsFold applies the ContainsFold predicate on the "mozilla" field.
func MozillaEqualFold ¶
MozillaEqualFold applies the EqualFold predicate on the "mozilla" field.
func MozillaGTE ¶
MozillaGTE applies the GTE predicate on the "mozilla" field.
func MozillaHasPrefix ¶
MozillaHasPrefix applies the HasPrefix predicate on the "mozilla" field.
func MozillaHasSuffix ¶
MozillaHasSuffix applies the HasSuffix predicate on the "mozilla" field.
func MozillaLTE ¶
MozillaLTE applies the LTE predicate on the "mozilla" field.
func MozillaNEQ ¶
MozillaNEQ applies the NEQ predicate on the "mozilla" field.
func MozillaNotIn ¶
MozillaNotIn applies the NotIn predicate on the "mozilla" field.
func OsContains ¶
OsContains applies the Contains predicate on the "os" field.
func OsContainsFold ¶
OsContainsFold applies the ContainsFold predicate on the "os" field.
func OsEqualFold ¶
OsEqualFold applies the EqualFold predicate on the "os" field.
func OsHasPrefix ¶
OsHasPrefix applies the HasPrefix predicate on the "os" field.
func OsHasSuffix ¶
OsHasSuffix applies the HasSuffix predicate on the "os" field.
func Platform ¶
Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
func PlatformContains ¶
PlatformContains applies the Contains predicate on the "platform" field.
func PlatformContainsFold ¶
PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
func PlatformEQ ¶
PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformEqualFold ¶
PlatformEqualFold applies the EqualFold predicate on the "platform" field.
func PlatformGT ¶
PlatformGT applies the GT predicate on the "platform" field.
func PlatformGTE ¶
PlatformGTE applies the GTE predicate on the "platform" field.
func PlatformHasPrefix ¶
PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
func PlatformHasSuffix ¶
PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
func PlatformIn ¶
PlatformIn applies the In predicate on the "platform" field.
func PlatformLT ¶
PlatformLT applies the LT predicate on the "platform" field.
func PlatformLTE ¶
PlatformLTE applies the LTE predicate on the "platform" field.
func PlatformNEQ ¶
PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNotIn ¶
PlatformNotIn applies the NotIn predicate on the "platform" field.
func Referer ¶
Referer applies equality check predicate on the "referer" field. It's identical to RefererEQ.
func RefererContains ¶
RefererContains applies the Contains predicate on the "referer" field.
func RefererContainsFold ¶
RefererContainsFold applies the ContainsFold predicate on the "referer" field.
func RefererEqualFold ¶
RefererEqualFold applies the EqualFold predicate on the "referer" field.
func RefererGTE ¶
RefererGTE applies the GTE predicate on the "referer" field.
func RefererHasPrefix ¶
RefererHasPrefix applies the HasPrefix predicate on the "referer" field.
func RefererHasSuffix ¶
RefererHasSuffix applies the HasSuffix predicate on the "referer" field.
func RefererLTE ¶
RefererLTE applies the LTE predicate on the "referer" field.
func RefererNEQ ¶
RefererNEQ applies the NEQ predicate on the "referer" field.
func RefererNotIn ¶
RefererNotIn applies the NotIn predicate on the "referer" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.