The FormatParam function lets users define custom placeholder formatting for their types. For example, formatting the default placeholder from '?' to 'ST_GeomFromWKB(?)' for MySQL dialect.
(placeholder string, info *StmtInfo)
| 3155 | // For example, formatting the default placeholder |
| 3156 | // from '?' to 'ST_GeomFromWKB(?)' for MySQL dialect. |
| 3157 | FormatParam(placeholder string, info *StmtInfo) string |
| 3158 | } |
| 3159 | ) |
| 3160 |