README.md in rails-pg-extras-4.9.0 vs README.md in rails-pg-extras-4.10.0
- old
+ new
@@ -667,9 +667,27 @@
```
This command lists all the currently installed and available PostgreSQL extensions.
+### `connections`
+
+```ruby
+
+RailsPgExtras.connections
+
++-----------------------------------------------------+
+| Returns the list of all active database connections |
++-----------------+----------------+------------------+
+| username | client_address | application_name |
++-----------------+----------------+------------------+
+| postgres | 172.19.0.1/32 | psql |
+| postgres | 172.19.0.1/32 | irb |
++-----------------+----------------+------------------+
+```
+
+This command returns the list of all active database connections.
+
### mandelbrot
```ruby
RailsPgExtras.mandelbrot