pangea-server 1.0.46 → 1.0.47

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.
@@ -192,12 +192,17 @@ function getFinalAttributes(attributes) {
192
192
  if (!attributes)
193
193
  return;
194
194
  return attributes.map((attribute) => {
195
+ console.log(attribute);
195
196
  if (typeof attribute === 'string')
196
197
  return [(0, sequelize_1.col)((0, pangea_helpers_1.camelToSnake)(attribute)), attribute];
198
+ console.log('[alias, column]');
197
199
  const [alias, column] = Object.entries(attribute)[0];
200
+ console.log(alias, ': ', column);
198
201
  if (typeof column === 'string')
199
202
  return [(0, sequelize_1.col)((0, pangea_helpers_1.camelToSnake)(column)), alias];
203
+ console.log('[op, field]');
200
204
  const [op, field] = column;
205
+ console.log(op, ': ', field);
201
206
  return [(0, sequelize_1.fn)(op, (0, sequelize_1.col)(field)), alias];
202
207
  });
203
208
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-server",
3
3
  "description": "",
4
- "version": "1.0.46",
4
+ "version": "1.0.47",
5
5
  "files": [
6
6
  "dist"
7
7
  ],