Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Using query() on Temporal Model
I would like to use nested wheres, so I use query() instead of find(), but I realised that query returns all revisions not only the last one. I am thinking about the solution:
Extending the temporal query with a get_temporal() method, which adds the proper where condition to the query.
Is it a good solution or am I missing something?
query() should do the same as find, it should be transparent.
If it isn't, then I would say that's a bug. Please create a ticket for it, which a use-case if possible.
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion