import { pool } from './src/db/migrate.js'; async function countProducts() { const result = await pool.query( `SELECT COUNT(*) as total FROM products WHERE dispensary_id = 112` ); console.log(`Total products for Deeply Rooted: ${result.rows[0].total}`); await pool.end(); } countProducts();