I know about ModelName::all(), but that returns a collection. I need to have all of the results returned as a query builder, but can't for the life of me find out how, other than to write something like:
ModelName::where('id', '>=' 0);
Is this the appropriate way to go about it?
EDIT for clarity:
Essentially I'm not sure I knew what I was asking. The end result was a needed a way to get a builder object back with optional user provided parameters, so I could later call ->get() or->paginate(x) on it as needed. Apparently I missed the basics of query builders. Calling Model::query() gets what I needed.