Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MemberLoginLog) predicate.MemberLoginLog
- func CreateTime(v time.Time) predicate.MemberLoginLog
- func CreateTimeEQ(v time.Time) predicate.MemberLoginLog
- func CreateTimeGT(v time.Time) predicate.MemberLoginLog
- func CreateTimeGTE(v time.Time) predicate.MemberLoginLog
- func CreateTimeIn(vs ...time.Time) predicate.MemberLoginLog
- func CreateTimeLT(v time.Time) predicate.MemberLoginLog
- func CreateTimeLTE(v time.Time) predicate.MemberLoginLog
- func CreateTimeNEQ(v time.Time) predicate.MemberLoginLog
- func CreateTimeNotIn(vs ...time.Time) predicate.MemberLoginLog
- func HasOwner() predicate.MemberLoginLog
- func HasOwnerWith(preds ...predicate.Member) predicate.MemberLoginLog
- func ID(id int) predicate.MemberLoginLog
- func IDEQ(id int) predicate.MemberLoginLog
- func IDGT(id int) predicate.MemberLoginLog
- func IDGTE(id int) predicate.MemberLoginLog
- func IDIn(ids ...int) predicate.MemberLoginLog
- func IDLT(id int) predicate.MemberLoginLog
- func IDLTE(id int) predicate.MemberLoginLog
- func IDNEQ(id int) predicate.MemberLoginLog
- func IDNotIn(ids ...int) predicate.MemberLoginLog
- func IP(v string) predicate.MemberLoginLog
- func IPContains(v string) predicate.MemberLoginLog
- func IPContainsFold(v string) predicate.MemberLoginLog
- func IPEQ(v string) predicate.MemberLoginLog
- func IPEqualFold(v string) predicate.MemberLoginLog
- func IPGT(v string) predicate.MemberLoginLog
- func IPGTE(v string) predicate.MemberLoginLog
- func IPHasPrefix(v string) predicate.MemberLoginLog
- func IPHasSuffix(v string) predicate.MemberLoginLog
- func IPIn(vs ...string) predicate.MemberLoginLog
- func IPIsNil() predicate.MemberLoginLog
- func IPLT(v string) predicate.MemberLoginLog
- func IPLTE(v string) predicate.MemberLoginLog
- func IPNEQ(v string) predicate.MemberLoginLog
- func IPNotIn(vs ...string) predicate.MemberLoginLog
- func IPNotNil() predicate.MemberLoginLog
- func MemberGid(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidEQ(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidGT(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidGTE(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidIn(vs ...uuid.UUID) predicate.MemberLoginLog
- func MemberGidLT(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidLTE(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidNEQ(v uuid.UUID) predicate.MemberLoginLog
- func MemberGidNotIn(vs ...uuid.UUID) predicate.MemberLoginLog
- func Not(p predicate.MemberLoginLog) predicate.MemberLoginLog
- func Or(predicates ...predicate.MemberLoginLog) predicate.MemberLoginLog
- func UserAgent(v string) predicate.MemberLoginLog
- func UserAgentContains(v string) predicate.MemberLoginLog
- func UserAgentContainsFold(v string) predicate.MemberLoginLog
- func UserAgentEQ(v string) predicate.MemberLoginLog
- func UserAgentEqualFold(v string) predicate.MemberLoginLog
- func UserAgentGT(v string) predicate.MemberLoginLog
- func UserAgentGTE(v string) predicate.MemberLoginLog
- func UserAgentHasPrefix(v string) predicate.MemberLoginLog
- func UserAgentHasSuffix(v string) predicate.MemberLoginLog
- func UserAgentIn(vs ...string) predicate.MemberLoginLog
- func UserAgentIsNil() predicate.MemberLoginLog
- func UserAgentLT(v string) predicate.MemberLoginLog
- func UserAgentLTE(v string) predicate.MemberLoginLog
- func UserAgentNEQ(v string) predicate.MemberLoginLog
- func UserAgentNotIn(vs ...string) predicate.MemberLoginLog
- func UserAgentNotNil() predicate.MemberLoginLog
- func ValidColumn(column string) bool
Constants ¶
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 ¶
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, FieldMemberGid, FieldIP, FieldUserAgent, }
Columns holds all SQL columns for memberloginlog fields.
var ForeignKeys = []string{
"member_login_logs",
}
ForeignKeys holds the SQL foreign-keys that are owned by the MemberLoginLog type.
Functions ¶
func And ¶
func And(predicates ...predicate.MemberLoginLog) predicate.MemberLoginLog
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 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 ¶
func IP(v string) predicate.MemberLoginLog
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 ¶
func IPEQ(v string) predicate.MemberLoginLog
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 ¶
func IPGT(v string) predicate.MemberLoginLog
IPGT applies the GT predicate on the "ip" field.
func IPGTE ¶
func IPGTE(v string) predicate.MemberLoginLog
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 ¶
func IPLT(v string) predicate.MemberLoginLog
IPLT applies the LT predicate on the "ip" field.
func IPLTE ¶
func IPLTE(v string) predicate.MemberLoginLog
IPLTE applies the LTE predicate on the "ip" field.
func IPNEQ ¶
func IPNEQ(v string) predicate.MemberLoginLog
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 ¶
func Not(p predicate.MemberLoginLog) predicate.MemberLoginLog
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MemberLoginLog) predicate.MemberLoginLog
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.