db

package
v0.0.0-...-267df42 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEngine

func CreateEngine(driverConfig *config.DriverConfig,
	templatePaths []string, env string, dbname string) (*engine.TierceronEngine, error)

CreateEngine - creates a Tierceron query engine for query of configurations.

func Query

func Query(te *engine.TierceronEngine, query string, queryLock *sync.Mutex) (string, []string, [][]interface{}, error)

Query - queries configurations using standard ANSI SQL syntax. Example: select * from ServiceTechMobileAPI.configfile

func QueryWithBindings

func QueryWithBindings(te *engine.TierceronEngine, query string, bindings map[string]sql.Expression, queryLock *sync.Mutex) (string, []string, [][]interface{}, error)

Query - queries configurations using standard ANSI SQL syntax. Example: select * from ServiceTechMobileAPI.configfile

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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