import type { ServerQueryParam, SQLInsertGenValueType } from "../types"; type Param = { genObject?: ServerQueryParam; /** Raw (unquoted) table name */ tableName: string; dbFullName?: string; count?: boolean; /** * Restrict to a single row id. Always combined with AND, regardless of * `searchOperator`. */ targetId?: number | string; }; type Return = { string: string; values: SQLInsertGenValueType[]; /** `WHERE ...` clause alone (empty string if none) */ where: string; /** Values for the `where` clause placeholders only */ whereValues: SQLInsertGenValueType[]; }; /** * # SQL Query Generator * @description Builds parameterized SELECT SQL for MariaDB */ export default function sqlGenerator({ tableName: rawTableName, genObject, dbFullName, count, targetId, }: Param): Return; export {};