@malloydata/render 0.0.105 → 0.0.106-dev231128205401

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/dist/drill.js +4 -1
  2. package/package.json +2 -2
package/dist/drill.js CHANGED
@@ -113,7 +113,10 @@ function getDrillQuery(data) {
113
113
  const { formattedFilters, source } = getDrillFilters(data);
114
114
  let ret = `run: ${(source === null || source === void 0 ? void 0 : source.name) || '"unable to compute source"'} -> `;
115
115
  if (formattedFilters.length) {
116
- ret += `{ \n where: \n ${formattedFilters.join(',\n ')}\n \n} + {select: *}\n`;
116
+ ret += `{ \n where: \n ${formattedFilters.join(',\n ')} \n} + {select: *}\n`;
117
+ }
118
+ else {
119
+ ret += '{select: *}';
117
120
  }
118
121
  return { drillQuery: ret, drillFilters: formattedFilters };
119
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/render",
3
- "version": "0.0.105",
3
+ "version": "0.0.106-dev231128205401",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@lit/context": "^1.1.0",
27
- "@malloydata/malloy": "^0.0.105",
27
+ "@malloydata/malloy": "^0.0.106-dev231128205401",
28
28
  "@types/luxon": "^2.4.0",
29
29
  "lit": "^3.0.2",
30
30
  "lodash": "^4.17.20",