Documentation ¶
Index ¶
- func SubstringDynamicOffsetBounded[T1, T2 types.BuiltinNumber](src []string, res []string, startColumn []T1, lengthColumn []T2, cs []bool) []string
- func SubstringDynamicOffsetUnbounded[T types.BuiltinNumber](src []string, res []string, startColumn []T, cs []bool) []string
- func SubstringFromLeftConstOffsetBounded(src []string, res []string, start int64, length int64) []string
- func SubstringFromLeftConstOffsetUnbounded(src []string, res []string, start int64) []string
- func SubstringFromRightConstOffsetBounded(src []string, res []string, start, length int64) []string
- func SubstringFromRightConstOffsetUnbounded(src []string, res []string, start int64) []string
- func SubstringFromZeroConstOffsetBounded(src []string, res []string) []string
- func SubstringFromZeroConstOffsetUnbounded(src []string, res []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubstringDynamicOffsetBounded ¶
func SubstringDynamicOffsetBounded[T1, T2 types.BuiltinNumber](src []string, res []string, startColumn []T1, lengthColumn []T2, cs []bool) []string
bound the length parameter, dynamically cut the string
func SubstringDynamicOffsetUnbounded ¶
func SubstringDynamicOffsetUnbounded[T types.BuiltinNumber](src []string, res []string, startColumn []T, cs []bool) []string
Without binding the length parameter, dynamically cut the string
func SubstringFromLeftConstOffsetBounded ¶
func SubstringFromLeftConstOffsetBounded(src []string, res []string, start int64, length int64) []string
bound length parameter. Cut the string from left
func SubstringFromLeftConstOffsetUnbounded ¶
The length parameter is not bound. Cut the string from the left
func SubstringFromRightConstOffsetBounded ¶
bound length parameter. Cut the string from right
func SubstringFromRightConstOffsetUnbounded ¶
The length parameter is not bound. Cut the string from the right
func SubstringFromZeroConstOffsetBounded ¶
Per MySQL substring doc, if pos is 0, return empty strings.
func SubstringFromZeroConstOffsetUnbounded ¶
Per MySQL substring doc, if pos is 0, return empty strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.