sqlite

package
v0.0.0-...-04d4fff Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Stmt *Statements
	// contains filtered or unexported fields
}

Connection - Connection

func (*Connection) Close

func (c *Connection) Close()

Close - close connection and clean up

func (*Connection) GetDB

func (c *Connection) GetDB() *sql.DB

GetDB - expose the underlying db object

func (*Connection) Open

func (c *Connection) Open(path string)

Open - open connection and set up

type Statements

type Statements struct {
	Node         *sql.Stmt
	NodeTags     *sql.Stmt
	Way          *sql.Stmt
	WayTags      *sql.Stmt
	WayNodes     *sql.Stmt
	Relation     *sql.Stmt
	RelationTags *sql.Stmt
	Member       *sql.Stmt
}

Statements - generic sqlite prepared Statements

func (*Statements) Close

func (s *Statements) Close()

Close - close all prepared Statements

Jump to

Keyboard shortcuts

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