[][src]Function sql_audit::query_audit

pub async fn query_audit<'_, '_>(
    pool: &'_ PgPool,
    table_name: &'_ str
) -> Result<Vec<AuditRecord>>

Get all the audit records for a specific table.

Errors

Fails if the query fails, usually due to connection issues.