AOST (As of System Time) Queries: support the other parameter types like an interval or any of the helper functions
The current commit only supports passing in an explicit timestamp as the parameter to AS OF SYSTEM TIME. It doesn't look to support the other parameter types like an interval or any of the helper functions.
@nollenr absolutely. I wouldn't suggest using this feature anyway as the is per query, and it is likely you are using transactions.
I don't have acces to a laptop now but I'll try to make some pseudo code :
ApplicationRecord.connection.execute("set transaction ...")
Please refer to the doc you mentioned for the SQL syntax!
We could consider more features in that direction but seen the small footprint of this code i don't really see the benefits
Closing for now due to low activity. Feel free to comment below if the feature feels important