Skip to content

v1.7.0 Query builder now uses a scanner

Pre-release
Pre-release
Compare
Choose a tag to compare
@nullism nullism released this 18 Oct 00:20
· 4 commits to main since this release

This release comes with some substantial performance improvements to PGSQL dialect queries with lots of parameters.

Instead of re-scanning the string (strings.Replace) for each parameter, it now does a sequential single scan, providing a 900% speed improvement for lots (order of 1K) of parameters.

Thanks to @benjic for the idea and implementation.