0.0
No release in over 3 years
Low commit activity in last 3 years
Adds a method count_estimate to ActiveRecord::Relation based on https://wiki.postgresql.org/wiki/Count_estimate
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
 Project Readme

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