FunctionsΒ§
- 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
] intoValue
according to param type. It will try itβs best to do type conversions if possible - covert_
bytes_ πto_ timestamp - fix_
placeholder_ types - Give placeholder that cast to certain type
data_type
the same data type as is cast to - format_
placeholder - Returns the placeholder string β$iβ.
- replace_
placeholders - Replace all the β?β placeholder into β$iβ in SQL, returns the new SQL and the last placeholder index.
- transform_
placeholders - Transform all the β?β placeholder into β$iβ. Only works for Insert,Query and Delete statements.
- visit_
placeholders π