datasquirel/dist/package-shared/shell/createDbFromSchema/index.d.ts
Benjamin Toby 7e8bb37c09 Updates
2025-07-05 14:59:30 +01:00

15 lines
499 B
TypeScript

import { DSQL_DatabaseSchemaType } from "../../types";
type Param = {
userId?: number | string | null;
targetDatabase?: string;
dbSchemaData?: DSQL_DatabaseSchemaType[];
targetTable?: string;
dbId?: string | number;
};
/**
* # Create database from Schema Function
* @requires DSQL_DB_CONN - Gobal Variable for Datasquirel Database
*/
export default function createDbFromSchema({ userId, targetDatabase, dbSchemaData, targetTable, dbId, }: Param): Promise<boolean>;
export {};