sql

package
v0.3.71 Latest Latest
Warning

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

Go to latest
Published: May 17, 2025 License: BSD-3-Clause Imports: 4 Imported by: 0

README

SQL

https://golang.org/pkg/database/sql/

https://github.com/golang/go/wiki/SQLDrivers

MySQL

To test ensure you have mysql instance running: mysql.server start

Driver

go get -u github.com/go-sql-driver/mysql

Documentation

Index

Constants

View Source
const NAME = "sql"

Variables

This section is empty.

Functions

func Enable

func Enable(ctx *commons.RuntimeContext)

func Wrap

func Wrap(runtime *goja.Runtime, database *helpers.Database) goja.Value

Types

type JsDatabase

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

type ModuleSql

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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