memberloginlog

package
v0.0.0-...-2fd3d37 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the memberloginlog type in the database.
	Label = "member_login_log"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldMemberGid holds the string denoting the member_gid field in the database.
	FieldMemberGid = "member_gid"
	// FieldIP holds the string denoting the ip field in the database.
	FieldIP = "ip"
	// FieldUserAgent holds the string denoting the user_agent field in the database.
	FieldUserAgent = "user_agent"

	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"

	// Table holds the table name of the memberloginlog in the database.
	Table = "member_login_log"
	// OwnerTable is the table the holds the owner relation/edge.
	OwnerTable = "member_login_log"
	// OwnerInverseTable is the table name for the Member entity.
	// It exists in this package in order to avoid circular dependency with the "member" package.
	OwnerInverseTable = "member"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "member_login_logs"
)

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the create_time field.
	DefaultCreateTime func() time.Time
	// IPValidator is a validator for the "ip" field. It is called by the builders before save.
	IPValidator func(string) error
)

Columns holds all SQL columns for memberloginlog fields.

View Source
var ForeignKeys = []string{
	"member_login_logs",
}

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

Functions

func And

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

func CreateTime

func CreateTime(v time.Time) predicate.MemberLoginLog

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.MemberLoginLog

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.MemberLoginLog

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.MemberLoginLog

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.MemberLoginLog

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.MemberLoginLog

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.MemberLoginLog

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.MemberLoginLog

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.MemberLoginLog

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func HasOwner

func HasOwner() predicate.MemberLoginLog

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Member) predicate.MemberLoginLog

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

func ID

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.MemberLoginLog

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MemberLoginLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.MemberLoginLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.MemberLoginLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.MemberLoginLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.MemberLoginLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IP

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPContains

func IPContains(v string) predicate.MemberLoginLog

IPContains applies the Contains predicate on the "ip" field.

func IPContainsFold

func IPContainsFold(v string) predicate.MemberLoginLog

IPContainsFold applies the ContainsFold predicate on the "ip" field.

func IPEQ

IPEQ applies the EQ predicate on the "ip" field.

func IPEqualFold

func IPEqualFold(v string) predicate.MemberLoginLog

IPEqualFold applies the EqualFold predicate on the "ip" field.

func IPGT

IPGT applies the GT predicate on the "ip" field.

func IPGTE

IPGTE applies the GTE predicate on the "ip" field.

func IPHasPrefix

func IPHasPrefix(v string) predicate.MemberLoginLog

IPHasPrefix applies the HasPrefix predicate on the "ip" field.

func IPHasSuffix

func IPHasSuffix(v string) predicate.MemberLoginLog

IPHasSuffix applies the HasSuffix predicate on the "ip" field.

func IPIn

func IPIn(vs ...string) predicate.MemberLoginLog

IPIn applies the In predicate on the "ip" field.

func IPIsNil

func IPIsNil() predicate.MemberLoginLog

IPIsNil applies the IsNil predicate on the "ip" field.

func IPLT

IPLT applies the LT predicate on the "ip" field.

func IPLTE

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...string) predicate.MemberLoginLog

IPNotIn applies the NotIn predicate on the "ip" field.

func IPNotNil

func IPNotNil() predicate.MemberLoginLog

IPNotNil applies the NotNil predicate on the "ip" field.

func MemberGid

func MemberGid(v uuid.UUID) predicate.MemberLoginLog

MemberGid applies equality check predicate on the "member_gid" field. It's identical to MemberGidEQ.

func MemberGidEQ

func MemberGidEQ(v uuid.UUID) predicate.MemberLoginLog

MemberGidEQ applies the EQ predicate on the "member_gid" field.

func MemberGidGT

func MemberGidGT(v uuid.UUID) predicate.MemberLoginLog

MemberGidGT applies the GT predicate on the "member_gid" field.

func MemberGidGTE

func MemberGidGTE(v uuid.UUID) predicate.MemberLoginLog

MemberGidGTE applies the GTE predicate on the "member_gid" field.

func MemberGidIn

func MemberGidIn(vs ...uuid.UUID) predicate.MemberLoginLog

MemberGidIn applies the In predicate on the "member_gid" field.

func MemberGidLT

func MemberGidLT(v uuid.UUID) predicate.MemberLoginLog

MemberGidLT applies the LT predicate on the "member_gid" field.

func MemberGidLTE

func MemberGidLTE(v uuid.UUID) predicate.MemberLoginLog

MemberGidLTE applies the LTE predicate on the "member_gid" field.

func MemberGidNEQ

func MemberGidNEQ(v uuid.UUID) predicate.MemberLoginLog

MemberGidNEQ applies the NEQ predicate on the "member_gid" field.

func MemberGidNotIn

func MemberGidNotIn(vs ...uuid.UUID) predicate.MemberLoginLog

MemberGidNotIn applies the NotIn predicate on the "member_gid" field.

func Not

Not applies the not operator on the given predicate.

func Or

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

func UserAgent

func UserAgent(v string) predicate.MemberLoginLog

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

func UserAgentContains

func UserAgentContains(v string) predicate.MemberLoginLog

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

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.MemberLoginLog

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

func UserAgentEQ

func UserAgentEQ(v string) predicate.MemberLoginLog

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

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.MemberLoginLog

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

func UserAgentGT

func UserAgentGT(v string) predicate.MemberLoginLog

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

func UserAgentGTE

func UserAgentGTE(v string) predicate.MemberLoginLog

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

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.MemberLoginLog

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

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.MemberLoginLog

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

func UserAgentIn

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

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

func UserAgentIsNil

func UserAgentIsNil() predicate.MemberLoginLog

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

func UserAgentLT

func UserAgentLT(v string) predicate.MemberLoginLog

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

func UserAgentLTE

func UserAgentLTE(v string) predicate.MemberLoginLog

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

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.MemberLoginLog

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

func UserAgentNotIn

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

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

func UserAgentNotNil

func UserAgentNotNil() predicate.MemberLoginLog

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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