20 lines
660 B
TypeScript
20 lines
660 B
TypeScript
type Param = {
|
|
dbContext?: "Master" | "Dsql User";
|
|
paradigm?: "Read Only" | "Full Access";
|
|
dbFullName?: string;
|
|
tableName: string;
|
|
encryptionKey?: string;
|
|
encryptionSalt?: string;
|
|
data: any;
|
|
tableSchema?: import("../../../types").DSQL_TableSchemaType;
|
|
identifierColumnName: string;
|
|
identifierValue: string | number;
|
|
useLocal?: boolean;
|
|
};
|
|
/**
|
|
* # Update DB Function
|
|
* @description
|
|
*/
|
|
export default function updateDbEntry({ dbContext, paradigm, dbFullName, tableName, data, tableSchema, identifierColumnName, identifierValue, encryptionKey, encryptionSalt, useLocal, }: Param): Promise<object | null>;
|
|
export {};
|