@narrative.io/data-collaboration-sdk-ts 0.0.60 → 0.0.61

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.
@@ -296,7 +296,7 @@ export function buildFrom(from) {
296
296
  }
297
297
  export function buildWhere(where) {
298
298
  NqlWhereObj.parse(where);
299
- let str = 'WHERE';
299
+ let str = where.filterExpressions.length > 0 ? 'WHERE' : '';
300
300
  where.filterExpressions.forEach((f, i) => {
301
301
  if ('field' in f) {
302
302
  str += ` ${buildField(f.field)} ${f.operator}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",