Help us shape the future of Go! Take the 2026 Go Developer Survey

database

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preload

func Preload() lua.LValue

Types

type DataBase

type DataBase struct {
	DriverName     string `lua:"driver_name"`
	DataSourceName string `lua:"data_source_name"`
	// contains filtered or unexported fields
}

func (*DataBase) AssertFunction

func (db *DataBase) AssertFunction() (*lua.LFunction, bool)

func (*DataBase) Index

func (db *DataBase) Index(L *lua.LState, key string) lua.LValue

func (*DataBase) String

func (db *DataBase) String() string

func (*DataBase) Type added in v0.5.0

func (db *DataBase) Type() lua.LValueType

type Statement added in v0.5.1

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

func (*Statement) AssertFunction added in v0.5.1

func (s *Statement) AssertFunction() (*lua.LFunction, bool)

func (*Statement) Index added in v0.5.1

func (s *Statement) Index(L *lua.LState, key string) lua.LValue

func (*Statement) String added in v0.5.1

func (s *Statement) String() string

func (*Statement) Type added in v0.5.1

func (s *Statement) Type() lua.LValueType

Jump to

Keyboard shortcuts

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