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 ColumnConvertFunc
- type FullSql
- type MaxColumn
- type NameKey
- type Option
- type Query
- type QueryFunc
- type SubQuerySql
Constants ¶
View Source
const ( TypeMaxColumn = iota TypeFullSql TypeSqlColumnConvert TypeSubQuery TypeQuery TypeNameKey //子查询 TypeSqlDns = 1000 TypeSqlTls = 1001 TypeRedisTls = 1002 TypeSqlServerPubKey = 1003 )
Variables ¶
This section is empty.
Functions ¶
func FullSqlExist ¶
func MaxColumnExist ¶
func NameKeyExist ¶
func SubQueryExist ¶
Types ¶
type ColumnConvertFunc ¶ added in v1.9.15
func SqlColumnConvertExist ¶
func SqlColumnConvertExist(opts ...Option) ColumnConvertFunc
func (ColumnConvertFunc) String ¶ added in v1.9.15
func (t ColumnConvertFunc) String() string
func (ColumnConvertFunc) Type ¶ added in v1.9.15
func (t ColumnConvertFunc) Type() int
func (ColumnConvertFunc) Value ¶ added in v1.9.15
func (t ColumnConvertFunc) Value() interface{}
type Option ¶
func SqlColumnConvert ¶
func WithFullSQL ¶
func WithFullSQL() Option
func WithMaxColumn ¶
func WithNameKey ¶
func WithSubQuerySQL ¶
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.