Updates
This commit is contained in:
+4
-6
@@ -2,9 +2,7 @@ export = sqlGenerator;
|
||||
declare function sqlGenerator(Param0: {
|
||||
genObject?: import("../../../types").ServerQueryParam;
|
||||
tableName: string;
|
||||
}):
|
||||
| {
|
||||
string: string;
|
||||
values: string[];
|
||||
}
|
||||
| undefined;
|
||||
}): {
|
||||
string: string;
|
||||
values: string[];
|
||||
} | undefined;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export = sqlInsertGenerator;
|
||||
/**
|
||||
* @typedef {object} SQLINsertGenReturn
|
||||
* @typedef {object} SQLInsertGenReturn
|
||||
* @property {string} query
|
||||
* @property {string[]} values
|
||||
*/
|
||||
@@ -9,16 +9,16 @@ export = sqlInsertGenerator;
|
||||
* @param {any[]} param0.data
|
||||
* @param {string} param0.tableName
|
||||
*
|
||||
* @return {SQLINsertGenReturn | undefined}
|
||||
* @return {SQLInsertGenReturn | undefined}
|
||||
*/
|
||||
declare function sqlInsertGenerator({ tableName, data }: {
|
||||
data: any[];
|
||||
tableName: string;
|
||||
}): SQLINsertGenReturn | undefined;
|
||||
}): SQLInsertGenReturn | undefined;
|
||||
declare namespace sqlInsertGenerator {
|
||||
export { SQLINsertGenReturn };
|
||||
export { SQLInsertGenReturn };
|
||||
}
|
||||
type SQLINsertGenReturn = {
|
||||
type SQLInsertGenReturn = {
|
||||
query: string;
|
||||
values: string[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user