Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapQueryBuilder ¶
func WrapQueryExecutor ¶
func WrapQueryExecutor(executor executor.QueryExecutor, dump func(string)) executor.QueryExecutor
Types ¶
type QueryBuilderConstructor ¶
type QueryBuilderConstructor func(options ...query.BuilderOption) query.Builder
func WrapCreateQueryBuilder ¶
func WrapCreateQueryBuilder(constructor QueryBuilderConstructor) QueryBuilderConstructor
type QueryBuilderWithDumper ¶ added in v0.0.3
type QueryBuilderWithDumper interface {
query.Builder
SaveWhereForDump(field string, condition where.ComparatorType, value ...interface{})
Dump() string
}
func CreateDebugQueryBuilder ¶
func CreateDebugQueryBuilder(options ...query.BuilderOption) QueryBuilderWithDumper
type QueryExecutorWithDump ¶
type QueryExecutorWithDump interface {
executor.QueryExecutor
DumpQuery(query query.Query, onlyTotal bool)
}
type QueryWithDumper ¶
func NewQueryWithDumper ¶
func NewQueryWithDumper(query query.Query, dumpString string) QueryWithDumper
Click to show internal directories.
Click to hide internal directories.