event

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the event type in the database.
	Label = "event"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTrackingID holds the string denoting the tracking_id field in the database.
	FieldTrackingID = "tracking_id"
	// FieldEvent holds the string denoting the event field in the database.
	FieldEvent = "event"
	// FieldNonInteractive holds the string denoting the non_interactive field in the database.
	FieldNonInteractive = "non_interactive"
	// FieldChannel holds the string denoting the channel field in the database.
	FieldChannel = "channel"
	// FieldPlatform holds the string denoting the platform field in the database.
	FieldPlatform = "platform"
	// FieldProperties holds the string denoting the properties field in the database.
	FieldProperties = "properties"
	// FieldTimestamp holds the string denoting the timestamp field in the database.
	FieldTimestamp = "timestamp"

	// EdgeAction holds the string denoting the action edge name in mutations.
	EdgeAction = "action"
	// EdgeAlias holds the string denoting the alias edge name in mutations.
	EdgeAlias = "alias"
	// EdgeApp holds the string denoting the app edge name in mutations.
	EdgeApp = "app"
	// EdgeBrowser holds the string denoting the browser edge name in mutations.
	EdgeBrowser = "browser"
	// EdgeCampaign holds the string denoting the campaign edge name in mutations.
	EdgeCampaign = "campaign"
	// EdgeConnectivity holds the string denoting the connectivity edge name in mutations.
	EdgeConnectivity = "connectivity"
	// EdgeDevice holds the string denoting the device edge name in mutations.
	EdgeDevice = "device"
	// EdgeExtra holds the string denoting the extra edge name in mutations.
	EdgeExtra = "extra"
	// EdgeGroup holds the string denoting the group edge name in mutations.
	EdgeGroup = "group"
	// EdgeLibrary holds the string denoting the library edge name in mutations.
	EdgeLibrary = "library"
	// EdgeLocation holds the string denoting the location edge name in mutations.
	EdgeLocation = "location"
	// EdgeNetwork holds the string denoting the network edge name in mutations.
	EdgeNetwork = "network"
	// EdgeOs holds the string denoting the os edge name in mutations.
	EdgeOs = "os"
	// EdgePage holds the string denoting the page edge name in mutations.
	EdgePage = "page"
	// EdgeReferrer holds the string denoting the referrer edge name in mutations.
	EdgeReferrer = "referrer"
	// EdgeScreen holds the string denoting the screen edge name in mutations.
	EdgeScreen = "screen"
	// EdgeSession holds the string denoting the session edge name in mutations.
	EdgeSession = "session"
	// EdgeTiming holds the string denoting the timing edge name in mutations.
	EdgeTiming = "timing"
	// EdgeViewport holds the string denoting the viewport edge name in mutations.
	EdgeViewport = "viewport"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"

	// Table holds the table name of the event in the database.
	Table = "events"
	// ActionTable is the table the holds the action relation/edge.
	ActionTable = "actions"
	// ActionInverseTable is the table name for the Action entity.
	// It exists in this package in order to avoid circular dependency with the "action" package.
	ActionInverseTable = "actions"
	// ActionColumn is the table column denoting the action relation/edge.
	ActionColumn = "event_action"
	// AliasTable is the table the holds the alias relation/edge.
	AliasTable = "alias"
	// AliasInverseTable is the table name for the Alias entity.
	// It exists in this package in order to avoid circular dependency with the "alias" package.
	AliasInverseTable = "alias"
	// AliasColumn is the table column denoting the alias relation/edge.
	AliasColumn = "event_alias"
	// AppTable is the table the holds the app relation/edge.
	AppTable = "events"
	// AppInverseTable is the table name for the App entity.
	// It exists in this package in order to avoid circular dependency with the "app" package.
	AppInverseTable = "apps"
	// AppColumn is the table column denoting the app relation/edge.
	AppColumn = "event_app"
	// BrowserTable is the table the holds the browser relation/edge.
	BrowserTable = "browsers"
	// BrowserInverseTable is the table name for the Browser entity.
	// It exists in this package in order to avoid circular dependency with the "browser" package.
	BrowserInverseTable = "browsers"
	// BrowserColumn is the table column denoting the browser relation/edge.
	BrowserColumn = "event_browser"
	// CampaignTable is the table the holds the campaign relation/edge.
	CampaignTable = "events"
	// CampaignInverseTable is the table name for the Campaign entity.
	// It exists in this package in order to avoid circular dependency with the "campaign" package.
	CampaignInverseTable = "campaigns"
	// CampaignColumn is the table column denoting the campaign relation/edge.
	CampaignColumn = "event_campaign"
	// ConnectivityTable is the table the holds the connectivity relation/edge.
	ConnectivityTable = "connectivities"
	// ConnectivityInverseTable is the table name for the Connectivity entity.
	// It exists in this package in order to avoid circular dependency with the "connectivity" package.
	ConnectivityInverseTable = "connectivities"
	// ConnectivityColumn is the table column denoting the connectivity relation/edge.
	ConnectivityColumn = "event_connectivity"
	// DeviceTable is the table the holds the device relation/edge.
	DeviceTable = "events"
	// DeviceInverseTable is the table name for the Device entity.
	// It exists in this package in order to avoid circular dependency with the "device" package.
	DeviceInverseTable = "devices"
	// DeviceColumn is the table column denoting the device relation/edge.
	DeviceColumn = "event_device"
	// ExtraTable is the table the holds the extra relation/edge.
	ExtraTable = "events"
	// ExtraInverseTable is the table name for the Extra entity.
	// It exists in this package in order to avoid circular dependency with the "extra" package.
	ExtraInverseTable = "extras"
	// ExtraColumn is the table column denoting the extra relation/edge.
	ExtraColumn = "event_extra"
	// GroupTable is the table the holds the group relation/edge.
	GroupTable = "events"
	// GroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupInverseTable = "groups"
	// GroupColumn is the table column denoting the group relation/edge.
	GroupColumn = "event_group"
	// LibraryTable is the table the holds the library relation/edge.
	LibraryTable = "events"
	// LibraryInverseTable is the table name for the Library entity.
	// It exists in this package in order to avoid circular dependency with the "library" package.
	LibraryInverseTable = "libraries"
	// LibraryColumn is the table column denoting the library relation/edge.
	LibraryColumn = "event_library"
	// LocationTable is the table the holds the location relation/edge.
	LocationTable = "events"
	// LocationInverseTable is the table name for the Location entity.
	// It exists in this package in order to avoid circular dependency with the "location" package.
	LocationInverseTable = "locations"
	// LocationColumn is the table column denoting the location relation/edge.
	LocationColumn = "event_location"
	// NetworkTable is the table the holds the network relation/edge.
	NetworkTable = "events"
	// NetworkInverseTable is the table name for the Network entity.
	// It exists in this package in order to avoid circular dependency with the "network" package.
	NetworkInverseTable = "networks"
	// NetworkColumn is the table column denoting the network relation/edge.
	NetworkColumn = "event_network"
	// OsTable is the table the holds the os relation/edge.
	OsTable = "events"
	// OsInverseTable is the table name for the OSContext entity.
	// It exists in this package in order to avoid circular dependency with the "oscontext" package.
	OsInverseTable = "os"
	// OsColumn is the table column denoting the os relation/edge.
	OsColumn = "event_os"
	// PageTable is the table the holds the page relation/edge.
	PageTable = "events"
	// PageInverseTable is the table name for the Page entity.
	// It exists in this package in order to avoid circular dependency with the "page" package.
	PageInverseTable = "pages"
	// PageColumn is the table column denoting the page relation/edge.
	PageColumn = "event_page"
	// ReferrerTable is the table the holds the referrer relation/edge.
	ReferrerTable = "events"
	// ReferrerInverseTable is the table name for the Referrer entity.
	// It exists in this package in order to avoid circular dependency with the "referrer" package.
	ReferrerInverseTable = "referrers"
	// ReferrerColumn is the table column denoting the referrer relation/edge.
	ReferrerColumn = "event_referrer"
	// ScreenTable is the table the holds the screen relation/edge.
	ScreenTable = "events"
	// ScreenInverseTable is the table name for the Screen entity.
	// It exists in this package in order to avoid circular dependency with the "screen" package.
	ScreenInverseTable = "screens"
	// ScreenColumn is the table column denoting the screen relation/edge.
	ScreenColumn = "event_screen"
	// SessionTable is the table the holds the session relation/edge.
	SessionTable = "events"
	// SessionInverseTable is the table name for the Session entity.
	// It exists in this package in order to avoid circular dependency with the "session" package.
	SessionInverseTable = "sessions"
	// SessionColumn is the table column denoting the session relation/edge.
	SessionColumn = "event_session"
	// TimingTable is the table the holds the timing relation/edge.
	TimingTable = "events"
	// TimingInverseTable is the table name for the Timing entity.
	// It exists in this package in order to avoid circular dependency with the "timing" package.
	TimingInverseTable = "timings"
	// TimingColumn is the table column denoting the timing relation/edge.
	TimingColumn = "event_timing"
	// ViewportTable is the table the holds the viewport relation/edge.
	ViewportTable = "events"
	// ViewportInverseTable is the table name for the Viewport entity.
	// It exists in this package in order to avoid circular dependency with the "viewport" package.
	ViewportInverseTable = "viewports"
	// ViewportColumn is the table column denoting the viewport relation/edge.
	ViewportColumn = "event_viewport"
	// UserTable is the table the holds the user relation/edge.
	UserTable = "events"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "event_user"
)

Variables

Columns holds all SQL columns for event fields.

View Source
var ForeignKeys = []string{
	"event_app",
	"event_campaign",
	"event_device",
	"event_extra",
	"event_group",
	"event_library",
	"event_location",
	"event_network",
	"event_os",
	"event_page",
	"event_referrer",
	"event_screen",
	"event_session",
	"event_timing",
	"event_viewport",
	"event_user",
}

ForeignKeys holds the SQL foreign-keys that are owned by the Event type.

Functions

func And

func And(predicates ...predicate.Event) predicate.Event

And groups list of predicates with the AND operator between them.

func Channel

func Channel(v string) predicate.Event

Channel applies equality check predicate on the "channel" field. It's identical to ChannelEQ.

func ChannelContains

func ChannelContains(v string) predicate.Event

ChannelContains applies the Contains predicate on the "channel" field.

func ChannelContainsFold

func ChannelContainsFold(v string) predicate.Event

ChannelContainsFold applies the ContainsFold predicate on the "channel" field.

func ChannelEQ

func ChannelEQ(v string) predicate.Event

ChannelEQ applies the EQ predicate on the "channel" field.

func ChannelEqualFold

func ChannelEqualFold(v string) predicate.Event

ChannelEqualFold applies the EqualFold predicate on the "channel" field.

func ChannelGT

func ChannelGT(v string) predicate.Event

ChannelGT applies the GT predicate on the "channel" field.

func ChannelGTE

func ChannelGTE(v string) predicate.Event

ChannelGTE applies the GTE predicate on the "channel" field.

func ChannelHasPrefix

func ChannelHasPrefix(v string) predicate.Event

ChannelHasPrefix applies the HasPrefix predicate on the "channel" field.

func ChannelHasSuffix

func ChannelHasSuffix(v string) predicate.Event

ChannelHasSuffix applies the HasSuffix predicate on the "channel" field.

func ChannelIn

func ChannelIn(vs ...string) predicate.Event

ChannelIn applies the In predicate on the "channel" field.

func ChannelIsNil

func ChannelIsNil() predicate.Event

ChannelIsNil applies the IsNil predicate on the "channel" field.

func ChannelLT

func ChannelLT(v string) predicate.Event

ChannelLT applies the LT predicate on the "channel" field.

func ChannelLTE

func ChannelLTE(v string) predicate.Event

ChannelLTE applies the LTE predicate on the "channel" field.

func ChannelNEQ

func ChannelNEQ(v string) predicate.Event

ChannelNEQ applies the NEQ predicate on the "channel" field.

func ChannelNotIn

func ChannelNotIn(vs ...string) predicate.Event

ChannelNotIn applies the NotIn predicate on the "channel" field.

func ChannelNotNil

func ChannelNotNil() predicate.Event

ChannelNotNil applies the NotNil predicate on the "channel" field.

func EventEQ

func EventEQ(v Event) predicate.Event

EventEQ applies the EQ predicate on the "event" field.

func EventIn

func EventIn(vs ...Event) predicate.Event

EventIn applies the In predicate on the "event" field.

func EventNEQ

func EventNEQ(v Event) predicate.Event

EventNEQ applies the NEQ predicate on the "event" field.

func EventNotIn

func EventNotIn(vs ...Event) predicate.Event

EventNotIn applies the NotIn predicate on the "event" field.

func EventValidator

func EventValidator(e Event) error

EventValidator is a validator for the "event" field enum values. It is called by the builders before save.

func HasAction

func HasAction() predicate.Event

HasAction applies the HasEdge predicate on the "action" edge.

func HasActionWith

func HasActionWith(preds ...predicate.Action) predicate.Event

HasActionWith applies the HasEdge predicate on the "action" edge with a given conditions (other predicates).

func HasAlias

func HasAlias() predicate.Event

HasAlias applies the HasEdge predicate on the "alias" edge.

func HasAliasWith

func HasAliasWith(preds ...predicate.Alias) predicate.Event

HasAliasWith applies the HasEdge predicate on the "alias" edge with a given conditions (other predicates).

func HasApp

func HasApp() predicate.Event

HasApp applies the HasEdge predicate on the "app" edge.

func HasAppWith

func HasAppWith(preds ...predicate.App) predicate.Event

HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).

func HasBrowser

func HasBrowser() predicate.Event

HasBrowser applies the HasEdge predicate on the "browser" edge.

func HasBrowserWith

func HasBrowserWith(preds ...predicate.Browser) predicate.Event

HasBrowserWith applies the HasEdge predicate on the "browser" edge with a given conditions (other predicates).

func HasCampaign

func HasCampaign() predicate.Event

HasCampaign applies the HasEdge predicate on the "campaign" edge.

func HasCampaignWith

func HasCampaignWith(preds ...predicate.Campaign) predicate.Event

HasCampaignWith applies the HasEdge predicate on the "campaign" edge with a given conditions (other predicates).

func HasConnectivity

func HasConnectivity() predicate.Event

HasConnectivity applies the HasEdge predicate on the "connectivity" edge.

func HasConnectivityWith

func HasConnectivityWith(preds ...predicate.Connectivity) predicate.Event

HasConnectivityWith applies the HasEdge predicate on the "connectivity" edge with a given conditions (other predicates).

func HasDevice

func HasDevice() predicate.Event

HasDevice applies the HasEdge predicate on the "device" edge.

func HasDeviceWith

func HasDeviceWith(preds ...predicate.Device) predicate.Event

HasDeviceWith applies the HasEdge predicate on the "device" edge with a given conditions (other predicates).

func HasExtra

func HasExtra() predicate.Event

HasExtra applies the HasEdge predicate on the "extra" edge.

func HasExtraWith

func HasExtraWith(preds ...predicate.Extra) predicate.Event

HasExtraWith applies the HasEdge predicate on the "extra" edge with a given conditions (other predicates).

func HasGroup

func HasGroup() predicate.Event

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.Group) predicate.Event

HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).

func HasLibrary

func HasLibrary() predicate.Event

HasLibrary applies the HasEdge predicate on the "library" edge.

func HasLibraryWith

func HasLibraryWith(preds ...predicate.Library) predicate.Event

HasLibraryWith applies the HasEdge predicate on the "library" edge with a given conditions (other predicates).

func HasLocation

func HasLocation() predicate.Event

HasLocation applies the HasEdge predicate on the "location" edge.

func HasLocationWith

func HasLocationWith(preds ...predicate.Location) predicate.Event

HasLocationWith applies the HasEdge predicate on the "location" edge with a given conditions (other predicates).

func HasNetwork

func HasNetwork() predicate.Event

HasNetwork applies the HasEdge predicate on the "network" edge.

func HasNetworkWith

func HasNetworkWith(preds ...predicate.Network) predicate.Event

HasNetworkWith applies the HasEdge predicate on the "network" edge with a given conditions (other predicates).

func HasOs

func HasOs() predicate.Event

HasOs applies the HasEdge predicate on the "os" edge.

func HasOsWith

func HasOsWith(preds ...predicate.OSContext) predicate.Event

HasOsWith applies the HasEdge predicate on the "os" edge with a given conditions (other predicates).

func HasPage

func HasPage() predicate.Event

HasPage applies the HasEdge predicate on the "page" edge.

func HasPageWith

func HasPageWith(preds ...predicate.Page) predicate.Event

HasPageWith applies the HasEdge predicate on the "page" edge with a given conditions (other predicates).

func HasReferrer

func HasReferrer() predicate.Event

HasReferrer applies the HasEdge predicate on the "referrer" edge.

func HasReferrerWith

func HasReferrerWith(preds ...predicate.Referrer) predicate.Event

HasReferrerWith applies the HasEdge predicate on the "referrer" edge with a given conditions (other predicates).

func HasScreen

func HasScreen() predicate.Event

HasScreen applies the HasEdge predicate on the "screen" edge.

func HasScreenWith

func HasScreenWith(preds ...predicate.Screen) predicate.Event

HasScreenWith applies the HasEdge predicate on the "screen" edge with a given conditions (other predicates).

func HasSession

func HasSession() predicate.Event

HasSession applies the HasEdge predicate on the "session" edge.

func HasSessionWith

func HasSessionWith(preds ...predicate.Session) predicate.Event

HasSessionWith applies the HasEdge predicate on the "session" edge with a given conditions (other predicates).

func HasTiming

func HasTiming() predicate.Event

HasTiming applies the HasEdge predicate on the "timing" edge.

func HasTimingWith

func HasTimingWith(preds ...predicate.Timing) predicate.Event

HasTimingWith applies the HasEdge predicate on the "timing" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.Event

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Event

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func HasViewport

func HasViewport() predicate.Event

HasViewport applies the HasEdge predicate on the "viewport" edge.

func HasViewportWith

func HasViewportWith(preds ...predicate.Viewport) predicate.Event

HasViewportWith applies the HasEdge predicate on the "viewport" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Event

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Event

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Event

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Event

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Event

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Event

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Event

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Event

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Event

IDNotIn applies the NotIn predicate on the ID field.

func NonInteractive

func NonInteractive(v bool) predicate.Event

NonInteractive applies equality check predicate on the "non_interactive" field. It's identical to NonInteractiveEQ.

func NonInteractiveEQ

func NonInteractiveEQ(v bool) predicate.Event

NonInteractiveEQ applies the EQ predicate on the "non_interactive" field.

func NonInteractiveNEQ

func NonInteractiveNEQ(v bool) predicate.Event

NonInteractiveNEQ applies the NEQ predicate on the "non_interactive" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Event) predicate.Event

Or groups list of predicates with the OR operator between them.

func Platform

func Platform(v string) predicate.Event

Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.

func PlatformContains

func PlatformContains(v string) predicate.Event

PlatformContains applies the Contains predicate on the "platform" field.

func PlatformContainsFold

func PlatformContainsFold(v string) predicate.Event

PlatformContainsFold applies the ContainsFold predicate on the "platform" field.

func PlatformEQ

func PlatformEQ(v string) predicate.Event

PlatformEQ applies the EQ predicate on the "platform" field.

func PlatformEqualFold

func PlatformEqualFold(v string) predicate.Event

PlatformEqualFold applies the EqualFold predicate on the "platform" field.

func PlatformGT

func PlatformGT(v string) predicate.Event

PlatformGT applies the GT predicate on the "platform" field.

func PlatformGTE

func PlatformGTE(v string) predicate.Event

PlatformGTE applies the GTE predicate on the "platform" field.

func PlatformHasPrefix

func PlatformHasPrefix(v string) predicate.Event

PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.

func PlatformHasSuffix

func PlatformHasSuffix(v string) predicate.Event

PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.

func PlatformIn

func PlatformIn(vs ...string) predicate.Event

PlatformIn applies the In predicate on the "platform" field.

func PlatformIsNil

func PlatformIsNil() predicate.Event

PlatformIsNil applies the IsNil predicate on the "platform" field.

func PlatformLT

func PlatformLT(v string) predicate.Event

PlatformLT applies the LT predicate on the "platform" field.

func PlatformLTE

func PlatformLTE(v string) predicate.Event

PlatformLTE applies the LTE predicate on the "platform" field.

func PlatformNEQ

func PlatformNEQ(v string) predicate.Event

PlatformNEQ applies the NEQ predicate on the "platform" field.

func PlatformNotIn

func PlatformNotIn(vs ...string) predicate.Event

PlatformNotIn applies the NotIn predicate on the "platform" field.

func PlatformNotNil

func PlatformNotNil() predicate.Event

PlatformNotNil applies the NotNil predicate on the "platform" field.

func PropertiesIsNil

func PropertiesIsNil() predicate.Event

PropertiesIsNil applies the IsNil predicate on the "properties" field.

func PropertiesNotNil

func PropertiesNotNil() predicate.Event

PropertiesNotNil applies the NotNil predicate on the "properties" field.

func Timestamp

func Timestamp(v time.Time) predicate.Event

Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.

func TimestampEQ

func TimestampEQ(v time.Time) predicate.Event

TimestampEQ applies the EQ predicate on the "timestamp" field.

func TimestampGT

func TimestampGT(v time.Time) predicate.Event

TimestampGT applies the GT predicate on the "timestamp" field.

func TimestampGTE

func TimestampGTE(v time.Time) predicate.Event

TimestampGTE applies the GTE predicate on the "timestamp" field.

func TimestampIn

func TimestampIn(vs ...time.Time) predicate.Event

TimestampIn applies the In predicate on the "timestamp" field.

func TimestampLT

func TimestampLT(v time.Time) predicate.Event

TimestampLT applies the LT predicate on the "timestamp" field.

func TimestampLTE

func TimestampLTE(v time.Time) predicate.Event

TimestampLTE applies the LTE predicate on the "timestamp" field.

func TimestampNEQ

func TimestampNEQ(v time.Time) predicate.Event

TimestampNEQ applies the NEQ predicate on the "timestamp" field.

func TimestampNotIn

func TimestampNotIn(vs ...time.Time) predicate.Event

TimestampNotIn applies the NotIn predicate on the "timestamp" field.

func TrackingID

func TrackingID(v string) predicate.Event

TrackingID applies equality check predicate on the "tracking_id" field. It's identical to TrackingIDEQ.

func TrackingIDContains

func TrackingIDContains(v string) predicate.Event

TrackingIDContains applies the Contains predicate on the "tracking_id" field.

func TrackingIDContainsFold

func TrackingIDContainsFold(v string) predicate.Event

TrackingIDContainsFold applies the ContainsFold predicate on the "tracking_id" field.

func TrackingIDEQ

func TrackingIDEQ(v string) predicate.Event

TrackingIDEQ applies the EQ predicate on the "tracking_id" field.

func TrackingIDEqualFold

func TrackingIDEqualFold(v string) predicate.Event

TrackingIDEqualFold applies the EqualFold predicate on the "tracking_id" field.

func TrackingIDGT

func TrackingIDGT(v string) predicate.Event

TrackingIDGT applies the GT predicate on the "tracking_id" field.

func TrackingIDGTE

func TrackingIDGTE(v string) predicate.Event

TrackingIDGTE applies the GTE predicate on the "tracking_id" field.

func TrackingIDHasPrefix

func TrackingIDHasPrefix(v string) predicate.Event

TrackingIDHasPrefix applies the HasPrefix predicate on the "tracking_id" field.

func TrackingIDHasSuffix

func TrackingIDHasSuffix(v string) predicate.Event

TrackingIDHasSuffix applies the HasSuffix predicate on the "tracking_id" field.

func TrackingIDIn

func TrackingIDIn(vs ...string) predicate.Event

TrackingIDIn applies the In predicate on the "tracking_id" field.

func TrackingIDLT

func TrackingIDLT(v string) predicate.Event

TrackingIDLT applies the LT predicate on the "tracking_id" field.

func TrackingIDLTE

func TrackingIDLTE(v string) predicate.Event

TrackingIDLTE applies the LTE predicate on the "tracking_id" field.

func TrackingIDNEQ

func TrackingIDNEQ(v string) predicate.Event

TrackingIDNEQ applies the NEQ predicate on the "tracking_id" field.

func TrackingIDNotIn

func TrackingIDNotIn(vs ...string) predicate.Event

TrackingIDNotIn applies the NotIn predicate on the "tracking_id" field.

Types

type Event

type Event string

Event defines the type for the event enum field.

const (
	EventAction      Event = "action"
	EventAlias       Event = "alias"
	EventGroup       Event = "group"
	EventIdentify    Event = "identify"
	EventPageview    Event = "pageview"
	EventScreenview  Event = "screenview"
	EventSession     Event = "session"
	EventTiming      Event = "timing"
	EventTransaction Event = "transaction"
)

Event values.

func (Event) String

func (e Event) String() string

Jump to

Keyboard shortcuts

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