sqlite3

package module
v0.0.0-...-7282f5d Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

This code is transcompiled by LuneScript.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base_Open

func Base_Open(path string, readonly bool, onMemoryFlag bool) (LnsAny, string)

16: decl @lns.@sqlite3.@base.Open

func Lns_base_init

func Lns_base_init()

func Lns_cast2Base_DB

func Lns_cast2Base_DB(obj LnsAny) LnsAny

func Open

func Open(path string, readonly bool, onMemoryFlag bool) (LnsAny, string)

Types

type Base_DB

type Base_DB interface {
	Begin()
	Close()
	Commit()
	Exec(arg1 string, arg2 LnsAny)
	MapQuery(arg1 string, arg2 LnsAny) bool
}

type Base_errHandleForm

type Base_errHandleForm func(arg1 string, arg2 string)

type Base_queryForm

type Base_queryForm func(arg1 *LnsList) bool

type DB

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

func (*DB) Begin

func (db *DB) Begin()

func (*DB) Close

func (db *DB) Close()

func (*DB) Commit

func (db *DB) Commit()

func (*DB) Exec

func (db *DB) Exec(stmt string, errHandle LnsAny)

func (*DB) MapQuery

func (db *DB) MapQuery(query string, callback LnsAny) bool

Jump to

Keyboard shortcuts

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