extAsSQLStr function
dynamic
extAsSQLStr(
- dynamic value
AsSQLStr(v): SQL-safe string (inside single quotes, ' becomes '')
Implementation
dynamic extAsSQLStr(dynamic value) =>
"'${varToStr(value).replaceAll("'", "''")}'";