mod_workspace_templates_location_count.js

/**
### /workspace/templates/location_count

The location_count layer query returns the count of table records which pass the provided layer filter and viewport.

@module /workspace/templates/location_count
*/
export default `
  SELECT count(*) as location_count
  FROM \${table}
  WHERE true \${filter} \${viewport}`;