sqlitefilec

package
v0.0.0-...-26b89f5 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBTX

type DBTX interface {
	ExecContext(context.Context, string, ...interface{}) (sql.Result, error)
	PrepareContext(context.Context, string) (*sql.Stmt, error)
	QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error)
	QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}

type ItemQuest

type ItemQuest struct {
	ItemID int64
	Gob    string
}

type ItemQuestReplaceParams

type ItemQuestReplaceParams struct {
	ItemID int64
	Gob    string
}

type ItemRecipe

type ItemRecipe struct {
	ItemID int64
	Gob    string
}

type ItemRecipeReplaceParams

type ItemRecipeReplaceParams struct {
	ItemID int64
	Gob    string
}

type NpcQuest

type NpcQuest struct {
	NpcID int64
	Gob   string
}

type NpcQuestReplaceParams

type NpcQuestReplaceParams struct {
	NpcID int64
	Gob   string
}

type Queries

type Queries struct {
	// contains filtered or unexported fields
}

func New

func New(db DBTX) *Queries

func (*Queries) ItemQuestByItemID

func (q *Queries) ItemQuestByItemID(ctx context.Context, itemID int64) (string, error)

func (*Queries) ItemQuestCreate

func (q *Queries) ItemQuestCreate(ctx context.Context) error

func (*Queries) ItemQuestReplace

func (q *Queries) ItemQuestReplace(ctx context.Context, arg ItemQuestReplaceParams) error

func (*Queries) ItemQuestTruncate

func (q *Queries) ItemQuestTruncate(ctx context.Context) error

func (*Queries) ItemRecipeByItemID

func (q *Queries) ItemRecipeByItemID(ctx context.Context, itemID int64) (string, error)

func (*Queries) ItemRecipeCreate

func (q *Queries) ItemRecipeCreate(ctx context.Context) error

func (*Queries) ItemRecipeReplace

func (q *Queries) ItemRecipeReplace(ctx context.Context, arg ItemRecipeReplaceParams) error

func (*Queries) ItemRecipeTruncate

func (q *Queries) ItemRecipeTruncate(ctx context.Context) error

func (*Queries) NpcQuestByNpcID

func (q *Queries) NpcQuestByNpcID(ctx context.Context, npcID int64) (string, error)

func (*Queries) NpcQuestCreate

func (q *Queries) NpcQuestCreate(ctx context.Context) error

func (*Queries) NpcQuestReplace

func (q *Queries) NpcQuestReplace(ctx context.Context, arg NpcQuestReplaceParams) error

func (*Queries) NpcQuestTruncate

func (q *Queries) NpcQuestTruncate(ctx context.Context) error

func (*Queries) QuestAll

func (q *Queries) QuestAll(ctx context.Context) ([]Quest, error)

func (*Queries) QuestByID

func (q *Queries) QuestByID(ctx context.Context, id int64) (string, error)

func (*Queries) QuestCreate

func (q *Queries) QuestCreate(ctx context.Context) error

func (*Queries) QuestNextID

func (q *Queries) QuestNextID(ctx context.Context) (int64, error)

func (*Queries) QuestReplace

func (q *Queries) QuestReplace(ctx context.Context, arg QuestReplaceParams) error

func (*Queries) QuestTruncate

func (q *Queries) QuestTruncate(ctx context.Context) error

func (*Queries) WithTx

func (q *Queries) WithTx(tx *sql.Tx) *Queries

type Quest

type Quest struct {
	ID  int64
	Gob string
}

type QuestReplaceParams

type QuestReplaceParams struct {
	ID  int64
	Gob string
}

Jump to

Keyboard shortcuts

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