adminloginlog

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the adminloginlog type in the database.
	Label = "admin_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"
	// FieldAdminID holds the string denoting the admin_id field in the database.
	FieldAdminID = "admin_id"
	// 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 adminloginlog in the database.
	Table = "admin_login_log"
	// OwnerTable is the table the holds the owner relation/edge.
	OwnerTable = "admin_login_log"
	// OwnerInverseTable is the table name for the Admin entity.
	// It exists in this package in order to avoid circular dependency with the "admin" package.
	OwnerInverseTable = "admin"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "admin_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 adminloginlog fields.

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

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

Functions

func AdminID

func AdminID(v int) predicate.AdminLoginLog

AdminID applies equality check predicate on the "admin_id" field. It's identical to AdminIDEQ.

func AdminIDEQ

func AdminIDEQ(v int) predicate.AdminLoginLog

AdminIDEQ applies the EQ predicate on the "admin_id" field.

func AdminIDGT

func AdminIDGT(v int) predicate.AdminLoginLog

AdminIDGT applies the GT predicate on the "admin_id" field.

func AdminIDGTE

func AdminIDGTE(v int) predicate.AdminLoginLog

AdminIDGTE applies the GTE predicate on the "admin_id" field.

func AdminIDIn

func AdminIDIn(vs ...int) predicate.AdminLoginLog

AdminIDIn applies the In predicate on the "admin_id" field.

func AdminIDLT

func AdminIDLT(v int) predicate.AdminLoginLog

AdminIDLT applies the LT predicate on the "admin_id" field.

func AdminIDLTE

func AdminIDLTE(v int) predicate.AdminLoginLog

AdminIDLTE applies the LTE predicate on the "admin_id" field.

func AdminIDNEQ

func AdminIDNEQ(v int) predicate.AdminLoginLog

AdminIDNEQ applies the NEQ predicate on the "admin_id" field.

func AdminIDNotIn

func AdminIDNotIn(vs ...int) predicate.AdminLoginLog

AdminIDNotIn applies the NotIn predicate on the "admin_id" field.

func And

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

func CreateTime

func CreateTime(v time.Time) predicate.AdminLoginLog

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.AdminLoginLog

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.AdminLoginLog

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.AdminLoginLog

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.AdminLoginLog

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.AdminLoginLog

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.AdminLoginLog

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

func CreateTimeNotIn

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

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

func HasOwner

func HasOwner() predicate.AdminLoginLog

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

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Admin) predicate.AdminLoginLog

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

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AdminLoginLog

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AdminLoginLog

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AdminLoginLog

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AdminLoginLog

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AdminLoginLog

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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

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

func IPContainsFold

func IPContainsFold(v string) predicate.AdminLoginLog

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

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

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

func IPHasSuffix

func IPHasSuffix(v string) predicate.AdminLoginLog

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

func IPIn

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

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

func IPIsNil

func IPIsNil() predicate.AdminLoginLog

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

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

func IPNotNil

func IPNotNil() predicate.AdminLoginLog

IPNotNil applies the NotNil predicate on the "ip" 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.AdminLoginLog

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

func UserAgentContains

func UserAgentContains(v string) predicate.AdminLoginLog

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

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.AdminLoginLog

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

func UserAgentEQ

func UserAgentEQ(v string) predicate.AdminLoginLog

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

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.AdminLoginLog

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

func UserAgentGT

func UserAgentGT(v string) predicate.AdminLoginLog

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

func UserAgentGTE

func UserAgentGTE(v string) predicate.AdminLoginLog

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

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.AdminLoginLog

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

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.AdminLoginLog

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

func UserAgentIn

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

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

func UserAgentIsNil

func UserAgentIsNil() predicate.AdminLoginLog

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

func UserAgentLT

func UserAgentLT(v string) predicate.AdminLoginLog

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

func UserAgentLTE

func UserAgentLTE(v string) predicate.AdminLoginLog

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

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.AdminLoginLog

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

func UserAgentNotIn

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

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

func UserAgentNotNil

func UserAgentNotNil() predicate.AdminLoginLog

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