mod_db

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

*

  • DB client module
  • Rosbit Xu <me@rosbit.cn>
  • Dec. 13, 2018

Index

Constants

View Source
const (
	MYSQL   = "mysql"
	SQLITE3 = "sqlite3"
)

Variables

This section is empty.

Functions

func NewDBModule

func NewDBModule(ctx *js.JSEnv) interface{}

Types

type DBModule

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

func (*DBModule) CreateConnection

func (m *DBModule) CreateConnection(options map[string]interface{}) (*dbConn, error)

Jump to

Keyboard shortcuts

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