Files
klz-cables.com/.pnpm-store/v10/files/69/0e499fa23d06622f2a73f38e53817e7c469d8c392d07de705583f95c030212a97992188078c3d6bffb81dbbd56bdb9bee7e5479c474f97826ac9b648e81622
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

13 lines
378 B
Plaintext

import { sql } from 'drizzle-orm';
export const execute = function execute({ db, drizzle, raw, sql: statement }) {
const executeFrom = db ?? drizzle;
if (raw) {
const result = executeFrom.run(sql.raw(raw));
return result;
} else {
const result = executeFrom.run(statement);
return result;
}
};
//# sourceMappingURL=execute.js.map