Back to Pocketbase

Interface QueryLogFunc

static/jsvm/interfaces/dbx.QueryLogFunc.html

latest807 B
Original Source

Interface QueryLogFunc

QueryLogFunc is called each time when performing a SQL query. The "t" parameter gives the time that the SQL statement takes to execute, while rows and err are the result of the query.

Hierarchy

  • QueryLogFunc

  • QueryLogFunc(ctx, t, sql, rows, err): void

Parameters

ctx: context.Context
t: Duration
sql: string
rows: sql.Rows
err: Error

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc