chathistories

package
v0.13.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for chathistories fields.

Functions

func And

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

Not applies the not operator on the given predicate.

func Or

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

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL