-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow last hid in temporal table and public table view #19
Comments
Hi! To access the latest Caching it in the What do you think? |
The request you mention is fine on it's own but we're actually fetching the hid inside a much more complex one that has many joins and sub-queries which is why we'd like to cache it in the temporal table (and the view). I totally agree it should be opt-in. Do you have a way to easily add this so that the triggers are built depending on an option ? |
Yes! Chronomodel saves the options you pass to Then, one of these options, selective journaling is used to build a custom You may follow the same approach.
|
Hi,
We're using Chronomodel for two purpose:
We can currently achieve the latest by doing an INNER JOIN with the historical table but as the amount of versions will grow this will prove less and less performant.
What we'd like its to be able to access the latest HID using the temporal table and if possible the view in the public schema.
Is it possible to add the HID to the temporal table ? Or at least give an option to do so ?
Thanks
Regards
The text was updated successfully, but these errors were encountered: