function trackSql trackSql<T>(sql: string | string[],fn: PromiseTask<T>,): Promise<T> Run an async DB operation, enforcing the N+1 read guard and logging it when footer tracking is active. Type Parameters T Parameters sql: string | string[] fn: PromiseTask<T> Return Type Promise<T>