Documentation ¶
Index ¶
- Constants
- func Filter(filter func(opt Option) bool, opts ...Option)
- func FullSqlExist(opts ...Option) bool
- func MaxColumnExist(opts ...Option) int
- func NameKeyExist(opts ...Option) (string, bool)
- func SubQueryExist(opts ...Option) (string, bool)
- type FullSql
- type MaxColumn
- type NameKey
- type Option
- type Query
- type QueryFunc
- type SqlColumnConvertFunc
- type SubQuerySql
Constants ¶
View Source
const ( TypeMaxColumn = iota TypeFullSql TypeSqlColumnConvert TypeSubQuery TypeQuery TypeNameKey //子查询 )
Variables ¶
This section is empty.
Functions ¶
func FullSqlExist ¶
func MaxColumnExist ¶
func NameKeyExist ¶
func SubQueryExist ¶
Types ¶
type Option ¶
func SqlColumnConvert ¶
func WithFullSQL ¶
func WithFullSQL() Option
func WithMaxColumn ¶
func WithNameKey ¶
func WithSubQuerySQL ¶
type SqlColumnConvertFunc ¶
func SqlColumnConvertExist ¶
func SqlColumnConvertExist(opts ...Option) SqlColumnConvertFunc
func (SqlColumnConvertFunc) String ¶
func (t SqlColumnConvertFunc) String() string
func (SqlColumnConvertFunc) Type ¶
func (t SqlColumnConvertFunc) Type() int
func (SqlColumnConvertFunc) Value ¶
func (t SqlColumnConvertFunc) Value() interface{}
type SubQuerySql ¶
type SubQuerySql struct {
As string
}
func (SubQuerySql) String ¶
func (t SubQuerySql) String() string
func (SubQuerySql) Type ¶
func (t SubQuerySql) Type() int
func (SubQuerySql) Value ¶
func (t SubQuerySql) Value() interface{}
Click to show internal directories.
Click to hide internal directories.