pino-postgres
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -47,5 +47,4 @@ #! /usr/bin/env node | ||
if (buffer.length) { | ||
const copy = [...buffer] | ||
const query = sql` | ||
INSERT INTO ${sql(opts.schema)}.${sql(opts.table)} ${sql(copy, opts.contentColumn, opts.timeColumn)} | ||
INSERT INTO ${sql(opts.schema)}.${sql(opts.table)} ${sql(buffer, opts.contentColumn, opts.timeColumn)} | ||
ON CONFLICT DO NOTHING; | ||
@@ -52,0 +51,0 @@ `.catch((err) => { |
{ | ||
"name": "pino-postgres", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "Pino transport for Postgres", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7706
127