rawevent

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the rawevent type in the database.
	Label = "raw_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"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldAnonymous holds the string denoting the anonymous field in the database.
	FieldAnonymous = "anonymous"
	// FieldGroupID holds the string denoting the group_id field in the database.
	FieldGroupID = "group_id"
	// FieldSessionID holds the string denoting the session_id field in the database.
	FieldSessionID = "session_id"
	// FieldDeviceID holds the string denoting the device_id field in the database.
	FieldDeviceID = "device_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"
	// FieldTimestamp holds the string denoting the timestamp field in the database.
	FieldTimestamp = "timestamp"
	// FieldContext holds the string denoting the context field in the database.
	FieldContext = "context"

	// Table holds the table name of the rawevent in the database.
	Table = "raw_events"
)

Variables

Columns holds all SQL columns for rawevent fields.

View Source
var (
	// DefaultID holds the default value on creation for the id field.
	DefaultID func() uuid.UUID
)

Functions

func And

func And(predicates ...predicate.RawEvent) predicate.RawEvent

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

func Anonymous

func Anonymous(v bool) predicate.RawEvent

Anonymous applies equality check predicate on the "anonymous" field. It's identical to AnonymousEQ.

func AnonymousEQ

func AnonymousEQ(v bool) predicate.RawEvent

AnonymousEQ applies the EQ predicate on the "anonymous" field.

func AnonymousNEQ

func AnonymousNEQ(v bool) predicate.RawEvent

AnonymousNEQ applies the NEQ predicate on the "anonymous" field.

func Channel

func Channel(v string) predicate.RawEvent

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

func ChannelContains

func ChannelContains(v string) predicate.RawEvent

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

func ChannelContainsFold

func ChannelContainsFold(v string) predicate.RawEvent

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

func ChannelEQ

func ChannelEQ(v string) predicate.RawEvent

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

func ChannelEqualFold

func ChannelEqualFold(v string) predicate.RawEvent

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

func ChannelGT

func ChannelGT(v string) predicate.RawEvent

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

func ChannelGTE

func ChannelGTE(v string) predicate.RawEvent

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

func ChannelHasPrefix

func ChannelHasPrefix(v string) predicate.RawEvent

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

func ChannelHasSuffix

func ChannelHasSuffix(v string) predicate.RawEvent

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

func ChannelIn

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

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

func ChannelIsNil

func ChannelIsNil() predicate.RawEvent

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

func ChannelLT

func ChannelLT(v string) predicate.RawEvent

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

func ChannelLTE

func ChannelLTE(v string) predicate.RawEvent

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

func ChannelNEQ

func ChannelNEQ(v string) predicate.RawEvent

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

func ChannelNotIn

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

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

func ChannelNotNil

func ChannelNotNil() predicate.RawEvent

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

func DeviceID

func DeviceID(v string) predicate.RawEvent

DeviceID applies equality check predicate on the "device_id" field. It's identical to DeviceIDEQ.

func DeviceIDContains

func DeviceIDContains(v string) predicate.RawEvent

DeviceIDContains applies the Contains predicate on the "device_id" field.

func DeviceIDContainsFold

func DeviceIDContainsFold(v string) predicate.RawEvent

DeviceIDContainsFold applies the ContainsFold predicate on the "device_id" field.

func DeviceIDEQ

func DeviceIDEQ(v string) predicate.RawEvent

DeviceIDEQ applies the EQ predicate on the "device_id" field.

func DeviceIDEqualFold

func DeviceIDEqualFold(v string) predicate.RawEvent

DeviceIDEqualFold applies the EqualFold predicate on the "device_id" field.

func DeviceIDGT

func DeviceIDGT(v string) predicate.RawEvent

DeviceIDGT applies the GT predicate on the "device_id" field.

func DeviceIDGTE

func DeviceIDGTE(v string) predicate.RawEvent

DeviceIDGTE applies the GTE predicate on the "device_id" field.

func DeviceIDHasPrefix

func DeviceIDHasPrefix(v string) predicate.RawEvent

DeviceIDHasPrefix applies the HasPrefix predicate on the "device_id" field.

func DeviceIDHasSuffix

func DeviceIDHasSuffix(v string) predicate.RawEvent

DeviceIDHasSuffix applies the HasSuffix predicate on the "device_id" field.

func DeviceIDIn

func DeviceIDIn(vs ...string) predicate.RawEvent

DeviceIDIn applies the In predicate on the "device_id" field.

func DeviceIDIsNil

func DeviceIDIsNil() predicate.RawEvent

DeviceIDIsNil applies the IsNil predicate on the "device_id" field.

func DeviceIDLT

func DeviceIDLT(v string) predicate.RawEvent

DeviceIDLT applies the LT predicate on the "device_id" field.

func DeviceIDLTE

func DeviceIDLTE(v string) predicate.RawEvent

DeviceIDLTE applies the LTE predicate on the "device_id" field.

func DeviceIDNEQ

func DeviceIDNEQ(v string) predicate.RawEvent

DeviceIDNEQ applies the NEQ predicate on the "device_id" field.

func DeviceIDNotIn

func DeviceIDNotIn(vs ...string) predicate.RawEvent

DeviceIDNotIn applies the NotIn predicate on the "device_id" field.

func DeviceIDNotNil

func DeviceIDNotNil() predicate.RawEvent

DeviceIDNotNil applies the NotNil predicate on the "device_id" field.

func Event

func Event(v string) predicate.RawEvent

Event applies equality check predicate on the "event" field. It's identical to EventEQ.

func EventContains

func EventContains(v string) predicate.RawEvent

EventContains applies the Contains predicate on the "event" field.

func EventContainsFold

func EventContainsFold(v string) predicate.RawEvent

EventContainsFold applies the ContainsFold predicate on the "event" field.

func EventEQ

func EventEQ(v string) predicate.RawEvent

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

func EventEqualFold

func EventEqualFold(v string) predicate.RawEvent

EventEqualFold applies the EqualFold predicate on the "event" field.

func EventGT

func EventGT(v string) predicate.RawEvent

EventGT applies the GT predicate on the "event" field.

func EventGTE

func EventGTE(v string) predicate.RawEvent

EventGTE applies the GTE predicate on the "event" field.

func EventHasPrefix

func EventHasPrefix(v string) predicate.RawEvent

EventHasPrefix applies the HasPrefix predicate on the "event" field.

func EventHasSuffix

func EventHasSuffix(v string) predicate.RawEvent

EventHasSuffix applies the HasSuffix predicate on the "event" field.

func EventIn

func EventIn(vs ...string) predicate.RawEvent

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

func EventLT

func EventLT(v string) predicate.RawEvent

EventLT applies the LT predicate on the "event" field.

func EventLTE

func EventLTE(v string) predicate.RawEvent

EventLTE applies the LTE predicate on the "event" field.

func EventNEQ

func EventNEQ(v string) predicate.RawEvent

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

func EventNotIn

func EventNotIn(vs ...string) predicate.RawEvent

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

func GroupID

func GroupID(v string) predicate.RawEvent

GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.

func GroupIDContains

func GroupIDContains(v string) predicate.RawEvent

GroupIDContains applies the Contains predicate on the "group_id" field.

func GroupIDContainsFold

func GroupIDContainsFold(v string) predicate.RawEvent

GroupIDContainsFold applies the ContainsFold predicate on the "group_id" field.

func GroupIDEQ

func GroupIDEQ(v string) predicate.RawEvent

GroupIDEQ applies the EQ predicate on the "group_id" field.

func GroupIDEqualFold

func GroupIDEqualFold(v string) predicate.RawEvent

GroupIDEqualFold applies the EqualFold predicate on the "group_id" field.

func GroupIDGT

func GroupIDGT(v string) predicate.RawEvent

GroupIDGT applies the GT predicate on the "group_id" field.

func GroupIDGTE

func GroupIDGTE(v string) predicate.RawEvent

GroupIDGTE applies the GTE predicate on the "group_id" field.

func GroupIDHasPrefix

func GroupIDHasPrefix(v string) predicate.RawEvent

GroupIDHasPrefix applies the HasPrefix predicate on the "group_id" field.

func GroupIDHasSuffix

func GroupIDHasSuffix(v string) predicate.RawEvent

GroupIDHasSuffix applies the HasSuffix predicate on the "group_id" field.

func GroupIDIn

func GroupIDIn(vs ...string) predicate.RawEvent

GroupIDIn applies the In predicate on the "group_id" field.

func GroupIDIsNil

func GroupIDIsNil() predicate.RawEvent

GroupIDIsNil applies the IsNil predicate on the "group_id" field.

func GroupIDLT

func GroupIDLT(v string) predicate.RawEvent

GroupIDLT applies the LT predicate on the "group_id" field.

func GroupIDLTE

func GroupIDLTE(v string) predicate.RawEvent

GroupIDLTE applies the LTE predicate on the "group_id" field.

func GroupIDNEQ

func GroupIDNEQ(v string) predicate.RawEvent

GroupIDNEQ applies the NEQ predicate on the "group_id" field.

func GroupIDNotIn

func GroupIDNotIn(vs ...string) predicate.RawEvent

GroupIDNotIn applies the NotIn predicate on the "group_id" field.

func GroupIDNotNil

func GroupIDNotNil() predicate.RawEvent

GroupIDNotNil applies the NotNil predicate on the "group_id" field.

func ID

func ID(id uuid.UUID) predicate.RawEvent

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id uuid.UUID) predicate.RawEvent

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.RawEvent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.RawEvent

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.RawEvent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.RawEvent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.RawEvent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func NonInteractive

func NonInteractive(v bool) predicate.RawEvent

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

func NonInteractiveEQ

func NonInteractiveEQ(v bool) predicate.RawEvent

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

func NonInteractiveNEQ

func NonInteractiveNEQ(v bool) predicate.RawEvent

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.RawEvent) predicate.RawEvent

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

func Platform

func Platform(v string) predicate.RawEvent

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

func PlatformContains

func PlatformContains(v string) predicate.RawEvent

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

func PlatformContainsFold

func PlatformContainsFold(v string) predicate.RawEvent

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

func PlatformEQ

func PlatformEQ(v string) predicate.RawEvent

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

func PlatformEqualFold

func PlatformEqualFold(v string) predicate.RawEvent

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

func PlatformGT

func PlatformGT(v string) predicate.RawEvent

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

func PlatformGTE

func PlatformGTE(v string) predicate.RawEvent

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

func PlatformHasPrefix

func PlatformHasPrefix(v string) predicate.RawEvent

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

func PlatformHasSuffix

func PlatformHasSuffix(v string) predicate.RawEvent

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

func PlatformIn

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

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

func PlatformIsNil

func PlatformIsNil() predicate.RawEvent

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

func PlatformLT

func PlatformLT(v string) predicate.RawEvent

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

func PlatformLTE

func PlatformLTE(v string) predicate.RawEvent

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

func PlatformNEQ

func PlatformNEQ(v string) predicate.RawEvent

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

func PlatformNotIn

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

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

func PlatformNotNil

func PlatformNotNil() predicate.RawEvent

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

func SessionID

func SessionID(v string) predicate.RawEvent

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

func SessionIDContains

func SessionIDContains(v string) predicate.RawEvent

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

func SessionIDContainsFold

func SessionIDContainsFold(v string) predicate.RawEvent

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

func SessionIDEQ

func SessionIDEQ(v string) predicate.RawEvent

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

func SessionIDEqualFold

func SessionIDEqualFold(v string) predicate.RawEvent

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

func SessionIDGT

func SessionIDGT(v string) predicate.RawEvent

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

func SessionIDGTE

func SessionIDGTE(v string) predicate.RawEvent

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

func SessionIDHasPrefix

func SessionIDHasPrefix(v string) predicate.RawEvent

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

func SessionIDHasSuffix

func SessionIDHasSuffix(v string) predicate.RawEvent

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

func SessionIDIn

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

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

func SessionIDIsNil

func SessionIDIsNil() predicate.RawEvent

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

func SessionIDLT

func SessionIDLT(v string) predicate.RawEvent

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

func SessionIDLTE

func SessionIDLTE(v string) predicate.RawEvent

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

func SessionIDNEQ

func SessionIDNEQ(v string) predicate.RawEvent

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

func SessionIDNotIn

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

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

func SessionIDNotNil

func SessionIDNotNil() predicate.RawEvent

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

func Timestamp

func Timestamp(v time.Time) predicate.RawEvent

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

func TimestampEQ

func TimestampEQ(v time.Time) predicate.RawEvent

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

func TimestampGT

func TimestampGT(v time.Time) predicate.RawEvent

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

func TimestampGTE

func TimestampGTE(v time.Time) predicate.RawEvent

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

func TimestampIn

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

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

func TimestampLT

func TimestampLT(v time.Time) predicate.RawEvent

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

func TimestampLTE

func TimestampLTE(v time.Time) predicate.RawEvent

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

func TimestampNEQ

func TimestampNEQ(v time.Time) predicate.RawEvent

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

func TimestampNotIn

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

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

func TrackingID

func TrackingID(v uuid.UUID) predicate.RawEvent

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

func TrackingIDEQ

func TrackingIDEQ(v uuid.UUID) predicate.RawEvent

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

func TrackingIDGT

func TrackingIDGT(v uuid.UUID) predicate.RawEvent

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

func TrackingIDGTE

func TrackingIDGTE(v uuid.UUID) predicate.RawEvent

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

func TrackingIDIn

func TrackingIDIn(vs ...uuid.UUID) predicate.RawEvent

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

func TrackingIDLT

func TrackingIDLT(v uuid.UUID) predicate.RawEvent

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

func TrackingIDLTE

func TrackingIDLTE(v uuid.UUID) predicate.RawEvent

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

func TrackingIDNEQ

func TrackingIDNEQ(v uuid.UUID) predicate.RawEvent

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

func TrackingIDNotIn

func TrackingIDNotIn(vs ...uuid.UUID) predicate.RawEvent

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

func UserID

func UserID(v string) predicate.RawEvent

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDContains

func UserIDContains(v string) predicate.RawEvent

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.RawEvent

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.RawEvent

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.RawEvent

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.RawEvent

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v string) predicate.RawEvent

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.RawEvent

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.RawEvent

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.RawEvent

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v string) predicate.RawEvent

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v string) predicate.RawEvent

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v string) predicate.RawEvent

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.RawEvent

UserIDNotIn applies the NotIn predicate on the "user_id" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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