@instantdb/core
Advanced tools
Comparing version 0.10.22 to 0.10.23
@@ -6,4 +6,7 @@ function _extractTriplesHelper(idNodes, acc = []) { | ||
const { "join-rows": joinRows } = datalogResult; | ||
const triples = joinRows.flatMap((x) => x); | ||
acc.push(...triples); | ||
for (const rows of joinRows) { | ||
for (const triple of rows) { | ||
acc.push(triple); | ||
} | ||
} | ||
_extractTriplesHelper(idNode["child-nodes"], acc); | ||
@@ -10,0 +13,0 @@ }); |
@@ -9,4 +9,7 @@ "use strict"; | ||
const { "join-rows": joinRows } = datalogResult; | ||
const triples = joinRows.flatMap((x) => x); | ||
acc.push(...triples); | ||
for (const rows of joinRows) { | ||
for (const triple of rows) { | ||
acc.push(triple); | ||
} | ||
} | ||
_extractTriplesHelper(idNode["child-nodes"], acc); | ||
@@ -13,0 +16,0 @@ }); |
{ | ||
"name": "@instantdb/core", | ||
"version": "0.10.22", | ||
"version": "0.10.23", | ||
"description": "Instant's core local abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,4 +6,7 @@ function _extractTriplesHelper(idNodes, acc = []) { | ||
const { "join-rows": joinRows } = datalogResult; | ||
const triples = joinRows.flatMap((x) => x); | ||
acc.push(...triples); | ||
for (const rows of joinRows) { | ||
for (const triple of rows) { | ||
acc.push(triple); | ||
} | ||
} | ||
_extractTriplesHelper(idNode["child-nodes"], acc); | ||
@@ -10,0 +13,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2830214
40185