Closed NicoHood closed 1 year ago
I'm not sure it makes sense to have an ORM limited to results from a view. Conceivably that could result in a situation where a record can't be retrieved once it's created, if it doesn't match the conditions on the view, and the library has no real way of knowing whether that's going to happen. (Not even if we're very clever; we can't inspect a view's filters through the API.)
You can still do something like Model.all(view="My View")
. Does that address your use case?
Yeah, you are right.
To specify the view to work on. Should be quite easy to add, right?