Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecuteExec ¶
type ExecuteExec struct {
// contains filtered or unexported fields
}
func (ExecuteExec) Exec ¶
func (r ExecuteExec) Exec(ctx context.Context) (*types.BatchResult, error)
func (ExecuteExec) ExtractQuery ¶
func (r ExecuteExec) ExtractQuery() builder.Query
func (ExecuteExec) Tx ¶
func (r ExecuteExec) Tx() TxExecuteResult
type QueryExec ¶
type QueryExec struct {
// contains filtered or unexported fields
}
func (QueryExec) ExtractQuery ¶
func (QueryExec) Tx ¶
func (r QueryExec) Tx() TxQueryResult
type QueryResult ¶
type QueryResult struct {
QueryRaw json.RawMessage `json:"queryRaw"`
}
type Raw ¶
func (Raw) ExecuteRaw ¶
func (r Raw) ExecuteRaw(query string, params ...interface{}) ExecuteExec
func (Raw) RunCommandRaw ¶ added in v0.44.0
func (r Raw) RunCommandRaw(cmd interface{}) RunCommandExec
type RunCommandExec ¶ added in v0.44.0
type RunCommandExec struct {
// contains filtered or unexported fields
}
func (RunCommandExec) Exec ¶ added in v0.44.0
func (r RunCommandExec) Exec(ctx context.Context, into interface{}) error
func (RunCommandExec) ExtractQuery ¶ added in v0.44.0
func (r RunCommandExec) ExtractQuery() builder.Query
func (RunCommandExec) Tx ¶ added in v0.44.0
func (r RunCommandExec) Tx() TxQueryResult
type TxExecuteResult ¶
type TxExecuteResult struct {
// contains filtered or unexported fields
}
func NewTxExecuteResult ¶
func NewTxExecuteResult() TxExecuteResult
func (TxExecuteResult) ExtractQuery ¶
func (r TxExecuteResult) ExtractQuery() builder.Query
func (TxExecuteResult) IsTx ¶
func (r TxExecuteResult) IsTx()
func (TxExecuteResult) Result ¶
func (r TxExecuteResult) Result() *types.BatchResult
type TxQueryResult ¶
type TxQueryResult struct {
// contains filtered or unexported fields
}
func NewTxQueryResult ¶
func NewTxQueryResult() TxQueryResult
func (TxQueryResult) ExtractQuery ¶
func (r TxQueryResult) ExtractQuery() builder.Query
func (TxQueryResult) Into ¶
func (r TxQueryResult) Into(v interface{}) error
func (TxQueryResult) IsTx ¶
func (r TxQueryResult) IsTx()
Click to show internal directories.
Click to hide internal directories.