NYCPlanning / deprecated-labs-zap-api

Deprecated version of the ZAP API, see https://github.com/NYCPlanning/labs-zap-api
Other
5 stars 3 forks source link

571: sql queries to get projects for each lup tab #192

Closed hannahkates closed 5 years ago

hannahkates commented 5 years ago

This PR creates four new SQL query files. Each one queries for the projects (and respective project attributes) needed for each tab of the LUP dashboard: upcoming, to review, reviewed, and archive.

The queries expect the LUP user's contactid to be fed in as '${id:value}'.

To test the performance of these queries, it's helpful to use the contactid of a BP who has many projects in the system. BKBP (2a231d14-693e-e811-8133-1458d04d06c0) currently has the most.

Notes: