"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const pg_1 = require("pg"); const pool = new pg_1.Pool({ connectionString: process.env.DATABASE_URL }); async function exportDispensaries() { const { rows } = await pool.query(` SELECT id, name, dba_name, company_name, slug, address, city, state, zip, latitude, longitude, website, menu_type, menu_url, platform_dispensary_id, created_at, updated_at FROM dispensaries WHERE menu_type IS NOT NULL ORDER BY id `); console.log(JSON.stringify(rows, null, 2)); await pool.end(); } exportDispensaries();