20 lines
643 B
TypeScript
20 lines
643 B
TypeScript
import { DbContextsArray } from "../../backend/db/runQuery";
|
|
import { ServerQueryParam } from "../../../types";
|
|
type Param = {
|
|
query: string | {
|
|
query: ServerQueryParam;
|
|
table: string;
|
|
};
|
|
queryValues?: (string | number)[];
|
|
dbFullName: string;
|
|
tableName?: string;
|
|
dbSchema?: import("../../../types").DSQL_DatabaseSchemaType;
|
|
debug?: boolean;
|
|
dbContext?: (typeof DbContextsArray)[number];
|
|
};
|
|
/**
|
|
* # Get Function FOr API
|
|
*/
|
|
export default function apiGet({ query, dbFullName, queryValues, tableName, dbSchema, debug, dbContext, }: Param): Promise<import("../../../types").GetReturn>;
|
|
export {};
|