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 introduces > confusion and difficulty for the users of the api. >
Not easy. The driver should parse SQL and replace placeholders in go. SELECT * FROM FOO WHERE NAME=':foo' Driver can't replace :foo because this is value not placeholder. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.