prostgles-server 3.0.54 → 3.0.55

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.
@@ -28,7 +28,7 @@ async function runSQL(query, params, options, localParams) {
28
28
  GROUP BY relid, relname, schemaname
29
29
  `) ?? []);
30
30
  this.USER_TABLE_COLUMNS ?? (this.USER_TABLE_COLUMNS = await this.db.any(`
31
- SELECT t.relid, t.schemaname,t.relname, c.column_name, c.udt_name
31
+ SELECT t.relid, t.schemaname,t.relname, c.column_name, c.udt_name, c.ordinal_position
32
32
  FROM information_schema.columns c
33
33
  INNER JOIN pg_catalog.pg_statio_user_tables t
34
34
  ON c.table_schema = t.schemaname AND c.table_name = t.relname
@@ -28,7 +28,7 @@ async function runSQL(query, params, options, localParams) {
28
28
  GROUP BY relid, relname, schemaname
29
29
  `) ?? []);
30
30
  this.USER_TABLE_COLUMNS ?? (this.USER_TABLE_COLUMNS = await this.db.any(`
31
- SELECT t.relid, t.schemaname,t.relname, c.column_name, c.udt_name
31
+ SELECT t.relid, t.schemaname,t.relname, c.column_name, c.udt_name, c.ordinal_position
32
32
  FROM information_schema.columns c
33
33
  INNER JOIN pg_catalog.pg_statio_user_tables t
34
34
  ON c.table_schema = t.schemaname AND c.table_name = t.relname
@@ -31,7 +31,7 @@ export async function runSQL(this: DboBuilder, query: string, params: any, optio
31
31
  GROUP BY relid, relname, schemaname
32
32
  `) ?? [];
33
33
  this.USER_TABLE_COLUMNS ??= await this.db.any(`
34
- SELECT t.relid, t.schemaname,t.relname, c.column_name, c.udt_name
34
+ SELECT t.relid, t.schemaname,t.relname, c.column_name, c.udt_name, c.ordinal_position
35
35
  FROM information_schema.columns c
36
36
  INNER JOIN pg_catalog.pg_statio_user_tables t
37
37
  ON c.table_schema = t.schemaname AND c.table_name = t.relname
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prostgles-server",
3
- "version": "3.0.54",
3
+ "version": "3.0.55",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1 +1 @@
1
- 168356
1
+ 175567
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "../..": {
23
23
  "name": "prostgles-server",
24
- "version": "3.0.53",
24
+ "version": "3.0.54",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@aws-sdk/client-s3": "^3.121.0",