20 lines
666 B
TypeScript
20 lines
666 B
TypeScript
import { DbContextsArray } from "./runQuery";
|
|
type Param = {
|
|
dbContext?: (typeof DbContextsArray)[number];
|
|
dbFullName?: string;
|
|
tableName: string;
|
|
encryptionKey?: string;
|
|
encryptionSalt?: string;
|
|
data: any;
|
|
tableSchema?: import("../../../types").DSQL_TableSchemaType;
|
|
identifierColumnName: string;
|
|
identifierValue: string | number;
|
|
forceLocal?: boolean;
|
|
};
|
|
/**
|
|
* # Update DB Function
|
|
* @description
|
|
*/
|
|
export default function updateDbEntry({ dbContext, dbFullName, tableName, data, tableSchema, identifierColumnName, identifierValue, encryptionKey, encryptionSalt, forceLocal, }: Param): Promise<object | null>;
|
|
export {};
|