Documentation ¶
Index ¶
- Constants
- func NewChatUserQuery(pool *ggxserve_database_pool.Connections) (response interface{}, err error)
- type ChatUserQuery
- func (instance *ChatUserQuery) ChatUserGetById(id uint) (response *model.ChatUser, err error)
- func (instance *ChatUserQuery) ChatUserGetByUID(uid string) (response *model.ChatUser, err error)
- func (instance *ChatUserQuery) ChatUserGetOrCreateByUID(uid string) (response *model.ChatUser, err error)
- func (instance *ChatUserQuery) ChatUserSave(item *model.ChatUser) (response *model.ChatUser, err error)
- func (instance *ChatUserQuery) SetBotUid(botUID string)
Constants ¶
View Source
const NameChatUserQuery = "query_chat_user"
Variables ¶
This section is empty.
Functions ¶
func NewChatUserQuery ¶
func NewChatUserQuery(pool *ggxserve_database_pool.Connections) (response interface{}, err error)
Types ¶
type ChatUserQuery ¶
type ChatUserQuery struct {
// contains filtered or unexported fields
}
func (*ChatUserQuery) ChatUserGetById ¶
func (instance *ChatUserQuery) ChatUserGetById(id uint) (response *model.ChatUser, err error)
func (*ChatUserQuery) ChatUserGetByUID ¶
func (instance *ChatUserQuery) ChatUserGetByUID(uid string) (response *model.ChatUser, err error)
func (*ChatUserQuery) ChatUserGetOrCreateByUID ¶
func (instance *ChatUserQuery) ChatUserGetOrCreateByUID(uid string) (response *model.ChatUser, err error)
func (*ChatUserQuery) ChatUserSave ¶
func (*ChatUserQuery) SetBotUid ¶
func (instance *ChatUserQuery) SetBotUid(botUID string)
Click to show internal directories.
Click to hide internal directories.