mirror of
https://github.com/ershisan99/db-studio.git
synced 2025-12-17 05:09:25 +00:00
add postgres where clause for table data query.
add ui for where clause
This commit is contained in:
@@ -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>[];
|
||||
|
||||
Reference in New Issue
Block a user