stephenafamo / bob

SQL query builder and ORM/Factory generator for Go with support for PostgreSQL, MySQL and SQLite
https://bob.stephenafamo.com
MIT License
760 stars 39 forks source link

Fix Count() with Offset #231

Closed daddz closed 3 months ago

daddz commented 3 months ago

The Count() query wasn't removing the OFFSET which makes it fail for original queries with an offset.

Note: I also increased the test timeout to 20m since the default 10m are not enough (any more)