sqlbuilder

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandQuery

func ExpandQuery(query string, args []interface{}) (string, []interface{}, error)

ExpandQuery flattens elements of the arguments list to their indivisible forms (e.g. primitive types, []byte, driver.Valuer) and expands placeholders ("?") in the query accordingly.

func New

func New(adapter adapter.Adapter, t *exql.Template) norm.SQL

New returns a new SQL query builder with given adapter and template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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