Files
klz-cables.com/.pnpm-store/v10/files/77/ab056bd6bc00a7f401965197fb266c185e997908fa37af99376e9e2203ed4ac767bec26f0951253fbc52e151fbbb4010581aa5025c4b1b0a1d7232b79fbf1c
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
1.1 KiB
Plaintext

import type { Pool, Query, QueryOptions } from 'mysql';
export declare function getConfig(config: any): {
host: any;
port: any;
database: any;
user: any;
};
export declare function getJDBCString(host: string | undefined, port: number | undefined, database: string | undefined): string;
/**
* @returns the database query being executed.
*/
export declare function getDbQueryText(query: string | Query | QueryOptions): string;
export declare function getDbValues(query: string | Query | QueryOptions, values?: any[]): string;
/**
* The span name SHOULD be set to a low cardinality value
* representing the statement executed on the database.
*
* TODO: revisit span name based on https://github.com/open-telemetry/semantic-conventions/blob/v1.33.0/docs/database/database-spans.md#name
*
* @returns SQL statement without variable arguments or SQL verb
*/
export declare function getSpanName(query: string | Query | QueryOptions): string;
export declare function arrayStringifyHelper(arr: Array<unknown> | undefined): string;
export declare function getPoolNameOld(pool: Pool): string;
//# sourceMappingURL=utils.d.ts.map