15 lines
544 B
TypeScript
15 lines
544 B
TypeScript
import { DSQL_TableSchemaType } from "../../types";
|
|
type Param = {
|
|
unparsedResults: any[];
|
|
tableSchema?: DSQL_TableSchemaType;
|
|
};
|
|
/**
|
|
* Parse Database results
|
|
* ==============================================================================
|
|
* @description this function takes a database results array gotten from a DB handler
|
|
* function, decrypts encrypted fields, and returns an updated array with no encrypted
|
|
* fields
|
|
*/
|
|
export default function parseDbResults({ unparsedResults, tableSchema, }: Param): any[] | null;
|
|
export {};
|