diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-04-28 10:42:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-04-28 15:38:23 +0100 |
commit | 63a9b3c81a58ced0c63fa7c02a45535cde91acae (patch) | |
tree | 8f85653640d478f6c1cfab5ce3757729cee19f1e /perllib/FixMyStreet/DB/Schema.pm | |
parent | 4edf5a8a9b46311b3889a5382dfd05f7caf1d792 (diff) |
Add dbic-pg-server-cursors library, set as default
Found at https://github.com/mzealey/dbic-pg-server-cursors, not on CPAN.
Diffstat (limited to 'perllib/FixMyStreet/DB/Schema.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Schema.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/DB/Schema.pm b/perllib/FixMyStreet/DB/Schema.pm index be39069d8..e39a8422e 100644 --- a/perllib/FixMyStreet/DB/Schema.pm +++ b/perllib/FixMyStreet/DB/Schema.pm @@ -21,6 +21,7 @@ __PACKAGE__->load_namespaces( use Moo; use FixMyStreet; +__PACKAGE__->storage_type('::DBI::PgServerCursor'); __PACKAGE__->connection(FixMyStreet->dbic_connect_info); has lang => ( is => 'rw' ); |