package
1.1.1
Repository: https://github.com/ajrdrgz/db-query-builder.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
BuildQueryArgsAndPagination builds and returns a query adding the filter + sort + pagination.
BuildSQLDelete builds and returns a query with the DELETE statement.
BuildSQLInsert builds a query INSERT of postgres.
BuildSQLInsertWithID builds a query INSERT of postgres allowing to send the ID.
BuildSQLOrderBy builds and returns a query ORDER BY of postgres and its arguments.
BuildSQLPagination builds and returns a query OFFSET LIMIT of postgres for pagination.
BuildSQLSelect builds a query SELECT of postgres.
BuildSQLSelectFields builds a query SELECT of postgres.
BuildSQLUpdateByID builds a query UPDATE of postgres.
BuildSQLWhere builds and returns a query WHERE of postgres and its arguments.
CheckConstraint checks if a error is a psqlError and returns the custom constraint error.
CheckError validate a postgres error.
ColumnsAliased return the column names with aliased of the table.
ColumnsAliasedWithDefault return the column names with aliased of the table.
ExecAffectingOneRow ejecuta una sentencia (statement), esperando una sola fila afectada.

# Constants

No description provided by the author

# Interfaces

RowScanner utilidad para leer los registros de un Query.

# Type aliases

Constraints is a map with a key with the constraint name and contains a value as error.