Updates
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
export = createDbFromSchema;
|
||||
/**
|
||||
* Create database from Schema Function
|
||||
* ==============================================================================
|
||||
* @param {object} params - Single object params
|
||||
* @param {number|string|null} [params.userId] - User ID or null
|
||||
* @param {string} [params.targetDatabase] - User Database full name
|
||||
* @param {import("../types").DSQL_DatabaseSchemaType[]} [params.dbSchemaData]
|
||||
*/
|
||||
declare function createDbFromSchema({ userId, targetDatabase, dbSchemaData }: {
|
||||
userId?: number | string | null;
|
||||
targetDatabase?: string;
|
||||
dbSchemaData?: import("../types").DSQL_DatabaseSchemaType[];
|
||||
}): Promise<void>;
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
declare function _exports({ dbFullName, tableName, tableInfoArray, dbSchema, clone, tableSchema, recordedDbEntry, }: {
|
||||
dbFullName: string;
|
||||
tableName: string;
|
||||
tableInfoArray: any[];
|
||||
dbSchema?: import("../../types").DSQL_DatabaseSchemaType[];
|
||||
tableSchema?: import("../../types").DSQL_TableSchemaType;
|
||||
recordedDbEntry?: any;
|
||||
clone?: boolean;
|
||||
}): Promise<any>;
|
||||
export = _exports;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
declare function _exports({ query, values, database }: {
|
||||
query: string;
|
||||
values?: string[] | object;
|
||||
database?: string;
|
||||
}): Promise<any[] | object | null>;
|
||||
export = _exports;
|
||||
@@ -0,0 +1,8 @@
|
||||
declare function _exports({ columnData, primaryKeySet, }: {
|
||||
columnData: import("../../types").DSQL_FieldSchemaType;
|
||||
primaryKeySet?: boolean;
|
||||
}): {
|
||||
fieldEntryText: string;
|
||||
newPrimaryKeySet: boolean;
|
||||
};
|
||||
export = _exports;
|
||||
@@ -0,0 +1,2 @@
|
||||
declare function _exports(queryString: string): Promise<any>;
|
||||
export = _exports;
|
||||
@@ -0,0 +1,4 @@
|
||||
declare function _exports({ tableInfoArray }: {
|
||||
tableInfoArray: import("../../types").DSQL_FieldSchemaType[];
|
||||
}): import("../../types").DSQL_FieldSchemaType[];
|
||||
export = _exports;
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
declare function _exports({ dbFullName, tableName, tableInfoArray, userId, dbSchema, tableIndexes, tableSchema, clone, childDb, tableIndex, tableNameFull, recordedDbEntry, }: {
|
||||
dbFullName: string;
|
||||
tableName: string;
|
||||
tableSchema: import("../../types").DSQL_TableSchemaType;
|
||||
tableNameFull?: string;
|
||||
tableInfoArray: import("../../types").DSQL_FieldSchemaType[];
|
||||
userId?: number | string | null;
|
||||
dbSchema: import("../../types").DSQL_DatabaseSchemaType[];
|
||||
tableIndexes?: import("../../types").DSQL_IndexSchemaType[];
|
||||
clone?: boolean;
|
||||
tableIndex?: number;
|
||||
childDb?: boolean;
|
||||
recordedDbEntry?: any;
|
||||
}): Promise<any>;
|
||||
export = _exports;
|
||||
@@ -0,0 +1,7 @@
|
||||
declare function _exports({ queryString, queryValuesArray, database, tableSchema, }: {
|
||||
queryString: string;
|
||||
queryValuesArray?: string[];
|
||||
database?: string;
|
||||
tableSchema?: import("../../types").DSQL_TableSchemaType;
|
||||
}): Promise<any>;
|
||||
export = _exports;
|
||||
Reference in New Issue
Block a user