package
3.9.0+incompatible
Repository: https://github.com/datomar-labs-inc/db.git
Documentation: pkg.go.dev

# Functions

ColumnWithName creates and returns a Column with the given name.
DatabaseWithName returns a Database with the given name.
GroupByColumns creates and returns a GroupBy with the given column.
JoinColumns creates and returns an array of Column.
JoinColumnValues returns an array of ColumnValue.
JoinConditions creates a Joins object.
JoinSortColumns creates and returns an array of column-order relations.
JoinValueGroups creates a new *ValueGroups object.
JoinWithAnd creates and returns a new And.
JoinWithOr creates and returns a new Or.
JoinWithOrderBy creates an returns an OrderBy using the given SortColumns.
NewValue creates and returns a Value.
NewValueGroup creates and returns an array of values.
OnConditions creates and retuens a new On.
RawSQL represents a raw SQL statement.
RawValue creates and returns a new raw value.
ReturningColumns creates and returns an array of Column.
TableWithName creates an returns a Table with the given name.
UsingColumns builds a Using from the given columns.
WhereConditions creates and retuens a new Where.

# Constants

Possible values for Order.
Values for Type.
Possible values for Order.
Values for Type.
Possible values for Order.
Values for Type.
Values for Type.
Values for Type.
Values for Type.
Values for Type.
Values for Type.
Values for Type.
Values for Type.

# Structs

Column represents a SQL column.
Columns represents an array of Column.
ColumnValue represents a bundle between a column and a corresponding value.
ColumnValues represents an array of ColumnValue.
Database represents a SQL database.
GroupBy represents a SQL's "group by" statement.
Join represents a generic JOIN statement.
Joins represents the union of different join conditions.
OrderBy represents an ORDER BY clause.
Raw represents a value that is meant to be used in a query without escaping.
Returning represents a RETURNING clause.
SortColumn represents the column-order relation in an ORDER BY clause.
SortColumns represents the columns in an ORDER BY clause.
represents different kinds of SQL statements.
Table struct represents a SQL table.
Template is an SQL template.
Value represents an escaped SQL value.
ValueGroups represents an array of value groups.
Values represents an array of Value.
Where represents an SQL WHERE clause.

# Interfaces

Fragment is any interface that can be both cached and compiled.

# Type aliases

And represents an SQL AND operator.
No description provided by the author
No description provided by the author
On represents JOIN conditions.
Or represents an SQL OR operator.
Order represents the order in which SQL results are sorted.
Type is the type of SQL query the statement represents.
Using represents a USING function.