add postgres where clause for table data query.

add ui for where clause
This commit is contained in:
2024-07-14 12:50:17 +02:00
parent fd076517dc
commit bb16b2db43
10 changed files with 190 additions and 21 deletions

View File

@@ -24,7 +24,11 @@ export interface Driver {
): Promise<any[]>;
getTableData(
credentials: Credentials,
args: WithSortPagination<{ tableName: string; dbName: string }>,
args: WithSortPagination<{
tableName: string;
dbName: string;
whereQuery?: string;
}>,
): Promise<{
count: number;
data: Record<string, any>[];