@budibase/shared-core 2.29.24 → 2.29.25

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.
package/dist/index.js CHANGED
@@ -10928,7 +10928,7 @@ var runQuery = (docs, query) => {
10928
10928
  if (Array.isArray(docValue)) {
10929
10929
  return docValue.length === 0;
10930
10930
  }
10931
- if (typeof docValue === "object") {
10931
+ if (docValue && typeof docValue === "object") {
10932
10932
  return Object.keys(docValue).length === 0;
10933
10933
  }
10934
10934
  return docValue == null;