lucky_pg_extras
Lucky PG Extras
Crystal port of Ruby PG Extras which is a Ruby port of Heroku PG Extras.
Installation
-
Add the dependency to your
shard.yml
:dependencies: lucky_pg_extras: github: matthewmcgarvey/lucky_pg_extras
-
Run
shards install
-
Require the shard in
src/shards.cr
require "lucky_pg_extras"
-
Set up the configuration in
config/lucky_pg_extras.cr
LuckyPgExtras.configure do |settings| settings.database = AppDatabase end
Some of the queries (e.g., calls
and outliers
) require pg_stat_statements extension enabled.
Usage
Running lucky -h
should now show the pg_extras
commands that are available.
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/matthewmcgarvey/lucky_pg_extras/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Matthew McGarvey - creator and maintainer
Repository
lucky_pg_extras
Owner
Statistic
- 1
- 0
- 0
- 0
- 4
- over 3 years ago
- September 30, 2020
License
MIT License
Links
Synced at
Sat, 23 Nov 2024 23:46:53 GMT
Languages