S
S
silentvick2015-05-05 22:54:36
PHP
silentvick, 2015-05-05 22:54:36

How to implement temporal model with Doctrine ORM?

How to implement the functionality of temporal tables/entities using Doctrine 2? For example, how it is done in FuelPHP . Maybe there is a similar extension for Doctrine? If not, what would be the best way to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-05-06
Protko @Fesor

The functionality of views and temporary tables is missing from some databases. Therefore, the doctrine out of the box does not know how to work with them.
docs.doctrine-project.org/en/latest/reference/nati...
Something like this... It is desirable to encapsulate this matter inside the repository.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question