db

package
v0.0.0-...-b9ed496 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StoreUserQuery

func StoreUserQuery(db *sql.DB, uq *UserQuery) (int64, error)

Types

type UserQuery

type UserQuery struct {
	UserID      string
	GuildID     string
	ChannelID   string
	Question    string
	SQLResponse *bot.SQLResponse
	Results     string
	CreatedAt   time.Time
}

func GetUserQuery

func GetUserQuery(db *sql.DB, id string) (*UserQuery, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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