Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Statistic) predicate.Statistic
- func ChannelID(v int64) predicate.Statistic
- func ChannelIDEQ(v int64) predicate.Statistic
- func ChannelIDGT(v int64) predicate.Statistic
- func ChannelIDGTE(v int64) predicate.Statistic
- func ChannelIDIn(vs ...int64) predicate.Statistic
- func ChannelIDLT(v int64) predicate.Statistic
- func ChannelIDLTE(v int64) predicate.Statistic
- func ChannelIDNEQ(v int64) predicate.Statistic
- func ChannelIDNotIn(vs ...int64) predicate.Statistic
- func FirstName(v string) predicate.Statistic
- func FirstNameContains(v string) predicate.Statistic
- func FirstNameContainsFold(v string) predicate.Statistic
- func FirstNameEQ(v string) predicate.Statistic
- func FirstNameEqualFold(v string) predicate.Statistic
- func FirstNameGT(v string) predicate.Statistic
- func FirstNameGTE(v string) predicate.Statistic
- func FirstNameHasPrefix(v string) predicate.Statistic
- func FirstNameHasSuffix(v string) predicate.Statistic
- func FirstNameIn(vs ...string) predicate.Statistic
- func FirstNameLT(v string) predicate.Statistic
- func FirstNameLTE(v string) predicate.Statistic
- func FirstNameNEQ(v string) predicate.Statistic
- func FirstNameNotIn(vs ...string) predicate.Statistic
- func FromUser(v int) predicate.Statistic
- func FromUserEQ(v int) predicate.Statistic
- func FromUserGT(v int) predicate.Statistic
- func FromUserGTE(v int) predicate.Statistic
- func FromUserIn(vs ...int) predicate.Statistic
- func FromUserLT(v int) predicate.Statistic
- func FromUserLTE(v int) predicate.Statistic
- func FromUserNEQ(v int) predicate.Statistic
- func FromUserNotIn(vs ...int) predicate.Statistic
- func ID(id int) predicate.Statistic
- func IDEQ(id int) predicate.Statistic
- func IDGT(id int) predicate.Statistic
- func IDGTE(id int) predicate.Statistic
- func IDIn(ids ...int) predicate.Statistic
- func IDLT(id int) predicate.Statistic
- func IDLTE(id int) predicate.Statistic
- func IDNEQ(id int) predicate.Statistic
- func IDNotIn(ids ...int) predicate.Statistic
- func Invited(v int64) predicate.Statistic
- func InvitedEQ(v int64) predicate.Statistic
- func InvitedGT(v int64) predicate.Statistic
- func InvitedGTE(v int64) predicate.Statistic
- func InvitedIn(vs ...int64) predicate.Statistic
- func InvitedLT(v int64) predicate.Statistic
- func InvitedLTE(v int64) predicate.Statistic
- func InvitedNEQ(v int64) predicate.Statistic
- func InvitedNotIn(vs ...int64) predicate.Statistic
- func JoinTime(v time.Time) predicate.Statistic
- func JoinTimeEQ(v time.Time) predicate.Statistic
- func JoinTimeGT(v time.Time) predicate.Statistic
- func JoinTimeGTE(v time.Time) predicate.Statistic
- func JoinTimeIn(vs ...time.Time) predicate.Statistic
- func JoinTimeLT(v time.Time) predicate.Statistic
- func JoinTimeLTE(v time.Time) predicate.Statistic
- func JoinTimeNEQ(v time.Time) predicate.Statistic
- func JoinTimeNotIn(vs ...time.Time) predicate.Statistic
- func LastMessage(v time.Time) predicate.Statistic
- func LastMessageEQ(v time.Time) predicate.Statistic
- func LastMessageGT(v time.Time) predicate.Statistic
- func LastMessageGTE(v time.Time) predicate.Statistic
- func LastMessageIn(vs ...time.Time) predicate.Statistic
- func LastMessageLT(v time.Time) predicate.Statistic
- func LastMessageLTE(v time.Time) predicate.Statistic
- func LastMessageNEQ(v time.Time) predicate.Statistic
- func LastMessageNotIn(vs ...time.Time) predicate.Statistic
- func LatName(v string) predicate.Statistic
- func LatNameContains(v string) predicate.Statistic
- func LatNameContainsFold(v string) predicate.Statistic
- func LatNameEQ(v string) predicate.Statistic
- func LatNameEqualFold(v string) predicate.Statistic
- func LatNameGT(v string) predicate.Statistic
- func LatNameGTE(v string) predicate.Statistic
- func LatNameHasPrefix(v string) predicate.Statistic
- func LatNameHasSuffix(v string) predicate.Statistic
- func LatNameIn(vs ...string) predicate.Statistic
- func LatNameLT(v string) predicate.Statistic
- func LatNameLTE(v string) predicate.Statistic
- func LatNameNEQ(v string) predicate.Statistic
- func LatNameNotIn(vs ...string) predicate.Statistic
- func Message(v int64) predicate.Statistic
- func MessageEQ(v int64) predicate.Statistic
- func MessageGT(v int64) predicate.Statistic
- func MessageGTE(v int64) predicate.Statistic
- func MessageIn(vs ...int64) predicate.Statistic
- func MessageLT(v int64) predicate.Statistic
- func MessageLTE(v int64) predicate.Statistic
- func MessageNEQ(v int64) predicate.Statistic
- func MessageNotIn(vs ...int64) predicate.Statistic
- func Not(p predicate.Statistic) predicate.Statistic
- func Or(predicates ...predicate.Statistic) predicate.Statistic
- func UserID(v int) predicate.Statistic
- func UserIDEQ(v int) predicate.Statistic
- func UserIDGT(v int) predicate.Statistic
- func UserIDGTE(v int) predicate.Statistic
- func UserIDIn(vs ...int) predicate.Statistic
- func UserIDLT(v int) predicate.Statistic
- func UserIDLTE(v int) predicate.Statistic
- func UserIDNEQ(v int) predicate.Statistic
- func UserIDNotIn(vs ...int) predicate.Statistic
- func UserName(v string) predicate.Statistic
- func UserNameContains(v string) predicate.Statistic
- func UserNameContainsFold(v string) predicate.Statistic
- func UserNameEQ(v string) predicate.Statistic
- func UserNameEqualFold(v string) predicate.Statistic
- func UserNameGT(v string) predicate.Statistic
- func UserNameGTE(v string) predicate.Statistic
- func UserNameHasPrefix(v string) predicate.Statistic
- func UserNameHasSuffix(v string) predicate.Statistic
- func UserNameIn(vs ...string) predicate.Statistic
- func UserNameLT(v string) predicate.Statistic
- func UserNameLTE(v string) predicate.Statistic
- func UserNameNEQ(v string) predicate.Statistic
- func UserNameNotIn(vs ...string) predicate.Statistic
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the statistic type in the database. Label = "statistic" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFirstName holds the string denoting the first_name field in the database. FieldFirstName = "first_name" // FieldLatName holds the string denoting the lat_name field in the database. FieldLatName = "lat_name" // FieldUserName holds the string denoting the user_name field in the database. FieldUserName = "user_name" // FieldFromUser holds the string denoting the from_user field in the database. FieldFromUser = "from_user" // FieldChannelID holds the string denoting the channel_id field in the database. FieldChannelID = "channel_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldJoinTime holds the string denoting the join_time field in the database. FieldJoinTime = "join_time" // FieldInvited holds the string denoting the invited field in the database. FieldInvited = "invited" // FieldMessage holds the string denoting the message field in the database. FieldMessage = "message" // FieldLastMessage holds the string denoting the last_message field in the database. FieldLastMessage = "last_message" // Table holds the table name of the statistic in the database. Table = "statistics" )
Variables ¶
var ( // DefaultFirstName holds the default value on creation for the "first_name" field. DefaultFirstName string // DefaultLatName holds the default value on creation for the "lat_name" field. DefaultLatName string // DefaultUserName holds the default value on creation for the "user_name" field. DefaultUserName string // DefaultFromUser holds the default value on creation for the "from_user" field. DefaultFromUser int // DefaultChannelID holds the default value on creation for the "channel_id" field. DefaultChannelID int64 // DefaultUserID holds the default value on creation for the "user_id" field. DefaultUserID int // DefaultJoinTime holds the default value on creation for the "join_time" field. DefaultJoinTime func() time.Time // DefaultInvited holds the default value on creation for the "invited" field. DefaultInvited int64 // DefaultMessage holds the default value on creation for the "message" field. DefaultMessage int64 // DefaultLastMessage holds the default value on creation for the "last_message" field. DefaultLastMessage func() time.Time )
var Columns = []string{ FieldID, FieldFirstName, FieldLatName, FieldUserName, FieldFromUser, FieldChannelID, FieldUserID, FieldJoinTime, FieldInvited, FieldMessage, FieldLastMessage, }
Columns holds all SQL columns for statistic fields.
Functions ¶
func ChannelID ¶
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDEQ ¶
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDGT ¶
ChannelIDGT applies the GT predicate on the "channel_id" field.
func ChannelIDGTE ¶
ChannelIDGTE applies the GTE predicate on the "channel_id" field.
func ChannelIDIn ¶
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDLT ¶
ChannelIDLT applies the LT predicate on the "channel_id" field.
func ChannelIDLTE ¶
ChannelIDLTE applies the LTE predicate on the "channel_id" field.
func ChannelIDNEQ ¶
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func FirstName ¶
FirstName applies equality check predicate on the "first_name" field. It's identical to FirstNameEQ.
func FirstNameContains ¶
FirstNameContains applies the Contains predicate on the "first_name" field.
func FirstNameContainsFold ¶
FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.
func FirstNameEQ ¶
FirstNameEQ applies the EQ predicate on the "first_name" field.
func FirstNameEqualFold ¶
FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.
func FirstNameGT ¶
FirstNameGT applies the GT predicate on the "first_name" field.
func FirstNameGTE ¶
FirstNameGTE applies the GTE predicate on the "first_name" field.
func FirstNameHasPrefix ¶
FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.
func FirstNameHasSuffix ¶
FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.
func FirstNameIn ¶
FirstNameIn applies the In predicate on the "first_name" field.
func FirstNameLT ¶
FirstNameLT applies the LT predicate on the "first_name" field.
func FirstNameLTE ¶
FirstNameLTE applies the LTE predicate on the "first_name" field.
func FirstNameNEQ ¶
FirstNameNEQ applies the NEQ predicate on the "first_name" field.
func FirstNameNotIn ¶
FirstNameNotIn applies the NotIn predicate on the "first_name" field.
func FromUser ¶
FromUser applies equality check predicate on the "from_user" field. It's identical to FromUserEQ.
func FromUserEQ ¶
FromUserEQ applies the EQ predicate on the "from_user" field.
func FromUserGT ¶
FromUserGT applies the GT predicate on the "from_user" field.
func FromUserGTE ¶
FromUserGTE applies the GTE predicate on the "from_user" field.
func FromUserIn ¶
FromUserIn applies the In predicate on the "from_user" field.
func FromUserLT ¶
FromUserLT applies the LT predicate on the "from_user" field.
func FromUserLTE ¶
FromUserLTE applies the LTE predicate on the "from_user" field.
func FromUserNEQ ¶
FromUserNEQ applies the NEQ predicate on the "from_user" field.
func FromUserNotIn ¶
FromUserNotIn applies the NotIn predicate on the "from_user" field.
func Invited ¶
Invited applies equality check predicate on the "invited" field. It's identical to InvitedEQ.
func InvitedGTE ¶
InvitedGTE applies the GTE predicate on the "invited" field.
func InvitedLTE ¶
InvitedLTE applies the LTE predicate on the "invited" field.
func InvitedNEQ ¶
InvitedNEQ applies the NEQ predicate on the "invited" field.
func InvitedNotIn ¶
InvitedNotIn applies the NotIn predicate on the "invited" field.
func JoinTime ¶
JoinTime applies equality check predicate on the "join_time" field. It's identical to JoinTimeEQ.
func JoinTimeEQ ¶
JoinTimeEQ applies the EQ predicate on the "join_time" field.
func JoinTimeGT ¶
JoinTimeGT applies the GT predicate on the "join_time" field.
func JoinTimeGTE ¶
JoinTimeGTE applies the GTE predicate on the "join_time" field.
func JoinTimeIn ¶
JoinTimeIn applies the In predicate on the "join_time" field.
func JoinTimeLT ¶
JoinTimeLT applies the LT predicate on the "join_time" field.
func JoinTimeLTE ¶
JoinTimeLTE applies the LTE predicate on the "join_time" field.
func JoinTimeNEQ ¶
JoinTimeNEQ applies the NEQ predicate on the "join_time" field.
func JoinTimeNotIn ¶
JoinTimeNotIn applies the NotIn predicate on the "join_time" field.
func LastMessage ¶
LastMessage applies equality check predicate on the "last_message" field. It's identical to LastMessageEQ.
func LastMessageEQ ¶
LastMessageEQ applies the EQ predicate on the "last_message" field.
func LastMessageGT ¶
LastMessageGT applies the GT predicate on the "last_message" field.
func LastMessageGTE ¶
LastMessageGTE applies the GTE predicate on the "last_message" field.
func LastMessageIn ¶
LastMessageIn applies the In predicate on the "last_message" field.
func LastMessageLT ¶
LastMessageLT applies the LT predicate on the "last_message" field.
func LastMessageLTE ¶
LastMessageLTE applies the LTE predicate on the "last_message" field.
func LastMessageNEQ ¶
LastMessageNEQ applies the NEQ predicate on the "last_message" field.
func LastMessageNotIn ¶
LastMessageNotIn applies the NotIn predicate on the "last_message" field.
func LatName ¶
LatName applies equality check predicate on the "lat_name" field. It's identical to LatNameEQ.
func LatNameContains ¶
LatNameContains applies the Contains predicate on the "lat_name" field.
func LatNameContainsFold ¶
LatNameContainsFold applies the ContainsFold predicate on the "lat_name" field.
func LatNameEqualFold ¶
LatNameEqualFold applies the EqualFold predicate on the "lat_name" field.
func LatNameGTE ¶
LatNameGTE applies the GTE predicate on the "lat_name" field.
func LatNameHasPrefix ¶
LatNameHasPrefix applies the HasPrefix predicate on the "lat_name" field.
func LatNameHasSuffix ¶
LatNameHasSuffix applies the HasSuffix predicate on the "lat_name" field.
func LatNameLTE ¶
LatNameLTE applies the LTE predicate on the "lat_name" field.
func LatNameNEQ ¶
LatNameNEQ applies the NEQ predicate on the "lat_name" field.
func LatNameNotIn ¶
LatNameNotIn applies the NotIn predicate on the "lat_name" field.
func Message ¶
Message applies equality check predicate on the "message" field. It's identical to MessageEQ.
func MessageGTE ¶
MessageGTE applies the GTE predicate on the "message" field.
func MessageLTE ¶
MessageLTE applies the LTE predicate on the "message" field.
func MessageNEQ ¶
MessageNEQ applies the NEQ predicate on the "message" field.
func MessageNotIn ¶
MessageNotIn applies the NotIn predicate on the "message" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserName ¶
UserName applies equality check predicate on the "user_name" field. It's identical to UserNameEQ.
func UserNameContains ¶
UserNameContains applies the Contains predicate on the "user_name" field.
func UserNameContainsFold ¶
UserNameContainsFold applies the ContainsFold predicate on the "user_name" field.
func UserNameEQ ¶
UserNameEQ applies the EQ predicate on the "user_name" field.
func UserNameEqualFold ¶
UserNameEqualFold applies the EqualFold predicate on the "user_name" field.
func UserNameGT ¶
UserNameGT applies the GT predicate on the "user_name" field.
func UserNameGTE ¶
UserNameGTE applies the GTE predicate on the "user_name" field.
func UserNameHasPrefix ¶
UserNameHasPrefix applies the HasPrefix predicate on the "user_name" field.
func UserNameHasSuffix ¶
UserNameHasSuffix applies the HasSuffix predicate on the "user_name" field.
func UserNameIn ¶
UserNameIn applies the In predicate on the "user_name" field.
func UserNameLT ¶
UserNameLT applies the LT predicate on the "user_name" field.
func UserNameLTE ¶
UserNameLTE applies the LTE predicate on the "user_name" field.
func UserNameNEQ ¶
UserNameNEQ applies the NEQ predicate on the "user_name" field.
func UserNameNotIn ¶
UserNameNotIn applies the NotIn predicate on the "user_name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.