koopjs / koop-pgcache

PostGIS cache for Koop.
Other
4 stars 4 forks source link

allow field indexing to be toggled #50

Closed dmfenton closed 8 years ago

dmfenton commented 8 years ago

This PR allows the creation of b-tree indexes on every property to be toggled on and off. Two prevent this from being a breaking change, it uses a property called _indexFields on the geojson.info object that is passed in at table creation time.

In 2.0 we can allow options to be passed in to insert that allow this to be controlled more explicitly.

ungoldman commented 8 years ago

\o/