func github.com/jackc/pgx/v4.logQueryArgs
10 uses
github.com/jackc/pgx/v4 (current package)
batch.go#L75: "args": logQueryArgs(arguments),
batch.go#L88: "args": logQueryArgs(arguments),
batch.go#L95: "args": logQueryArgs(arguments),
batch.go#L126: "args": logQueryArgs(arguments),
batch.go#L162: "args": logQueryArgs(args),
conn.go#L413: c.log(ctx, LogLevelError, "Exec", map[string]interface{}{"sql": sql, "args": logQueryArgs(arguments), "err": err})
conn.go#L420: c.log(ctx, LogLevelInfo, "Exec", map[string]interface{}{"sql": sql, "args": logQueryArgs(arguments), "time": endTime.Sub(startTime), "commandTag": commandTag})
logger.go#L78: func logQueryArgs(args []interface{}) []interface{} {
rows.go#L146: rows.logger.log(rows.ctx, LogLevelInfo, "Query", map[string]interface{}{"sql": rows.sql, "args": logQueryArgs(rows.args), "time": endTime.Sub(rows.startTime), "rowCount": rows.rowCount})
rows.go#L150: rows.logger.log(rows.ctx, LogLevelError, "Query", map[string]interface{}{"err": rows.err, "sql": rows.sql, "args": logQueryArgs(rows.args)})
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |