mssql

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(L *lua.LState, perm pinterface.IPermissions)

Load makes functions related to building a library of Lua code available

Types

type LValueWrapper

type LValueWrapper struct {
	LValue lua.LValue
}

LValueWrapper decorates lua.LValue to help retieve values from the database.

func (*LValueWrapper) Scan

func (w *LValueWrapper) Scan(value interface{}) error

Scan implements the sql.Scanner interface for database deserialization.

type LValueWrappers

type LValueWrappers []LValueWrapper

LValueWrappers is a convenience type to easily map to a slice of lua.LValue

func (LValueWrappers) Interfaces

func (w LValueWrappers) Interfaces() (s []interface{})

Interfaces returns a slice of interface{} values from the given LValueWrappers

func (LValueWrappers) Unwrap

func (w LValueWrappers) Unwrap() (s []lua.LValue)

Unwrap produces a slice of lua.LValue from the given LValueWrappers

Jump to

Keyboard shortcuts

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