StructsΒ§
- Placeholder
Span π - Location of a prepared-statement placeholder in the original SQL text.
FunctionsΒ§
- collect_
placeholder_ πspans - convert_
bytes_ πto_ date - convert_
bytes_ πto_ timestamp - convert_
expr_ to_ scalar_ value - Convert an MySQL expression to a scalar value. It automatically handles the conversion of strings to numeric values.
- convert_
value - Convert [
ParamValue] intoValueaccording to param type. It will try itβs best to do type conversions if possible - format_
placeholder - Returns the placeholder string β$iβ.
- placeholder_
index π - placeholder_
spans π - Collect spans of β$iβ placeholders in a statement.
- transform_
placeholders_ with_ count - Transform all the β?β placeholders into β$iβ and return the number of transformed placeholders.
- visit_
placeholders π