20 lines
687 B
TypeScript
20 lines
687 B
TypeScript
import { DbContextsArray } from "./runQuery";
|
|
type Param = {
|
|
dbContext?: (typeof DbContextsArray)[number];
|
|
paradigm?: "Read Only" | "Full Access";
|
|
dbFullName?: string;
|
|
tableName: string;
|
|
data: any;
|
|
tableSchema?: import("../../../types").DSQL_TableSchemaType;
|
|
duplicateColumnName?: string;
|
|
duplicateColumnValue?: string;
|
|
update?: boolean;
|
|
encryptionKey?: string;
|
|
encryptionSalt?: string;
|
|
};
|
|
/**
|
|
* Add a db Entry Function
|
|
*/
|
|
export default function addDbEntry({ dbContext, paradigm, dbFullName, tableName, data, tableSchema, duplicateColumnName, duplicateColumnValue, update, encryptionKey, encryptionSalt, }: Param): Promise<any>;
|
|
export {};
|