# SqlLoggingFunction type · @imqueue/pg-sequelize

Source: https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.sqlloggingfunction/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-sequelize 4.2.0 — generated reference, not hand-written

A sequelize `logging` callback: the SQL, and the timing when benchmarking is on.

**Signature:**

```typescript
export type SqlLoggingFunction = (sql: string, time?: number) => void;
```

