CountEstimate¶ ↑
Based on the article wiki.postgresql.org/wiki/Count_estimate.
It currently supports only Postgres.
Installation¶ ↑
gem install count_estimate
Add the postgres function that makes the estimate calculations¶ ↑
bundle exec rake count_estimate:install
Uninstallation¶ ↑
Remove the postgres function that makes the estimate calculations¶ ↑
bundle exec rake count_estimate:uninstall
Example Usage¶ ↑
User.all.count_estimate
License¶ ↑
Released under the MIT license - opensource.org/licenses/MIT