Is it possible to do this transformation using `db.query`? - Drizzle Team