Categorygithub.com/samtech09/dal
modulepackage
0.0.5
Repository: https://github.com/samtech09/dal.git
Documentation: pkg.go.dev

# README

dal

Database abstraction layer for postgres, mysql and sqlite

# Functions

NewDbal creates a new Dbal object and initialize with Db connection.
NewSQLBuilder returns new instance of SQLBuilder.
SliceToStringFloat convert slice to float64 to comma separated string.
SliceToStringInt convert slice to int to comma separated string.
WrapDbal Creates new Dbal instance and initialize with given db connection.

# Constants

Define DBMS and set driver name.
Define DBMS and set driver name.
Define DBMS and set driver name.

# Structs

Dbal Struct represents Core Database Abstraction Layer.
SQLBuilder allow to dynamically build SQL to query database-tables.

# Interfaces

DbWrapper defines interface that provider must support.

# Type aliases

DBMS is type to facilitate using supported Dbms constants.
RowMap is type for map[string]interface for easy accessing row data as Map.