Bilal Gultekin

Results 10 comments of Bilal Gultekin

It looks like also `client.stop()` helps for aborting pending requests. ```JS const client = new ApolloClient({ link: new HttpLink({ uri: 'http://graphql.url' }), queryDeduplication: false }); // some queries run client.stop();...

@rlech Haven't tested but it seems like you can check `client.queryManager.queries` map after sending a query. You may find a better answer in the `QueryManager` class (https://github.com/apollographql/apollo-client/blob/65eef3730e8b3d2b66ca0fe6d88d0b579a4d31ea/packages/apollo-client/src/core/QueryManager.ts).

Using count($copy_query->get()); is not the optimized way :). We shouldn't use this to just get the count of all lines which query returns because it will use more memory and...

Because you are using group by statement, you should use different sql structure to calculate count of lines like this: ``` SELECT COUNT(count) FROM (SELECT COUNT(source) AS count FROM call_details...

Yes it is :) . By the way, sorry for delay. I couldn't update the code because of exams and works. I hope, I will update soon :) .

Thanks for your contribution :+1: I am editing the code.

Can you share sql query which is tried to run?

@swilla I wonder the query which datatable package trying to run (and also fail). @awsp can you share the fluent/eloquent code which causes error at first (before update)?

By the way, I have just merged @tortuetorche 's pull-request. Can you try again with updated code? Lastly, sorry I didn't have an opportunity to test so that I couldn't...

This can be useful. I will review this suggestion for next update. Thanks for your interest.