debug

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WrapQueryExecutor

func WrapQueryExecutor(executor namespace.QueryExecutor, dump func(string)) namespace.QueryExecutor

Types

type BaseQueryBuilderWithDump

type BaseQueryBuilderWithDump interface {
	query.BaseQueryBuilder
	QueryBuilderWithDump
}

func CreateDebugQueryBuilder

func CreateDebugQueryBuilder() BaseQueryBuilderWithDump

type QueryBuilderConstructor

type QueryBuilderConstructor func() query.BaseQueryBuilder

func WrapCreateQueryBuilder

func WrapCreateQueryBuilder(constructor QueryBuilderConstructor) QueryBuilderConstructor

type QueryBuilderWithDump

type QueryBuilderWithDump interface {
	SaveWhereForDump(field string, condition where.ComparatorType, value ...interface{})
	Dump() string
}

type QueryExecutorWithDump

type QueryExecutorWithDump interface {
	namespace.QueryExecutor
	DumpQuery(query query.Query, onlyTotal bool)
}

type QueryWithDumper

type QueryWithDumper interface {
	query.Query
	String() string
}

func NewQueryWithDumper

func NewQueryWithDumper(query query.Query, dumpString string) QueryWithDumper

Jump to

Keyboard shortcuts

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