onlinesession

package
v0.0.0-...-dba37e9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the onlinesession type in the database.
	Label = "online_session"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIPAddress holds the string denoting the ip_address field in the database.
	FieldIPAddress = "ip_address"
	// FieldUPid holds the string denoting the u_pid field in the database.
	FieldUPid = "u_pid"
	// Table holds the table name of the onlinesession in the database.
	Table = "online_sessions"
)

Variables

View Source
var (
	// IPAddressValidator is a validator for the "ip_address" field. It is called by the builders before save.
	IPAddressValidator func(string) error
	// UPidValidator is a validator for the "u_pid" field. It is called by the builders before save.
	UPidValidator func(string) error
)

Columns holds all SQL columns for onlinesession fields.

Functions

func And

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.OnlineSession

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.OnlineSession

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.OnlineSession

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.OnlineSession

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.OnlineSession

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.OnlineSession

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.OnlineSession

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.OnlineSession

IDNotIn applies the NotIn predicate on the ID field.

func IPAddress

func IPAddress(v string) predicate.OnlineSession

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

func IPAddressContains

func IPAddressContains(v string) predicate.OnlineSession

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

func IPAddressContainsFold

func IPAddressContainsFold(v string) predicate.OnlineSession

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

func IPAddressEQ

func IPAddressEQ(v string) predicate.OnlineSession

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

func IPAddressEqualFold

func IPAddressEqualFold(v string) predicate.OnlineSession

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

func IPAddressGT

func IPAddressGT(v string) predicate.OnlineSession

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

func IPAddressGTE

func IPAddressGTE(v string) predicate.OnlineSession

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

func IPAddressHasPrefix

func IPAddressHasPrefix(v string) predicate.OnlineSession

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

func IPAddressHasSuffix

func IPAddressHasSuffix(v string) predicate.OnlineSession

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

func IPAddressIn

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

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

func IPAddressLT

func IPAddressLT(v string) predicate.OnlineSession

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

func IPAddressLTE

func IPAddressLTE(v string) predicate.OnlineSession

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

func IPAddressNEQ

func IPAddressNEQ(v string) predicate.OnlineSession

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

func IPAddressNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UPid

UPid applies equality check predicate on the "u_pid" field. It's identical to UPidEQ.

func UPidContains

func UPidContains(v string) predicate.OnlineSession

UPidContains applies the Contains predicate on the "u_pid" field.

func UPidContainsFold

func UPidContainsFold(v string) predicate.OnlineSession

UPidContainsFold applies the ContainsFold predicate on the "u_pid" field.

func UPidEQ

func UPidEQ(v string) predicate.OnlineSession

UPidEQ applies the EQ predicate on the "u_pid" field.

func UPidEqualFold

func UPidEqualFold(v string) predicate.OnlineSession

UPidEqualFold applies the EqualFold predicate on the "u_pid" field.

func UPidGT

func UPidGT(v string) predicate.OnlineSession

UPidGT applies the GT predicate on the "u_pid" field.

func UPidGTE

func UPidGTE(v string) predicate.OnlineSession

UPidGTE applies the GTE predicate on the "u_pid" field.

func UPidHasPrefix

func UPidHasPrefix(v string) predicate.OnlineSession

UPidHasPrefix applies the HasPrefix predicate on the "u_pid" field.

func UPidHasSuffix

func UPidHasSuffix(v string) predicate.OnlineSession

UPidHasSuffix applies the HasSuffix predicate on the "u_pid" field.

func UPidIn

func UPidIn(vs ...string) predicate.OnlineSession

UPidIn applies the In predicate on the "u_pid" field.

func UPidLT

func UPidLT(v string) predicate.OnlineSession

UPidLT applies the LT predicate on the "u_pid" field.

func UPidLTE

func UPidLTE(v string) predicate.OnlineSession

UPidLTE applies the LTE predicate on the "u_pid" field.

func UPidNEQ

func UPidNEQ(v string) predicate.OnlineSession

UPidNEQ applies the NEQ predicate on the "u_pid" field.

func UPidNotIn

func UPidNotIn(vs ...string) predicate.OnlineSession

UPidNotIn applies the NotIn predicate on the "u_pid" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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