query

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 (instance *ChatUserQuery) ChatUserSave(item *model.ChatUser) (response *model.ChatUser, err error)

func (*ChatUserQuery) SetBotUid

func (instance *ChatUserQuery) SetBotUid(botUID string)

Jump to

Keyboard shortcuts

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