4 ms·
> 4. database/sql reuse of cached statements !! that wasn't a thing until now?
by Diederich 9y ago
> 4. database/sql reuse of cached statements
!! that wasn't a thing until now?
- bradfitz 9y agoIt was. That summary is a bit of a simplification. See https://golang.org/doc/go1.9#database/sql https://golang.org/doc/go1.9#database/sql Go 1.9 adds reuse of statement handles created off an ephemeral transaction too. But all the other statement handle cases have cached from day 1.
- tylersmith 9y agoYou could do it manually but it want automatic.