@saltcorn/postgres 0.9.5-beta.1 → 0.9.5-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/postgres.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saltcorn/postgres",
3
- "version": "0.9.5-beta.1",
3
+ "version": "0.9.5-beta.10",
4
4
  "description": "Postgres structures for Saltcorn, open-source no-code platform",
5
5
  "homepage": "https://saltcorn.com",
6
6
  "scripts": {
@@ -12,7 +12,7 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "dependencies": {
15
- "@saltcorn/db-common": "0.9.5-beta.1",
15
+ "@saltcorn/db-common": "0.9.5-beta.10",
16
16
  "pg": "^8.2.1",
17
17
  "pg-copy-streams": "^5.1.1"
18
18
  },
package/postgres.js CHANGED
@@ -97,7 +97,9 @@ const select = async (tbl, whereObj, selectopts = {}) => {
97
97
  const sql = `SELECT ${
98
98
  selectopts.fields ? selectopts.fields.join(", ") : `*`
99
99
  } FROM "${schema}"."${sqlsanitize(tbl)}" ${where} ${mkSelectOptions(
100
- selectopts
100
+ selectopts,
101
+ values,
102
+ false
101
103
  )}`;
102
104
  sql_log(sql, values);
103
105
  const tq = await (client || selectopts.client || pool).query(sql, values);