DamienHarper / auditor

auditor, the missing audit log library
MIT License
154 stars 50 forks source link

Query all audited tables #62

Open Herz3h opened 2 years ago

Herz3h commented 2 years ago

Would it be possible to query all audited table for some criteria just like you can query a specific table ?

I know the query may be taking long time and consuming memory but this could be avoid with some kind of pagination maybe ?

DamienHarper commented 2 years ago

@Herz3h What would be the use case? As of now you can already achieve this on your side by querying all audit tables (or only the ones you're interested in) one by one, reuse filters across those queries, and aggregate/paginate the results.

Herz3h commented 2 years ago

Like find what a user did in past 24h or similar query