Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ChatUser) predicate.ChatUser
- func BotToken(v string) predicate.ChatUser
- func BotTokenContains(v string) predicate.ChatUser
- func BotTokenContainsFold(v string) predicate.ChatUser
- func BotTokenEQ(v string) predicate.ChatUser
- func BotTokenEqualFold(v string) predicate.ChatUser
- func BotTokenGT(v string) predicate.ChatUser
- func BotTokenGTE(v string) predicate.ChatUser
- func BotTokenHasPrefix(v string) predicate.ChatUser
- func BotTokenHasSuffix(v string) predicate.ChatUser
- func BotTokenIn(vs ...string) predicate.ChatUser
- func BotTokenLT(v string) predicate.ChatUser
- func BotTokenLTE(v string) predicate.ChatUser
- func BotTokenNEQ(v string) predicate.ChatUser
- func BotTokenNotIn(vs ...string) predicate.ChatUser
- func CreatedAt(v time.Time) predicate.ChatUser
- func CreatedAtEQ(v time.Time) predicate.ChatUser
- func CreatedAtGT(v time.Time) predicate.ChatUser
- func CreatedAtGTE(v time.Time) predicate.ChatUser
- func CreatedAtIn(vs ...time.Time) predicate.ChatUser
- func CreatedAtLT(v time.Time) predicate.ChatUser
- func CreatedAtLTE(v time.Time) predicate.ChatUser
- func CreatedAtNEQ(v time.Time) predicate.ChatUser
- func CreatedAtNotIn(vs ...time.Time) predicate.ChatUser
- func Expiry(v time.Time) predicate.ChatUser
- func ExpiryEQ(v time.Time) predicate.ChatUser
- func ExpiryGT(v time.Time) predicate.ChatUser
- func ExpiryGTE(v time.Time) predicate.ChatUser
- func ExpiryIn(vs ...time.Time) predicate.ChatUser
- func ExpiryLT(v time.Time) predicate.ChatUser
- func ExpiryLTE(v time.Time) predicate.ChatUser
- func ExpiryNEQ(v time.Time) predicate.ChatUser
- func ExpiryNotIn(vs ...time.Time) predicate.ChatUser
- func HasUser() predicate.ChatUser
- func HasUserWith(preds ...predicate.User) predicate.ChatUser
- func ID(id string) predicate.ChatUser
- func IDEQ(id string) predicate.ChatUser
- func IDGT(id string) predicate.ChatUser
- func IDGTE(id string) predicate.ChatUser
- func IDIn(ids ...string) predicate.ChatUser
- func IDLT(id string) predicate.ChatUser
- func IDLTE(id string) predicate.ChatUser
- func IDNEQ(id string) predicate.ChatUser
- func IDNotIn(ids ...string) predicate.ChatUser
- func Not(p predicate.ChatUser) predicate.ChatUser
- func Or(predicates ...predicate.ChatUser) predicate.ChatUser
- func Refresh(v string) predicate.ChatUser
- func RefreshContains(v string) predicate.ChatUser
- func RefreshContainsFold(v string) predicate.ChatUser
- func RefreshEQ(v string) predicate.ChatUser
- func RefreshEqualFold(v string) predicate.ChatUser
- func RefreshGT(v string) predicate.ChatUser
- func RefreshGTE(v string) predicate.ChatUser
- func RefreshHasPrefix(v string) predicate.ChatUser
- func RefreshHasSuffix(v string) predicate.ChatUser
- func RefreshIn(vs ...string) predicate.ChatUser
- func RefreshLT(v string) predicate.ChatUser
- func RefreshLTE(v string) predicate.ChatUser
- func RefreshNEQ(v string) predicate.ChatUser
- func RefreshNotIn(vs ...string) predicate.ChatUser
- func Token(v string) predicate.ChatUser
- func TokenContains(v string) predicate.ChatUser
- func TokenContainsFold(v string) predicate.ChatUser
- func TokenEQ(v string) predicate.ChatUser
- func TokenEqualFold(v string) predicate.ChatUser
- func TokenGT(v string) predicate.ChatUser
- func TokenGTE(v string) predicate.ChatUser
- func TokenHasPrefix(v string) predicate.ChatUser
- func TokenHasSuffix(v string) predicate.ChatUser
- func TokenIn(vs ...string) predicate.ChatUser
- func TokenLT(v string) predicate.ChatUser
- func TokenLTE(v string) predicate.ChatUser
- func TokenNEQ(v string) predicate.ChatUser
- func TokenNotIn(vs ...string) predicate.ChatUser
- func UpdatedAt(v time.Time) predicate.ChatUser
- func UpdatedAtEQ(v time.Time) predicate.ChatUser
- func UpdatedAtGT(v time.Time) predicate.ChatUser
- func UpdatedAtGTE(v time.Time) predicate.ChatUser
- func UpdatedAtIn(vs ...time.Time) predicate.ChatUser
- func UpdatedAtLT(v time.Time) predicate.ChatUser
- func UpdatedAtLTE(v time.Time) predicate.ChatUser
- func UpdatedAtNEQ(v time.Time) predicate.ChatUser
- func UpdatedAtNotIn(vs ...time.Time) predicate.ChatUser
- func UserID(v int64) predicate.ChatUser
- func UserIDEQ(v int64) predicate.ChatUser
- func UserIDIn(vs ...int64) predicate.ChatUser
- func UserIDNEQ(v int64) predicate.ChatUser
- func UserIDNotIn(vs ...int64) predicate.ChatUser
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the chatuser type in the database. Label = "chat_user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldRefresh holds the string denoting the refresh field in the database. FieldRefresh = "refresh" // FieldExpiry holds the string denoting the expiry field in the database. FieldExpiry = "expiry" // FieldBotToken holds the string denoting the bot_token field in the database. FieldBotToken = "bot_token" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the chatuser in the database. Table = "chat_users" // UserTable is the table that holds the user relation/edge. UserTable = "chat_users" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldToken, FieldRefresh, FieldExpiry, FieldBotToken, FieldCreatedAt, FieldUpdatedAt, FieldUserID, }
Columns holds all SQL columns for chatuser fields.
Functions ¶
func BotToken ¶
BotToken applies equality check predicate on the "bot_token" field. It's identical to BotTokenEQ.
func BotTokenContains ¶
BotTokenContains applies the Contains predicate on the "bot_token" field.
func BotTokenContainsFold ¶
BotTokenContainsFold applies the ContainsFold predicate on the "bot_token" field.
func BotTokenEQ ¶
BotTokenEQ applies the EQ predicate on the "bot_token" field.
func BotTokenEqualFold ¶
BotTokenEqualFold applies the EqualFold predicate on the "bot_token" field.
func BotTokenGT ¶
BotTokenGT applies the GT predicate on the "bot_token" field.
func BotTokenGTE ¶
BotTokenGTE applies the GTE predicate on the "bot_token" field.
func BotTokenHasPrefix ¶
BotTokenHasPrefix applies the HasPrefix predicate on the "bot_token" field.
func BotTokenHasSuffix ¶
BotTokenHasSuffix applies the HasSuffix predicate on the "bot_token" field.
func BotTokenIn ¶
BotTokenIn applies the In predicate on the "bot_token" field.
func BotTokenLT ¶
BotTokenLT applies the LT predicate on the "bot_token" field.
func BotTokenLTE ¶
BotTokenLTE applies the LTE predicate on the "bot_token" field.
func BotTokenNEQ ¶
BotTokenNEQ applies the NEQ predicate on the "bot_token" field.
func BotTokenNotIn ¶
BotTokenNotIn applies the NotIn predicate on the "bot_token" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Expiry ¶
Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.
func ExpiryNotIn ¶
ExpiryNotIn applies the NotIn predicate on the "expiry" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Refresh ¶
Refresh applies equality check predicate on the "refresh" field. It's identical to RefreshEQ.
func RefreshContains ¶
RefreshContains applies the Contains predicate on the "refresh" field.
func RefreshContainsFold ¶
RefreshContainsFold applies the ContainsFold predicate on the "refresh" field.
func RefreshEqualFold ¶
RefreshEqualFold applies the EqualFold predicate on the "refresh" field.
func RefreshGTE ¶
RefreshGTE applies the GTE predicate on the "refresh" field.
func RefreshHasPrefix ¶
RefreshHasPrefix applies the HasPrefix predicate on the "refresh" field.
func RefreshHasSuffix ¶
RefreshHasSuffix applies the HasSuffix predicate on the "refresh" field.
func RefreshLTE ¶
RefreshLTE applies the LTE predicate on the "refresh" field.
func RefreshNEQ ¶
RefreshNEQ applies the NEQ predicate on the "refresh" field.
func RefreshNotIn ¶
RefreshNotIn applies the NotIn predicate on the "refresh" field.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.