package
0.0.0-20250117010958-ade137eca6ff
Repository: https://github.com/jmkng/zenin.git
Documentation: pkg.go.dev
# Functions
NewBuilder returns a new `Builder`.
NewMarkerBuilder returns a new `MarkerBuilder`.
NewWhereBuilder returns a new `WhereBuilder`.
# Structs
Builder maintains an internal buffer of text and a series of arguments.
MarkerBuilder is used to place a bind marker in an SQL query.
WhereBuilder is used to place a "WHERE" or "AND" in an SQL query.
# Interfaces
Injectable is a type that can interact with a `Builder`, typically to inject some SQL.
# Type aliases
BindMarker allows a `MarkerBuilder` to understand which bind parameter syntax should be used.
Separator is a string that is either "WHERE" or "AND".