raw

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

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 (ExecuteExec) ExtractQuery

func (r ExecuteExec) ExtractQuery() builder.Query

func (ExecuteExec) Tx

type QueryExec

type QueryExec struct {
	// contains filtered or unexported fields
}

func (QueryExec) Exec

func (r QueryExec) Exec(ctx context.Context, into interface{}) error

func (QueryExec) ExtractQuery

func (r QueryExec) ExtractQuery() builder.Query

func (QueryExec) Tx

func (r QueryExec) Tx() TxQueryResult

type QueryResult

type QueryResult struct {
	QueryRaw json.RawMessage `json:"queryRaw"`
}

type Raw

type Raw struct {
	Engine engine.Engine
}

func (Raw) ExecuteRaw

func (r Raw) ExecuteRaw(query string, params ...interface{}) ExecuteExec

func (Raw) QueryRaw

func (r Raw) QueryRaw(query string, params ...interface{}) QueryExec

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL