Closed feldsam closed 9 years ago
Looks ok but could you also add documentation for this over at https://github.com/fuel/docs please?
This the docs also need a big warning: this means results from this relation might be incomplete due to the limit, and this can have implications because the parent object is cached.
Before accepting this PR, we have to make sure that if you define two indentical relations, one with limit, one without, and you fetch the one with the limit first, the other one still produces the correct results (and I fear not).
Ah right, I had somehow forgotten about the caching.
Hi, when you use already implemented where condition them you also get different result set. So?
As said, if it doesn't interfere, it's not a problem. Just needs a check, to make sure there are no compatibility issues created.
I think that, if where condition doesn't interfere then limit condition doesn't interfere too.
As Morpheus said to Neo: "Don't think you are, know you are". ;-)
Signed-off-by: Kristián Feldsam feldsam@gmail.com