Documentation ¶
Index ¶
- Constants
- Variables
- func AdminID(v int) predicate.AdminLoginLog
- func AdminIDEQ(v int) predicate.AdminLoginLog
- func AdminIDGT(v int) predicate.AdminLoginLog
- func AdminIDGTE(v int) predicate.AdminLoginLog
- func AdminIDIn(vs ...int) predicate.AdminLoginLog
- func AdminIDLT(v int) predicate.AdminLoginLog
- func AdminIDLTE(v int) predicate.AdminLoginLog
- func AdminIDNEQ(v int) predicate.AdminLoginLog
- func AdminIDNotIn(vs ...int) predicate.AdminLoginLog
- func And(predicates ...predicate.AdminLoginLog) predicate.AdminLoginLog
- func CreateTime(v time.Time) predicate.AdminLoginLog
- func CreateTimeEQ(v time.Time) predicate.AdminLoginLog
- func CreateTimeGT(v time.Time) predicate.AdminLoginLog
- func CreateTimeGTE(v time.Time) predicate.AdminLoginLog
- func CreateTimeIn(vs ...time.Time) predicate.AdminLoginLog
- func CreateTimeLT(v time.Time) predicate.AdminLoginLog
- func CreateTimeLTE(v time.Time) predicate.AdminLoginLog
- func CreateTimeNEQ(v time.Time) predicate.AdminLoginLog
- func CreateTimeNotIn(vs ...time.Time) predicate.AdminLoginLog
- func HasOwner() predicate.AdminLoginLog
- func HasOwnerWith(preds ...predicate.Admin) predicate.AdminLoginLog
- func ID(id int) predicate.AdminLoginLog
- func IDEQ(id int) predicate.AdminLoginLog
- func IDGT(id int) predicate.AdminLoginLog
- func IDGTE(id int) predicate.AdminLoginLog
- func IDIn(ids ...int) predicate.AdminLoginLog
- func IDLT(id int) predicate.AdminLoginLog
- func IDLTE(id int) predicate.AdminLoginLog
- func IDNEQ(id int) predicate.AdminLoginLog
- func IDNotIn(ids ...int) predicate.AdminLoginLog
- func IP(v string) predicate.AdminLoginLog
- func IPContains(v string) predicate.AdminLoginLog
- func IPContainsFold(v string) predicate.AdminLoginLog
- func IPEQ(v string) predicate.AdminLoginLog
- func IPEqualFold(v string) predicate.AdminLoginLog
- func IPGT(v string) predicate.AdminLoginLog
- func IPGTE(v string) predicate.AdminLoginLog
- func IPHasPrefix(v string) predicate.AdminLoginLog
- func IPHasSuffix(v string) predicate.AdminLoginLog
- func IPIn(vs ...string) predicate.AdminLoginLog
- func IPIsNil() predicate.AdminLoginLog
- func IPLT(v string) predicate.AdminLoginLog
- func IPLTE(v string) predicate.AdminLoginLog
- func IPNEQ(v string) predicate.AdminLoginLog
- func IPNotIn(vs ...string) predicate.AdminLoginLog
- func IPNotNil() predicate.AdminLoginLog
- func Not(p predicate.AdminLoginLog) predicate.AdminLoginLog
- func Or(predicates ...predicate.AdminLoginLog) predicate.AdminLoginLog
- func UserAgent(v string) predicate.AdminLoginLog
- func UserAgentContains(v string) predicate.AdminLoginLog
- func UserAgentContainsFold(v string) predicate.AdminLoginLog
- func UserAgentEQ(v string) predicate.AdminLoginLog
- func UserAgentEqualFold(v string) predicate.AdminLoginLog
- func UserAgentGT(v string) predicate.AdminLoginLog
- func UserAgentGTE(v string) predicate.AdminLoginLog
- func UserAgentHasPrefix(v string) predicate.AdminLoginLog
- func UserAgentHasSuffix(v string) predicate.AdminLoginLog
- func UserAgentIn(vs ...string) predicate.AdminLoginLog
- func UserAgentIsNil() predicate.AdminLoginLog
- func UserAgentLT(v string) predicate.AdminLoginLog
- func UserAgentLTE(v string) predicate.AdminLoginLog
- func UserAgentNEQ(v string) predicate.AdminLoginLog
- func UserAgentNotIn(vs ...string) predicate.AdminLoginLog
- func UserAgentNotNil() predicate.AdminLoginLog
- func ValidColumn(column string) bool
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreateTime, FieldAdminID, FieldIP, FieldUserAgent, }
Columns holds all SQL columns for adminloginlog fields.
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 ¶
func And(predicates ...predicate.AdminLoginLog) predicate.AdminLoginLog
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 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 ¶
func IP(v string) predicate.AdminLoginLog
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 ¶
func IPEQ(v string) predicate.AdminLoginLog
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 ¶
func IPGT(v string) predicate.AdminLoginLog
IPGT applies the GT predicate on the "ip" field.
func IPGTE ¶
func IPGTE(v string) predicate.AdminLoginLog
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 ¶
func IPLT(v string) predicate.AdminLoginLog
IPLT applies the LT predicate on the "ip" field.
func IPLTE ¶
func IPLTE(v string) predicate.AdminLoginLog
IPLTE applies the LTE predicate on the "ip" field.
func IPNEQ ¶
func IPNEQ(v string) predicate.AdminLoginLog
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 ¶
func Not(p predicate.AdminLoginLog) predicate.AdminLoginLog
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AdminLoginLog) predicate.AdminLoginLog
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.