Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ChatHistories) predicate.ChatHistories
- func ChatID(v int64) predicate.ChatHistories
- func ChatIDEQ(v int64) predicate.ChatHistories
- func ChatIDGT(v int64) predicate.ChatHistories
- func ChatIDGTE(v int64) predicate.ChatHistories
- func ChatIDIn(vs ...int64) predicate.ChatHistories
- func ChatIDLT(v int64) predicate.ChatHistories
- func ChatIDLTE(v int64) predicate.ChatHistories
- func ChatIDNEQ(v int64) predicate.ChatHistories
- func ChatIDNotIn(vs ...int64) predicate.ChatHistories
- func ChatTitle(v string) predicate.ChatHistories
- func ChatTitleContains(v string) predicate.ChatHistories
- func ChatTitleContainsFold(v string) predicate.ChatHistories
- func ChatTitleEQ(v string) predicate.ChatHistories
- func ChatTitleEqualFold(v string) predicate.ChatHistories
- func ChatTitleGT(v string) predicate.ChatHistories
- func ChatTitleGTE(v string) predicate.ChatHistories
- func ChatTitleHasPrefix(v string) predicate.ChatHistories
- func ChatTitleHasSuffix(v string) predicate.ChatHistories
- func ChatTitleIn(vs ...string) predicate.ChatHistories
- func ChatTitleLT(v string) predicate.ChatHistories
- func ChatTitleLTE(v string) predicate.ChatHistories
- func ChatTitleNEQ(v string) predicate.ChatHistories
- func ChatTitleNotIn(vs ...string) predicate.ChatHistories
- func ChattedAt(v int64) predicate.ChatHistories
- func ChattedAtEQ(v int64) predicate.ChatHistories
- func ChattedAtGT(v int64) predicate.ChatHistories
- func ChattedAtGTE(v int64) predicate.ChatHistories
- func ChattedAtIn(vs ...int64) predicate.ChatHistories
- func ChattedAtLT(v int64) predicate.ChatHistories
- func ChattedAtLTE(v int64) predicate.ChatHistories
- func ChattedAtNEQ(v int64) predicate.ChatHistories
- func ChattedAtNotIn(vs ...int64) predicate.ChatHistories
- func CreatedAt(v int64) predicate.ChatHistories
- func CreatedAtEQ(v int64) predicate.ChatHistories
- func CreatedAtGT(v int64) predicate.ChatHistories
- func CreatedAtGTE(v int64) predicate.ChatHistories
- func CreatedAtIn(vs ...int64) predicate.ChatHistories
- func CreatedAtLT(v int64) predicate.ChatHistories
- func CreatedAtLTE(v int64) predicate.ChatHistories
- func CreatedAtNEQ(v int64) predicate.ChatHistories
- func CreatedAtNotIn(vs ...int64) predicate.ChatHistories
- func Embedded(v bool) predicate.ChatHistories
- func EmbeddedEQ(v bool) predicate.ChatHistories
- func EmbeddedNEQ(v bool) predicate.ChatHistories
- func FromPlatform(v int) predicate.ChatHistories
- func FromPlatformEQ(v int) predicate.ChatHistories
- func FromPlatformGT(v int) predicate.ChatHistories
- func FromPlatformGTE(v int) predicate.ChatHistories
- func FromPlatformIn(vs ...int) predicate.ChatHistories
- func FromPlatformLT(v int) predicate.ChatHistories
- func FromPlatformLTE(v int) predicate.ChatHistories
- func FromPlatformNEQ(v int) predicate.ChatHistories
- func FromPlatformNotIn(vs ...int) predicate.ChatHistories
- func FullName(v string) predicate.ChatHistories
- func FullNameContains(v string) predicate.ChatHistories
- func FullNameContainsFold(v string) predicate.ChatHistories
- func FullNameEQ(v string) predicate.ChatHistories
- func FullNameEqualFold(v string) predicate.ChatHistories
- func FullNameGT(v string) predicate.ChatHistories
- func FullNameGTE(v string) predicate.ChatHistories
- func FullNameHasPrefix(v string) predicate.ChatHistories
- func FullNameHasSuffix(v string) predicate.ChatHistories
- func FullNameIn(vs ...string) predicate.ChatHistories
- func FullNameLT(v string) predicate.ChatHistories
- func FullNameLTE(v string) predicate.ChatHistories
- func FullNameNEQ(v string) predicate.ChatHistories
- func FullNameNotIn(vs ...string) predicate.ChatHistories
- func ID(id uuid.UUID) predicate.ChatHistories
- func IDEQ(id uuid.UUID) predicate.ChatHistories
- func IDGT(id uuid.UUID) predicate.ChatHistories
- func IDGTE(id uuid.UUID) predicate.ChatHistories
- func IDIn(ids ...uuid.UUID) predicate.ChatHistories
- func IDLT(id uuid.UUID) predicate.ChatHistories
- func IDLTE(id uuid.UUID) predicate.ChatHistories
- func IDNEQ(id uuid.UUID) predicate.ChatHistories
- func IDNotIn(ids ...uuid.UUID) predicate.ChatHistories
- func MessageID(v int64) predicate.ChatHistories
- func MessageIDEQ(v int64) predicate.ChatHistories
- func MessageIDGT(v int64) predicate.ChatHistories
- func MessageIDGTE(v int64) predicate.ChatHistories
- func MessageIDIn(vs ...int64) predicate.ChatHistories
- func MessageIDLT(v int64) predicate.ChatHistories
- func MessageIDLTE(v int64) predicate.ChatHistories
- func MessageIDNEQ(v int64) predicate.ChatHistories
- func MessageIDNotIn(vs ...int64) predicate.ChatHistories
- func Not(p predicate.ChatHistories) predicate.ChatHistories
- func Or(predicates ...predicate.ChatHistories) predicate.ChatHistories
- func RepliedToFullName(v string) predicate.ChatHistories
- func RepliedToFullNameContains(v string) predicate.ChatHistories
- func RepliedToFullNameContainsFold(v string) predicate.ChatHistories
- func RepliedToFullNameEQ(v string) predicate.ChatHistories
- func RepliedToFullNameEqualFold(v string) predicate.ChatHistories
- func RepliedToFullNameGT(v string) predicate.ChatHistories
- func RepliedToFullNameGTE(v string) predicate.ChatHistories
- func RepliedToFullNameHasPrefix(v string) predicate.ChatHistories
- func RepliedToFullNameHasSuffix(v string) predicate.ChatHistories
- func RepliedToFullNameIn(vs ...string) predicate.ChatHistories
- func RepliedToFullNameLT(v string) predicate.ChatHistories
- func RepliedToFullNameLTE(v string) predicate.ChatHistories
- func RepliedToFullNameNEQ(v string) predicate.ChatHistories
- func RepliedToFullNameNotIn(vs ...string) predicate.ChatHistories
- func RepliedToMessageID(v int64) predicate.ChatHistories
- func RepliedToMessageIDEQ(v int64) predicate.ChatHistories
- func RepliedToMessageIDGT(v int64) predicate.ChatHistories
- func RepliedToMessageIDGTE(v int64) predicate.ChatHistories
- func RepliedToMessageIDIn(vs ...int64) predicate.ChatHistories
- func RepliedToMessageIDLT(v int64) predicate.ChatHistories
- func RepliedToMessageIDLTE(v int64) predicate.ChatHistories
- func RepliedToMessageIDNEQ(v int64) predicate.ChatHistories
- func RepliedToMessageIDNotIn(vs ...int64) predicate.ChatHistories
- func RepliedToText(v string) predicate.ChatHistories
- func RepliedToTextContains(v string) predicate.ChatHistories
- func RepliedToTextContainsFold(v string) predicate.ChatHistories
- func RepliedToTextEQ(v string) predicate.ChatHistories
- func RepliedToTextEqualFold(v string) predicate.ChatHistories
- func RepliedToTextGT(v string) predicate.ChatHistories
- func RepliedToTextGTE(v string) predicate.ChatHistories
- func RepliedToTextHasPrefix(v string) predicate.ChatHistories
- func RepliedToTextHasSuffix(v string) predicate.ChatHistories
- func RepliedToTextIn(vs ...string) predicate.ChatHistories
- func RepliedToTextLT(v string) predicate.ChatHistories
- func RepliedToTextLTE(v string) predicate.ChatHistories
- func RepliedToTextNEQ(v string) predicate.ChatHistories
- func RepliedToTextNotIn(vs ...string) predicate.ChatHistories
- func RepliedToUserID(v int64) predicate.ChatHistories
- func RepliedToUserIDEQ(v int64) predicate.ChatHistories
- func RepliedToUserIDGT(v int64) predicate.ChatHistories
- func RepliedToUserIDGTE(v int64) predicate.ChatHistories
- func RepliedToUserIDIn(vs ...int64) predicate.ChatHistories
- func RepliedToUserIDLT(v int64) predicate.ChatHistories
- func RepliedToUserIDLTE(v int64) predicate.ChatHistories
- func RepliedToUserIDNEQ(v int64) predicate.ChatHistories
- func RepliedToUserIDNotIn(vs ...int64) predicate.ChatHistories
- func RepliedToUsername(v string) predicate.ChatHistories
- func RepliedToUsernameContains(v string) predicate.ChatHistories
- func RepliedToUsernameContainsFold(v string) predicate.ChatHistories
- func RepliedToUsernameEQ(v string) predicate.ChatHistories
- func RepliedToUsernameEqualFold(v string) predicate.ChatHistories
- func RepliedToUsernameGT(v string) predicate.ChatHistories
- func RepliedToUsernameGTE(v string) predicate.ChatHistories
- func RepliedToUsernameHasPrefix(v string) predicate.ChatHistories
- func RepliedToUsernameHasSuffix(v string) predicate.ChatHistories
- func RepliedToUsernameIn(vs ...string) predicate.ChatHistories
- func RepliedToUsernameLT(v string) predicate.ChatHistories
- func RepliedToUsernameLTE(v string) predicate.ChatHistories
- func RepliedToUsernameNEQ(v string) predicate.ChatHistories
- func RepliedToUsernameNotIn(vs ...string) predicate.ChatHistories
- func Text(v string) predicate.ChatHistories
- func TextContains(v string) predicate.ChatHistories
- func TextContainsFold(v string) predicate.ChatHistories
- func TextEQ(v string) predicate.ChatHistories
- func TextEqualFold(v string) predicate.ChatHistories
- func TextGT(v string) predicate.ChatHistories
- func TextGTE(v string) predicate.ChatHistories
- func TextHasPrefix(v string) predicate.ChatHistories
- func TextHasSuffix(v string) predicate.ChatHistories
- func TextIn(vs ...string) predicate.ChatHistories
- func TextLT(v string) predicate.ChatHistories
- func TextLTE(v string) predicate.ChatHistories
- func TextNEQ(v string) predicate.ChatHistories
- func TextNotIn(vs ...string) predicate.ChatHistories
- func UpdatedAt(v int64) predicate.ChatHistories
- func UpdatedAtEQ(v int64) predicate.ChatHistories
- func UpdatedAtGT(v int64) predicate.ChatHistories
- func UpdatedAtGTE(v int64) predicate.ChatHistories
- func UpdatedAtIn(vs ...int64) predicate.ChatHistories
- func UpdatedAtLT(v int64) predicate.ChatHistories
- func UpdatedAtLTE(v int64) predicate.ChatHistories
- func UpdatedAtNEQ(v int64) predicate.ChatHistories
- func UpdatedAtNotIn(vs ...int64) predicate.ChatHistories
- func UserID(v int64) predicate.ChatHistories
- func UserIDEQ(v int64) predicate.ChatHistories
- func UserIDGT(v int64) predicate.ChatHistories
- func UserIDGTE(v int64) predicate.ChatHistories
- func UserIDIn(vs ...int64) predicate.ChatHistories
- func UserIDLT(v int64) predicate.ChatHistories
- func UserIDLTE(v int64) predicate.ChatHistories
- func UserIDNEQ(v int64) predicate.ChatHistories
- func UserIDNotIn(vs ...int64) predicate.ChatHistories
- func Username(v string) predicate.ChatHistories
- func UsernameContains(v string) predicate.ChatHistories
- func UsernameContainsFold(v string) predicate.ChatHistories
- func UsernameEQ(v string) predicate.ChatHistories
- func UsernameEqualFold(v string) predicate.ChatHistories
- func UsernameGT(v string) predicate.ChatHistories
- func UsernameGTE(v string) predicate.ChatHistories
- func UsernameHasPrefix(v string) predicate.ChatHistories
- func UsernameHasSuffix(v string) predicate.ChatHistories
- func UsernameIn(vs ...string) predicate.ChatHistories
- func UsernameLT(v string) predicate.ChatHistories
- func UsernameLTE(v string) predicate.ChatHistories
- func UsernameNEQ(v string) predicate.ChatHistories
- func UsernameNotIn(vs ...string) predicate.ChatHistories
- func ValidColumn(column string) bool
- type OrderOption
- func ByChatID(opts ...sql.OrderTermOption) OrderOption
- func ByChatTitle(opts ...sql.OrderTermOption) OrderOption
- func ByChattedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmbedded(opts ...sql.OrderTermOption) OrderOption
- func ByFromPlatform(opts ...sql.OrderTermOption) OrderOption
- func ByFullName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMessageID(opts ...sql.OrderTermOption) OrderOption
- func ByRepliedToFullName(opts ...sql.OrderTermOption) OrderOption
- func ByRepliedToMessageID(opts ...sql.OrderTermOption) OrderOption
- func ByRepliedToText(opts ...sql.OrderTermOption) OrderOption
- func ByRepliedToUserID(opts ...sql.OrderTermOption) OrderOption
- func ByRepliedToUsername(opts ...sql.OrderTermOption) OrderOption
- func ByText(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the chathistories type in the database. Label = "chat_histories" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldChatID holds the string denoting the chat_id field in the database. FieldChatID = "chat_id" // FieldChatTitle holds the string denoting the chat_title field in the database. FieldChatTitle = "chat_title" // FieldMessageID holds the string denoting the message_id field in the database. FieldMessageID = "message_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldFullName holds the string denoting the full_name field in the database. FieldFullName = "full_name" // FieldText holds the string denoting the text field in the database. FieldText = "text" // FieldRepliedToMessageID holds the string denoting the replied_to_message_id field in the database. FieldRepliedToMessageID = "replied_to_message_id" // FieldRepliedToUserID holds the string denoting the replied_to_user_id field in the database. FieldRepliedToUserID = "replied_to_user_id" // FieldRepliedToFullName holds the string denoting the replied_to_full_name field in the database. FieldRepliedToFullName = "replied_to_full_name" // FieldRepliedToUsername holds the string denoting the replied_to_username field in the database. FieldRepliedToUsername = "replied_to_username" // FieldRepliedToText holds the string denoting the replied_to_text field in the database. FieldRepliedToText = "replied_to_text" // FieldChattedAt holds the string denoting the chatted_at field in the database. FieldChattedAt = "chatted_at" // FieldEmbedded holds the string denoting the embedded field in the database. FieldEmbedded = "embedded" // FieldFromPlatform holds the string denoting the from_platform field in the database. FieldFromPlatform = "from_platform" // 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" // Table holds the table name of the chathistories in the database. Table = "chat_histories" )
Variables ¶
var ( // DefaultChatID holds the default value on creation for the "chat_id" field. DefaultChatID int64 // DefaultChatTitle holds the default value on creation for the "chat_title" field. DefaultChatTitle string // DefaultMessageID holds the default value on creation for the "message_id" field. DefaultMessageID int64 // DefaultUserID holds the default value on creation for the "user_id" field. DefaultUserID int64 // DefaultUsername holds the default value on creation for the "username" field. DefaultUsername string // DefaultFullName holds the default value on creation for the "full_name" field. DefaultFullName string // DefaultText holds the default value on creation for the "text" field. DefaultText string // DefaultRepliedToMessageID holds the default value on creation for the "replied_to_message_id" field. DefaultRepliedToMessageID int64 // DefaultRepliedToUserID holds the default value on creation for the "replied_to_user_id" field. DefaultRepliedToUserID int64 // DefaultRepliedToFullName holds the default value on creation for the "replied_to_full_name" field. DefaultRepliedToFullName string // DefaultRepliedToUsername holds the default value on creation for the "replied_to_username" field. DefaultRepliedToUsername string // DefaultRepliedToText holds the default value on creation for the "replied_to_text" field. DefaultRepliedToText string // DefaultChattedAt holds the default value on creation for the "chatted_at" field. DefaultChattedAt func() int64 // DefaultEmbedded holds the default value on creation for the "embedded" field. DefaultEmbedded bool // DefaultFromPlatform holds the default value on creation for the "from_platform" field. DefaultFromPlatform int // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() int64 // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() int64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldChatID, FieldChatTitle, FieldMessageID, FieldUserID, FieldUsername, FieldFullName, FieldText, FieldRepliedToMessageID, FieldRepliedToUserID, FieldRepliedToFullName, FieldRepliedToUsername, FieldRepliedToText, FieldChattedAt, FieldEmbedded, FieldFromPlatform, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for chathistories fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ChatHistories) predicate.ChatHistories
And groups predicates with the AND operator between them.
func ChatID ¶
func ChatID(v int64) predicate.ChatHistories
ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
func ChatIDEQ ¶
func ChatIDEQ(v int64) predicate.ChatHistories
ChatIDEQ applies the EQ predicate on the "chat_id" field.
func ChatIDGT ¶
func ChatIDGT(v int64) predicate.ChatHistories
ChatIDGT applies the GT predicate on the "chat_id" field.
func ChatIDGTE ¶
func ChatIDGTE(v int64) predicate.ChatHistories
ChatIDGTE applies the GTE predicate on the "chat_id" field.
func ChatIDIn ¶
func ChatIDIn(vs ...int64) predicate.ChatHistories
ChatIDIn applies the In predicate on the "chat_id" field.
func ChatIDLT ¶
func ChatIDLT(v int64) predicate.ChatHistories
ChatIDLT applies the LT predicate on the "chat_id" field.
func ChatIDLTE ¶
func ChatIDLTE(v int64) predicate.ChatHistories
ChatIDLTE applies the LTE predicate on the "chat_id" field.
func ChatIDNEQ ¶
func ChatIDNEQ(v int64) predicate.ChatHistories
ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
func ChatIDNotIn ¶
func ChatIDNotIn(vs ...int64) predicate.ChatHistories
ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
func ChatTitle ¶
func ChatTitle(v string) predicate.ChatHistories
ChatTitle applies equality check predicate on the "chat_title" field. It's identical to ChatTitleEQ.
func ChatTitleContains ¶
func ChatTitleContains(v string) predicate.ChatHistories
ChatTitleContains applies the Contains predicate on the "chat_title" field.
func ChatTitleContainsFold ¶
func ChatTitleContainsFold(v string) predicate.ChatHistories
ChatTitleContainsFold applies the ContainsFold predicate on the "chat_title" field.
func ChatTitleEQ ¶
func ChatTitleEQ(v string) predicate.ChatHistories
ChatTitleEQ applies the EQ predicate on the "chat_title" field.
func ChatTitleEqualFold ¶
func ChatTitleEqualFold(v string) predicate.ChatHistories
ChatTitleEqualFold applies the EqualFold predicate on the "chat_title" field.
func ChatTitleGT ¶
func ChatTitleGT(v string) predicate.ChatHistories
ChatTitleGT applies the GT predicate on the "chat_title" field.
func ChatTitleGTE ¶
func ChatTitleGTE(v string) predicate.ChatHistories
ChatTitleGTE applies the GTE predicate on the "chat_title" field.
func ChatTitleHasPrefix ¶
func ChatTitleHasPrefix(v string) predicate.ChatHistories
ChatTitleHasPrefix applies the HasPrefix predicate on the "chat_title" field.
func ChatTitleHasSuffix ¶
func ChatTitleHasSuffix(v string) predicate.ChatHistories
ChatTitleHasSuffix applies the HasSuffix predicate on the "chat_title" field.
func ChatTitleIn ¶
func ChatTitleIn(vs ...string) predicate.ChatHistories
ChatTitleIn applies the In predicate on the "chat_title" field.
func ChatTitleLT ¶
func ChatTitleLT(v string) predicate.ChatHistories
ChatTitleLT applies the LT predicate on the "chat_title" field.
func ChatTitleLTE ¶
func ChatTitleLTE(v string) predicate.ChatHistories
ChatTitleLTE applies the LTE predicate on the "chat_title" field.
func ChatTitleNEQ ¶
func ChatTitleNEQ(v string) predicate.ChatHistories
ChatTitleNEQ applies the NEQ predicate on the "chat_title" field.
func ChatTitleNotIn ¶
func ChatTitleNotIn(vs ...string) predicate.ChatHistories
ChatTitleNotIn applies the NotIn predicate on the "chat_title" field.
func ChattedAt ¶
func ChattedAt(v int64) predicate.ChatHistories
ChattedAt applies equality check predicate on the "chatted_at" field. It's identical to ChattedAtEQ.
func ChattedAtEQ ¶
func ChattedAtEQ(v int64) predicate.ChatHistories
ChattedAtEQ applies the EQ predicate on the "chatted_at" field.
func ChattedAtGT ¶
func ChattedAtGT(v int64) predicate.ChatHistories
ChattedAtGT applies the GT predicate on the "chatted_at" field.
func ChattedAtGTE ¶
func ChattedAtGTE(v int64) predicate.ChatHistories
ChattedAtGTE applies the GTE predicate on the "chatted_at" field.
func ChattedAtIn ¶
func ChattedAtIn(vs ...int64) predicate.ChatHistories
ChattedAtIn applies the In predicate on the "chatted_at" field.
func ChattedAtLT ¶
func ChattedAtLT(v int64) predicate.ChatHistories
ChattedAtLT applies the LT predicate on the "chatted_at" field.
func ChattedAtLTE ¶
func ChattedAtLTE(v int64) predicate.ChatHistories
ChattedAtLTE applies the LTE predicate on the "chatted_at" field.
func ChattedAtNEQ ¶
func ChattedAtNEQ(v int64) predicate.ChatHistories
ChattedAtNEQ applies the NEQ predicate on the "chatted_at" field.
func ChattedAtNotIn ¶
func ChattedAtNotIn(vs ...int64) predicate.ChatHistories
ChattedAtNotIn applies the NotIn predicate on the "chatted_at" field.
func CreatedAt ¶
func CreatedAt(v int64) predicate.ChatHistories
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v int64) predicate.ChatHistories
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v int64) predicate.ChatHistories
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v int64) predicate.ChatHistories
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...int64) predicate.ChatHistories
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v int64) predicate.ChatHistories
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v int64) predicate.ChatHistories
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v int64) predicate.ChatHistories
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...int64) predicate.ChatHistories
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Embedded ¶
func Embedded(v bool) predicate.ChatHistories
Embedded applies equality check predicate on the "embedded" field. It's identical to EmbeddedEQ.
func EmbeddedEQ ¶
func EmbeddedEQ(v bool) predicate.ChatHistories
EmbeddedEQ applies the EQ predicate on the "embedded" field.
func EmbeddedNEQ ¶
func EmbeddedNEQ(v bool) predicate.ChatHistories
EmbeddedNEQ applies the NEQ predicate on the "embedded" field.
func FromPlatform ¶
func FromPlatform(v int) predicate.ChatHistories
FromPlatform applies equality check predicate on the "from_platform" field. It's identical to FromPlatformEQ.
func FromPlatformEQ ¶
func FromPlatformEQ(v int) predicate.ChatHistories
FromPlatformEQ applies the EQ predicate on the "from_platform" field.
func FromPlatformGT ¶
func FromPlatformGT(v int) predicate.ChatHistories
FromPlatformGT applies the GT predicate on the "from_platform" field.
func FromPlatformGTE ¶
func FromPlatformGTE(v int) predicate.ChatHistories
FromPlatformGTE applies the GTE predicate on the "from_platform" field.
func FromPlatformIn ¶
func FromPlatformIn(vs ...int) predicate.ChatHistories
FromPlatformIn applies the In predicate on the "from_platform" field.
func FromPlatformLT ¶
func FromPlatformLT(v int) predicate.ChatHistories
FromPlatformLT applies the LT predicate on the "from_platform" field.
func FromPlatformLTE ¶
func FromPlatformLTE(v int) predicate.ChatHistories
FromPlatformLTE applies the LTE predicate on the "from_platform" field.
func FromPlatformNEQ ¶
func FromPlatformNEQ(v int) predicate.ChatHistories
FromPlatformNEQ applies the NEQ predicate on the "from_platform" field.
func FromPlatformNotIn ¶
func FromPlatformNotIn(vs ...int) predicate.ChatHistories
FromPlatformNotIn applies the NotIn predicate on the "from_platform" field.
func FullName ¶
func FullName(v string) predicate.ChatHistories
FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.
func FullNameContains ¶
func FullNameContains(v string) predicate.ChatHistories
FullNameContains applies the Contains predicate on the "full_name" field.
func FullNameContainsFold ¶
func FullNameContainsFold(v string) predicate.ChatHistories
FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.
func FullNameEQ ¶
func FullNameEQ(v string) predicate.ChatHistories
FullNameEQ applies the EQ predicate on the "full_name" field.
func FullNameEqualFold ¶
func FullNameEqualFold(v string) predicate.ChatHistories
FullNameEqualFold applies the EqualFold predicate on the "full_name" field.
func FullNameGT ¶
func FullNameGT(v string) predicate.ChatHistories
FullNameGT applies the GT predicate on the "full_name" field.
func FullNameGTE ¶
func FullNameGTE(v string) predicate.ChatHistories
FullNameGTE applies the GTE predicate on the "full_name" field.
func FullNameHasPrefix ¶
func FullNameHasPrefix(v string) predicate.ChatHistories
FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.
func FullNameHasSuffix ¶
func FullNameHasSuffix(v string) predicate.ChatHistories
FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.
func FullNameIn ¶
func FullNameIn(vs ...string) predicate.ChatHistories
FullNameIn applies the In predicate on the "full_name" field.
func FullNameLT ¶
func FullNameLT(v string) predicate.ChatHistories
FullNameLT applies the LT predicate on the "full_name" field.
func FullNameLTE ¶
func FullNameLTE(v string) predicate.ChatHistories
FullNameLTE applies the LTE predicate on the "full_name" field.
func FullNameNEQ ¶
func FullNameNEQ(v string) predicate.ChatHistories
FullNameNEQ applies the NEQ predicate on the "full_name" field.
func FullNameNotIn ¶
func FullNameNotIn(vs ...string) predicate.ChatHistories
FullNameNotIn applies the NotIn predicate on the "full_name" field.
func ID ¶
func ID(id uuid.UUID) predicate.ChatHistories
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ChatHistories
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ChatHistories
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ChatHistories
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ChatHistories
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ChatHistories
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ChatHistories
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ChatHistories
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ChatHistories
IDNotIn applies the NotIn predicate on the ID field.
func MessageID ¶
func MessageID(v int64) predicate.ChatHistories
MessageID applies equality check predicate on the "message_id" field. It's identical to MessageIDEQ.
func MessageIDEQ ¶
func MessageIDEQ(v int64) predicate.ChatHistories
MessageIDEQ applies the EQ predicate on the "message_id" field.
func MessageIDGT ¶
func MessageIDGT(v int64) predicate.ChatHistories
MessageIDGT applies the GT predicate on the "message_id" field.
func MessageIDGTE ¶
func MessageIDGTE(v int64) predicate.ChatHistories
MessageIDGTE applies the GTE predicate on the "message_id" field.
func MessageIDIn ¶
func MessageIDIn(vs ...int64) predicate.ChatHistories
MessageIDIn applies the In predicate on the "message_id" field.
func MessageIDLT ¶
func MessageIDLT(v int64) predicate.ChatHistories
MessageIDLT applies the LT predicate on the "message_id" field.
func MessageIDLTE ¶
func MessageIDLTE(v int64) predicate.ChatHistories
MessageIDLTE applies the LTE predicate on the "message_id" field.
func MessageIDNEQ ¶
func MessageIDNEQ(v int64) predicate.ChatHistories
MessageIDNEQ applies the NEQ predicate on the "message_id" field.
func MessageIDNotIn ¶
func MessageIDNotIn(vs ...int64) predicate.ChatHistories
MessageIDNotIn applies the NotIn predicate on the "message_id" field.
func Not ¶
func Not(p predicate.ChatHistories) predicate.ChatHistories
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ChatHistories) predicate.ChatHistories
Or groups predicates with the OR operator between them.
func RepliedToFullName ¶
func RepliedToFullName(v string) predicate.ChatHistories
RepliedToFullName applies equality check predicate on the "replied_to_full_name" field. It's identical to RepliedToFullNameEQ.
func RepliedToFullNameContains ¶
func RepliedToFullNameContains(v string) predicate.ChatHistories
RepliedToFullNameContains applies the Contains predicate on the "replied_to_full_name" field.
func RepliedToFullNameContainsFold ¶
func RepliedToFullNameContainsFold(v string) predicate.ChatHistories
RepliedToFullNameContainsFold applies the ContainsFold predicate on the "replied_to_full_name" field.
func RepliedToFullNameEQ ¶
func RepliedToFullNameEQ(v string) predicate.ChatHistories
RepliedToFullNameEQ applies the EQ predicate on the "replied_to_full_name" field.
func RepliedToFullNameEqualFold ¶
func RepliedToFullNameEqualFold(v string) predicate.ChatHistories
RepliedToFullNameEqualFold applies the EqualFold predicate on the "replied_to_full_name" field.
func RepliedToFullNameGT ¶
func RepliedToFullNameGT(v string) predicate.ChatHistories
RepliedToFullNameGT applies the GT predicate on the "replied_to_full_name" field.
func RepliedToFullNameGTE ¶
func RepliedToFullNameGTE(v string) predicate.ChatHistories
RepliedToFullNameGTE applies the GTE predicate on the "replied_to_full_name" field.
func RepliedToFullNameHasPrefix ¶
func RepliedToFullNameHasPrefix(v string) predicate.ChatHistories
RepliedToFullNameHasPrefix applies the HasPrefix predicate on the "replied_to_full_name" field.
func RepliedToFullNameHasSuffix ¶
func RepliedToFullNameHasSuffix(v string) predicate.ChatHistories
RepliedToFullNameHasSuffix applies the HasSuffix predicate on the "replied_to_full_name" field.
func RepliedToFullNameIn ¶
func RepliedToFullNameIn(vs ...string) predicate.ChatHistories
RepliedToFullNameIn applies the In predicate on the "replied_to_full_name" field.
func RepliedToFullNameLT ¶
func RepliedToFullNameLT(v string) predicate.ChatHistories
RepliedToFullNameLT applies the LT predicate on the "replied_to_full_name" field.
func RepliedToFullNameLTE ¶
func RepliedToFullNameLTE(v string) predicate.ChatHistories
RepliedToFullNameLTE applies the LTE predicate on the "replied_to_full_name" field.
func RepliedToFullNameNEQ ¶
func RepliedToFullNameNEQ(v string) predicate.ChatHistories
RepliedToFullNameNEQ applies the NEQ predicate on the "replied_to_full_name" field.
func RepliedToFullNameNotIn ¶
func RepliedToFullNameNotIn(vs ...string) predicate.ChatHistories
RepliedToFullNameNotIn applies the NotIn predicate on the "replied_to_full_name" field.
func RepliedToMessageID ¶
func RepliedToMessageID(v int64) predicate.ChatHistories
RepliedToMessageID applies equality check predicate on the "replied_to_message_id" field. It's identical to RepliedToMessageIDEQ.
func RepliedToMessageIDEQ ¶
func RepliedToMessageIDEQ(v int64) predicate.ChatHistories
RepliedToMessageIDEQ applies the EQ predicate on the "replied_to_message_id" field.
func RepliedToMessageIDGT ¶
func RepliedToMessageIDGT(v int64) predicate.ChatHistories
RepliedToMessageIDGT applies the GT predicate on the "replied_to_message_id" field.
func RepliedToMessageIDGTE ¶
func RepliedToMessageIDGTE(v int64) predicate.ChatHistories
RepliedToMessageIDGTE applies the GTE predicate on the "replied_to_message_id" field.
func RepliedToMessageIDIn ¶
func RepliedToMessageIDIn(vs ...int64) predicate.ChatHistories
RepliedToMessageIDIn applies the In predicate on the "replied_to_message_id" field.
func RepliedToMessageIDLT ¶
func RepliedToMessageIDLT(v int64) predicate.ChatHistories
RepliedToMessageIDLT applies the LT predicate on the "replied_to_message_id" field.
func RepliedToMessageIDLTE ¶
func RepliedToMessageIDLTE(v int64) predicate.ChatHistories
RepliedToMessageIDLTE applies the LTE predicate on the "replied_to_message_id" field.
func RepliedToMessageIDNEQ ¶
func RepliedToMessageIDNEQ(v int64) predicate.ChatHistories
RepliedToMessageIDNEQ applies the NEQ predicate on the "replied_to_message_id" field.
func RepliedToMessageIDNotIn ¶
func RepliedToMessageIDNotIn(vs ...int64) predicate.ChatHistories
RepliedToMessageIDNotIn applies the NotIn predicate on the "replied_to_message_id" field.
func RepliedToText ¶
func RepliedToText(v string) predicate.ChatHistories
RepliedToText applies equality check predicate on the "replied_to_text" field. It's identical to RepliedToTextEQ.
func RepliedToTextContains ¶
func RepliedToTextContains(v string) predicate.ChatHistories
RepliedToTextContains applies the Contains predicate on the "replied_to_text" field.
func RepliedToTextContainsFold ¶
func RepliedToTextContainsFold(v string) predicate.ChatHistories
RepliedToTextContainsFold applies the ContainsFold predicate on the "replied_to_text" field.
func RepliedToTextEQ ¶
func RepliedToTextEQ(v string) predicate.ChatHistories
RepliedToTextEQ applies the EQ predicate on the "replied_to_text" field.
func RepliedToTextEqualFold ¶
func RepliedToTextEqualFold(v string) predicate.ChatHistories
RepliedToTextEqualFold applies the EqualFold predicate on the "replied_to_text" field.
func RepliedToTextGT ¶
func RepliedToTextGT(v string) predicate.ChatHistories
RepliedToTextGT applies the GT predicate on the "replied_to_text" field.
func RepliedToTextGTE ¶
func RepliedToTextGTE(v string) predicate.ChatHistories
RepliedToTextGTE applies the GTE predicate on the "replied_to_text" field.
func RepliedToTextHasPrefix ¶
func RepliedToTextHasPrefix(v string) predicate.ChatHistories
RepliedToTextHasPrefix applies the HasPrefix predicate on the "replied_to_text" field.
func RepliedToTextHasSuffix ¶
func RepliedToTextHasSuffix(v string) predicate.ChatHistories
RepliedToTextHasSuffix applies the HasSuffix predicate on the "replied_to_text" field.
func RepliedToTextIn ¶
func RepliedToTextIn(vs ...string) predicate.ChatHistories
RepliedToTextIn applies the In predicate on the "replied_to_text" field.
func RepliedToTextLT ¶
func RepliedToTextLT(v string) predicate.ChatHistories
RepliedToTextLT applies the LT predicate on the "replied_to_text" field.
func RepliedToTextLTE ¶
func RepliedToTextLTE(v string) predicate.ChatHistories
RepliedToTextLTE applies the LTE predicate on the "replied_to_text" field.
func RepliedToTextNEQ ¶
func RepliedToTextNEQ(v string) predicate.ChatHistories
RepliedToTextNEQ applies the NEQ predicate on the "replied_to_text" field.
func RepliedToTextNotIn ¶
func RepliedToTextNotIn(vs ...string) predicate.ChatHistories
RepliedToTextNotIn applies the NotIn predicate on the "replied_to_text" field.
func RepliedToUserID ¶
func RepliedToUserID(v int64) predicate.ChatHistories
RepliedToUserID applies equality check predicate on the "replied_to_user_id" field. It's identical to RepliedToUserIDEQ.
func RepliedToUserIDEQ ¶
func RepliedToUserIDEQ(v int64) predicate.ChatHistories
RepliedToUserIDEQ applies the EQ predicate on the "replied_to_user_id" field.
func RepliedToUserIDGT ¶
func RepliedToUserIDGT(v int64) predicate.ChatHistories
RepliedToUserIDGT applies the GT predicate on the "replied_to_user_id" field.
func RepliedToUserIDGTE ¶
func RepliedToUserIDGTE(v int64) predicate.ChatHistories
RepliedToUserIDGTE applies the GTE predicate on the "replied_to_user_id" field.
func RepliedToUserIDIn ¶
func RepliedToUserIDIn(vs ...int64) predicate.ChatHistories
RepliedToUserIDIn applies the In predicate on the "replied_to_user_id" field.
func RepliedToUserIDLT ¶
func RepliedToUserIDLT(v int64) predicate.ChatHistories
RepliedToUserIDLT applies the LT predicate on the "replied_to_user_id" field.
func RepliedToUserIDLTE ¶
func RepliedToUserIDLTE(v int64) predicate.ChatHistories
RepliedToUserIDLTE applies the LTE predicate on the "replied_to_user_id" field.
func RepliedToUserIDNEQ ¶
func RepliedToUserIDNEQ(v int64) predicate.ChatHistories
RepliedToUserIDNEQ applies the NEQ predicate on the "replied_to_user_id" field.
func RepliedToUserIDNotIn ¶
func RepliedToUserIDNotIn(vs ...int64) predicate.ChatHistories
RepliedToUserIDNotIn applies the NotIn predicate on the "replied_to_user_id" field.
func RepliedToUsername ¶
func RepliedToUsername(v string) predicate.ChatHistories
RepliedToUsername applies equality check predicate on the "replied_to_username" field. It's identical to RepliedToUsernameEQ.
func RepliedToUsernameContains ¶
func RepliedToUsernameContains(v string) predicate.ChatHistories
RepliedToUsernameContains applies the Contains predicate on the "replied_to_username" field.
func RepliedToUsernameContainsFold ¶
func RepliedToUsernameContainsFold(v string) predicate.ChatHistories
RepliedToUsernameContainsFold applies the ContainsFold predicate on the "replied_to_username" field.
func RepliedToUsernameEQ ¶
func RepliedToUsernameEQ(v string) predicate.ChatHistories
RepliedToUsernameEQ applies the EQ predicate on the "replied_to_username" field.
func RepliedToUsernameEqualFold ¶
func RepliedToUsernameEqualFold(v string) predicate.ChatHistories
RepliedToUsernameEqualFold applies the EqualFold predicate on the "replied_to_username" field.
func RepliedToUsernameGT ¶
func RepliedToUsernameGT(v string) predicate.ChatHistories
RepliedToUsernameGT applies the GT predicate on the "replied_to_username" field.
func RepliedToUsernameGTE ¶
func RepliedToUsernameGTE(v string) predicate.ChatHistories
RepliedToUsernameGTE applies the GTE predicate on the "replied_to_username" field.
func RepliedToUsernameHasPrefix ¶
func RepliedToUsernameHasPrefix(v string) predicate.ChatHistories
RepliedToUsernameHasPrefix applies the HasPrefix predicate on the "replied_to_username" field.
func RepliedToUsernameHasSuffix ¶
func RepliedToUsernameHasSuffix(v string) predicate.ChatHistories
RepliedToUsernameHasSuffix applies the HasSuffix predicate on the "replied_to_username" field.
func RepliedToUsernameIn ¶
func RepliedToUsernameIn(vs ...string) predicate.ChatHistories
RepliedToUsernameIn applies the In predicate on the "replied_to_username" field.
func RepliedToUsernameLT ¶
func RepliedToUsernameLT(v string) predicate.ChatHistories
RepliedToUsernameLT applies the LT predicate on the "replied_to_username" field.
func RepliedToUsernameLTE ¶
func RepliedToUsernameLTE(v string) predicate.ChatHistories
RepliedToUsernameLTE applies the LTE predicate on the "replied_to_username" field.
func RepliedToUsernameNEQ ¶
func RepliedToUsernameNEQ(v string) predicate.ChatHistories
RepliedToUsernameNEQ applies the NEQ predicate on the "replied_to_username" field.
func RepliedToUsernameNotIn ¶
func RepliedToUsernameNotIn(vs ...string) predicate.ChatHistories
RepliedToUsernameNotIn applies the NotIn predicate on the "replied_to_username" field.
func Text ¶
func Text(v string) predicate.ChatHistories
Text applies equality check predicate on the "text" field. It's identical to TextEQ.
func TextContains ¶
func TextContains(v string) predicate.ChatHistories
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
func TextContainsFold(v string) predicate.ChatHistories
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEQ ¶
func TextEQ(v string) predicate.ChatHistories
TextEQ applies the EQ predicate on the "text" field.
func TextEqualFold ¶
func TextEqualFold(v string) predicate.ChatHistories
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextGT ¶
func TextGT(v string) predicate.ChatHistories
TextGT applies the GT predicate on the "text" field.
func TextGTE ¶
func TextGTE(v string) predicate.ChatHistories
TextGTE applies the GTE predicate on the "text" field.
func TextHasPrefix ¶
func TextHasPrefix(v string) predicate.ChatHistories
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
func TextHasSuffix(v string) predicate.ChatHistories
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func TextIn ¶
func TextIn(vs ...string) predicate.ChatHistories
TextIn applies the In predicate on the "text" field.
func TextLT ¶
func TextLT(v string) predicate.ChatHistories
TextLT applies the LT predicate on the "text" field.
func TextLTE ¶
func TextLTE(v string) predicate.ChatHistories
TextLTE applies the LTE predicate on the "text" field.
func TextNEQ ¶
func TextNEQ(v string) predicate.ChatHistories
TextNEQ applies the NEQ predicate on the "text" field.
func TextNotIn ¶
func TextNotIn(vs ...string) predicate.ChatHistories
TextNotIn applies the NotIn predicate on the "text" field.
func UpdatedAt ¶
func UpdatedAt(v int64) predicate.ChatHistories
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v int64) predicate.ChatHistories
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v int64) predicate.ChatHistories
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v int64) predicate.ChatHistories
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...int64) predicate.ChatHistories
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v int64) predicate.ChatHistories
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v int64) predicate.ChatHistories
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v int64) predicate.ChatHistories
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...int64) predicate.ChatHistories
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v int64) predicate.ChatHistories
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int64) predicate.ChatHistories
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int64) predicate.ChatHistories
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int64) predicate.ChatHistories
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int64) predicate.ChatHistories
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int64) predicate.ChatHistories
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int64) predicate.ChatHistories
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int64) predicate.ChatHistories
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int64) predicate.ChatHistories
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func Username ¶
func Username(v string) predicate.ChatHistories
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
func UsernameContains(v string) predicate.ChatHistories
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
func UsernameContainsFold(v string) predicate.ChatHistories
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
func UsernameEQ(v string) predicate.ChatHistories
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
func UsernameEqualFold(v string) predicate.ChatHistories
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
func UsernameGT(v string) predicate.ChatHistories
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
func UsernameGTE(v string) predicate.ChatHistories
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
func UsernameHasPrefix(v string) predicate.ChatHistories
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
func UsernameHasSuffix(v string) predicate.ChatHistories
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
func UsernameIn(vs ...string) predicate.ChatHistories
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
func UsernameLT(v string) predicate.ChatHistories
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
func UsernameLTE(v string) predicate.ChatHistories
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
func UsernameNEQ(v string) predicate.ChatHistories
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
func UsernameNotIn(vs ...string) predicate.ChatHistories
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ChatHistories queries.
func ByChatID ¶
func ByChatID(opts ...sql.OrderTermOption) OrderOption
ByChatID orders the results by the chat_id field.
func ByChatTitle ¶
func ByChatTitle(opts ...sql.OrderTermOption) OrderOption
ByChatTitle orders the results by the chat_title field.
func ByChattedAt ¶
func ByChattedAt(opts ...sql.OrderTermOption) OrderOption
ByChattedAt orders the results by the chatted_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmbedded ¶
func ByEmbedded(opts ...sql.OrderTermOption) OrderOption
ByEmbedded orders the results by the embedded field.
func ByFromPlatform ¶
func ByFromPlatform(opts ...sql.OrderTermOption) OrderOption
ByFromPlatform orders the results by the from_platform field.
func ByFullName ¶
func ByFullName(opts ...sql.OrderTermOption) OrderOption
ByFullName orders the results by the full_name field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMessageID ¶
func ByMessageID(opts ...sql.OrderTermOption) OrderOption
ByMessageID orders the results by the message_id field.
func ByRepliedToFullName ¶
func ByRepliedToFullName(opts ...sql.OrderTermOption) OrderOption
ByRepliedToFullName orders the results by the replied_to_full_name field.
func ByRepliedToMessageID ¶
func ByRepliedToMessageID(opts ...sql.OrderTermOption) OrderOption
ByRepliedToMessageID orders the results by the replied_to_message_id field.
func ByRepliedToText ¶
func ByRepliedToText(opts ...sql.OrderTermOption) OrderOption
ByRepliedToText orders the results by the replied_to_text field.
func ByRepliedToUserID ¶
func ByRepliedToUserID(opts ...sql.OrderTermOption) OrderOption
ByRepliedToUserID orders the results by the replied_to_user_id field.
func ByRepliedToUsername ¶
func ByRepliedToUsername(opts ...sql.OrderTermOption) OrderOption
ByRepliedToUsername orders the results by the replied_to_username field.
func ByText ¶
func ByText(opts ...sql.OrderTermOption) OrderOption
ByText orders the results by the text field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByUsername ¶
func ByUsername(opts ...sql.OrderTermOption) OrderOption
ByUsername orders the results by the username field.