datasquirel/package-shared/functions/dsql/sql/sql-delete-generator.d.ts
Benjamin Toby 8ca2779741 Updates
2024-12-06 11:31:24 +01:00

25 lines
562 B
TypeScript

export = sqlDeleteGenerator;
/**
* @typedef {object} SQLDeleteGenReturn
* @property {string} query
* @property {string[]} values
*/
/**
* @param {object} param0
* @param {any} param0.data
* @param {string} param0.tableName
*
* @return {SQLDeleteGenReturn | undefined}
*/
declare function sqlDeleteGenerator({ tableName, data }: {
data: any;
tableName: string;
}): SQLDeleteGenReturn | undefined;
declare namespace sqlDeleteGenerator {
export { SQLDeleteGenReturn };
}
type SQLDeleteGenReturn = {
query: string;
values: string[];
};