Giter VIP home page Giter VIP logo

Comments (2)

stefanprodan avatar stefanprodan commented on August 16, 2024

We are using the BsGrid for data-sets with millions of rows, the BsBaseGridRepository doesn't require for all the records to be loaded in memory. We use take/skip that does a count on all records and no offset that doesn't need to run count and is optimized for large data-sets. In both cases we never load all records.

from bforms.

ssteiner avatar ssteiner commented on August 16, 2024

Good to know that it works..

I guess my confusion stems from the fact that all those queries, the take/skip and the mapping all base on this.Query.. which is an IQueryable. If I had direct access to the database, I guess that would work. I've "inherited" a project though where the data is on a REST backend. And that way, there's no IQueryable to make queries on. While the backend supports paging itself and not only returns records, but also the total number of records for any query, I then wonder how to map that. The communication to the backend is also async (you know how invasive that is) which further complicates matters.

So, what would you recommend in that case? Build an IQueryable abstraction for the remote system? And if so.. do I need the whole shebang or can I get away with implementing only parts of it?

from bforms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.