Files
klz-cables.com/.pnpm-store/v10/files/43/72236610ecf4f66e294524d790e9d3db585fac6661469a57563ccd0460b09e6b34e9509c0ac9d121923900742b33b06891a62e38564936fe0e16f26cba4a5b
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

25 lines
1015 B
Plaintext

import type { QueryPromise, SQL } from 'drizzle-orm';
import type { SQLiteSelect } from 'drizzle-orm/sqlite-core';
import type { DrizzleAdapter, DrizzleTransaction, GenericColumn } from '../types.js';
import type { BuildQueryJoinAliases } from './buildQuery.js';
type Args = {
adapter: DrizzleAdapter;
db: DrizzleAdapter['drizzle'] | DrizzleTransaction;
forceRun?: boolean;
hasAggregates?: boolean;
joins: BuildQueryJoinAliases;
query?: (args: {
query: SQLiteSelect;
}) => SQLiteSelect;
selectFields: Record<string, GenericColumn>;
tableName: string;
where: SQL;
};
/**
* Selects distinct records from a table only if there are joins that need to be used, otherwise return null
*/
export declare const selectDistinct: ({ adapter, db, forceRun, hasAggregates, joins, query: queryModifier, selectFields, tableName, where, }: Args) => QueryPromise<{
id: number | string;
}[] & Record<string, GenericColumn>>;
export {};
//# sourceMappingURL=selectDistinct.d.ts.map