Documentation ¶
Index ¶
- func ExtractCondBlock(SQL string) (string, []string)
- func ExtractCriteriaPlaceholders(node node.Node, list *[]*Criterion)
- func ExtractHint(text string) string
- func ExtractParameterHints(text string) option.ParameterHints
- func ExtractSelector(text string) string
- func IsDataViewKind(hint string) bool
- func IsSQLExecMode(SQL string) bool
- func Parse(SQL string, route *option.Route, hints option.ParameterHints) (*option.ViewMeta, error)
- func ParseURIParams(URI string) []string
- func RemoveParameterHints(text string, hints option.ParameterHints) string
- func SplitHint(hint string) (marshal string, SQL string)
- func UnmarshalHint(hint string, dest interface{}) (string, error)
- type Criterion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractCondBlock ¶
func ExtractCriteriaPlaceholders ¶ added in v0.2.11
func ExtractHint ¶ added in v0.2.11
func ExtractParameterHints ¶ added in v0.2.11
func ExtractParameterHints(text string) option.ParameterHints
func ExtractSelector ¶ added in v0.2.11
func IsDataViewKind ¶ added in v0.2.11
func IsSQLExecMode ¶ added in v0.2.11
func ParseURIParams ¶ added in v0.2.6
ParseURIParams extract URI params from URI
func RemoveParameterHints ¶ added in v0.2.11
func RemoveParameterHints(text string, hints option.ParameterHints) string
func UnmarshalHint ¶ added in v0.2.11
Types ¶
Click to show internal directories.
Click to hide internal directories.