package
1.0.0
Repository: https://github.com/volatiletech/sqlboiler.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package randomize has helpers for randomization of structs and fields.

# Functions

AppendFrom on the query.
AppendGroupBy on the query.
AppendHaving on the query.
AppendIn on the query.
AppendInnerJoin on the query.
AppendOrderBy on the query.
AppendSelect on the query.
AppendWhere on the query.
Begin a transaction.
Bind executes the query and inserts the result into the passed in object pointer Bind rules: - Struct tags control bind, in the form of: `boil:"name,bind"` - If "name" is omitted the sql column names that come back are TitleCased and matched against the field name.
BindMapping creates a mapping that helps look up the pointer for the column given.
BuildUpsertQuery builds a SQL statement string using the upsertData provided.
ExecQuery executes a query that does not need a row returned.
ExecQueryAll executes the query for the All finisher and returns multiple rows.
ExecQueryOne executes the query for the One finisher and returns a row.
GetDB retrieves the global state database handle.
GetExecutor on the query.
GetLocation retrieves the global timestamp Location.
GetSliceValues returns the values (as interface) of the matching columns in obj.
GetStructPointers returns a slice of pointers to the matching columns in obj.
GetStructValues returns the values (as interface) of the matching columns in obj.
IsBoilErr checks if err is a boilErr.
MakeStructMapping creates a map of the struct to be able to quickly look up its pointers and values by name.
NonZeroDefaultSet returns the fields included in the defaults slice that are non zero values.
PtrsFromMapping expects to be passed an addressable struct and a mapping of where to find things.
SetCount on the query.
SetDB initializes the database handle for all template db interactions.
SetDelete on the query.
SetExecutor on the query.
SetFor on the query.
SetFrom replaces the current from statements.
SetLastInAsOr sets the or separator for the tail "IN" in the slice.
SetLastWhereAsOr sets the or separator for the tail "WHERE" in the slice.
SetLimit on the query.
SetLoad on the query.
SetLocation sets the global timestamp Location.
SetOffset on the query.
SetSQL on the query.
SetUpdate on the query.
SQL makes a plainSQL query, usually for use with bind.
SQLG makes a plainSQL query using the global Executor, usually for use with bind.
ValuesFromMapping expects to be passed an addressable struct and a mapping of where to find things.
WrapErr wraps err in a boilErr.

# Constants

the hook point constants.
the hook point constants.
the hook point constants.
the hook point constants.
the hook point constants.
the hook point constants.
the hook point constants.
the hook point constants.
the hook point constants.
Join type constants.
Join type constants.
Join type constants.
Join type constants.

# Variables

DebugMode is a flag controlling whether generated sql statements and debug information is outputted to the DebugWriter handle NOTE: This should be disabled in production to avoid leaking sensitive data.
DebugWriter is where the debug output will be sent if DebugMode is true.

# Structs

Query holds the state for the built up query.

# Interfaces

Beginner begins transactions.
Executor can perform SQL queries.
Transactor can commit and rollback, on top of being able to execute queries.

# Type aliases

HookPoint is the point in time at which we hook.