Dynamic Tables from Filters #1303
Replies: 1 comment
-
Hmmm, I'd need to have a tinker on this. Your best bet would be to set a variable in the filter and reuse that in a builder() method. But, this isn't best practice, so that I can understand, what's your thinking behind the archiving on separate connections out of interest? You could definitely do it by having separate models for the archived records, which would be cleaner too, and you could then just swap in relations more smoothly. If you have proper indexes in place, then it's almost certainly easier to just have it in one table, and use fields to reference which year/month it belongs to. Well structured indexes would help here more than separate tables/databases, which (no offence) is a tad backwards with the modern capabilities of database indexing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi there, i need change the table name dynamically using date time filter, is posible with a filter change the builder query?
example.
Beta Was this translation helpful? Give feedback.
All reactions