Here it is. It's already marked with a TODO comment, but this definitely deserves an issue.
The obvious way is to build a Command[String] using interpolation and work with that. However, that would require we prepare the statement before execution, which, I assume, is slower that what we have now. The alternative is manually escaping the string.
UPD: Interpolation doesn't seem possible, unless we move macros to a separate compilation unit. It's possible to do that without affecting resulting artifacts, but for this issue it's enough to just manually write out a Command with a placeholder.
Here it is. It's already marked with a TODO comment, but this definitely deserves an issue.
The obvious way is to build a
Command[String]using interpolation and work with that. However, that would require we prepare the statement before execution, which, I assume, is slower that what we have now. The alternative is manually escaping the string.UPD: Interpolation doesn't seem possible, unless we move macros to a separate compilation unit. It's possible to do that without affecting resulting artifacts, but for this issue it's enough to just manually write out a
Commandwith a placeholder.