I think it's the job of database/sql to extract any placeholders from the
sql string and present them in a standardized way to each driver. It would
be pointless if they had to reinvent the wheel every time. As for actually
parsing SQL, it's not overly difficult. Obviously, search and replace is
On Wednesday, November 9, 2016 at 6:00:45 PM UTC+9, Viktor Kojouharov wrote:
>
> Why doesn't the change standardize the placeholder format? The driver can
> easily convert from a standard "[SOME-RUNE]PLACEHOLDER" to whatever the
> actual database supports. Having a non-standard format just intro
I'd just like to say, as someone who is champing at the bit to access MySQL
Stored Procedures from Go, that all these suggested changes look great and
really well thought out from the developers side of things! Cracking job!
On Tuesday, November 8, 2016 at 5:17:48 PM UTC, mattn wrote:
>
> Hi l
Why doesn't the change standardize the placeholder format? The driver can
easily convert from a standard "[SOME-RUNE]PLACEHOLDER" to whatever the
actual database supports. Having a non-standard format just introduces
confusion and difficulty for the users of the api.
On Tuesday, November 8, 201