flask-restless icon indicating copy to clipboard operation
flask-restless copied to clipboard

Avoiding full table scan when looking for inclusions.

Open rudaporto opened this issue 6 years ago • 0 comments

This reduced the GET collection time from 3 seconds to 140ms: default pagination and a table with 80747 records. (database MySQL)

  • Simple patch to guess the number of records and avoiding full table scan.

Can someone review this and let me know if I need something else to the this approved.

rudaporto avatar Jan 26 '18 14:01 rudaporto