getUnsafeQuery method
Implementation
Future<String> getUnsafeQuery() async {
final varPattern = RegExp(r'\?');
final tempBindings = List.from(bindings);
return query.replaceAllMapped(varPattern, (match) {
final value = tempBindings.removeAt(0);
if (value is String) {
return "'$value'";
}
return value.toString();
});
}