View Source EctoPSQLExtras behaviour (ecto_psql_extras v0.8.3)
The entry point for each function.
Summary
Functions
Run all_locks
query on repo
, in the given format
.
Run bloat
query on repo
, in the given format
.
Run blocking
query on repo
, in the given format
.
Run cache_hit
query on repo
, in the given format
.
Run calls
query on repo
, in the given format
.
Run connections
query on repo
, in the given format
.
Run db_settings
query on repo
, in the given format
.
Run diagnose
query on repo
, in the given format
.
Run duplicate_indexes
query on repo
, in the given format
.
Run extensions
query on repo
, in the given format
.
Run index_cache_hit
query on repo
, in the given format
.
Run index_size
query on repo
, in the given format
.
Run index_usage
query on repo
, in the given format
.
Run kill_all
query on repo
, in the given format
.
Run locks
query on repo
, in the given format
.
Run long_running_queries
query on repo
, in the given format
.
Run mandelbrot
query on repo
, in the given format
.
Run null_indexes
query on repo
, in the given format
.
Run outliers
query on repo
, in the given format
.
Returns all queries and their modules.
Run a query with name
, on repo
, in the given format
.
Run records_rank
query on repo
, in the given format
.
Run seq_scans
query on repo
, in the given format
.
Run ssl_used
query on repo
, in the given format
.
Run table_cache_hit
query on repo
, in the given format
.
Run table_indexes_size
query on repo
, in the given format
.
Run table_size
query on repo
, in the given format
.
Run total_index_size
query on repo
, in the given format
.
Run total_table_size
query on repo
, in the given format
.
Run unused_indexes
query on repo
, in the given format
.
Run vacuum_stats
query on repo
, in the given format
.
Types
Callbacks
@callback query() :: binary()
Functions
Run all_locks
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run bloat
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run blocking
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run cache_hit
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run calls
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run connections
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run db_settings
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run diagnose
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run duplicate_indexes
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run extensions
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run index_cache_hit
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run index_size
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run index_usage
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run kill_all
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run locks
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run long_running_queries
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run mandelbrot
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run null_indexes
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run outliers
query on repo
, in the given format
.
format
is either :ascii
or :raw
Returns all queries and their modules.
If a repository is given, it will be queried for extensions support and special queries will be included if available.
Run a query with name
, on repo
, in the given format
.
The repo
can be a module name or a tuple like {module, node}
.
Options
:format
- The format that results will return. Accepts:ascii
or:raw
. If:raw
a result struct will be returned. Otherwise it returns a nice table printed in ASCII - a string. This option is required.:args
- Overwrites the default arguments for the given query. You can check the defaults of each query in its modules defined in this project.:query_opts
- Overwrites the default options for the Ecto query. Defaults to [log: false]
Run records_rank
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run seq_scans
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run ssl_used
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run table_cache_hit
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run table_indexes_size
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run table_size
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run total_index_size
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run total_table_size
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run unused_indexes
query on repo
, in the given format
.
format
is either :ascii
or :raw
Run vacuum_stats
query on repo
, in the given format
.
format
is either :ascii
or :raw