We're building and saving a bunch of queries using the query builder that we need to run periodically on a sizeable amount of data.
I know that I can save the JSON structure and the SQL and apply any optimizations on those directly, but I'm curious if the query builder's data model is backed by an open source library (like the JSON Form is) that I could look into to see what's already built-in.