@ -5,7 +5,7 @@ import { REMOTE_TABLE_FRAGMENT } from '@/databases/graphql/fragments/remoteTable
|
||||
export const GET_MANY_REMOTE_TABLES = gql`
|
||||
${REMOTE_TABLE_FRAGMENT}
|
||||
query GetManyRemoteTables($input: FindManyRemoteTablesInput!) {
|
||||
findAvailableRemoteTablesByServerId(input: $input) {
|
||||
findDistantTablesWithStatus(input: $input) {
|
||||
...RemoteTableFields
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ export const useGetDatabaseConnectionTables = ({
|
||||
});
|
||||
|
||||
return {
|
||||
tables: data?.findAvailableRemoteTablesByServerId || [],
|
||||
tables: data?.findDistantTablesWithStatus || [],
|
||||
error,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user