Skip to content

Commit 588bc7a

Browse files
committed
feat: implement optional count for postgresql provider
This work has been done to allow the result count to be enabled or disabled for the PostgreSQL provider. By disabling the count you can get improved performance on large datasets but on smaller datasets this is unlikely to have any affect.
1 parent 8f10636 commit 588bc7a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/provider/test_postgresql_provider.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ def config():
8585
},
8686
'id_field': 'osm_id',
8787
'table': 'hotosm_bdi_waterways',
88-
'geom_field': 'foo_geom'
88+
'geom_field': 'foo_geom',
89+
'count': 'true'
8990
}
9091

9192

0 commit comments

Comments
 (0)