Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Using query() on Temporal Model
  • Hi,

    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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion