Skip to content

Commit 1ed2f26

Browse files
committed
Fix DuckDB parameter binding in Cesium tutorial
1 parent 9bd4755 commit 1ed2f26

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tutorials/parquet_cesium.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,15 @@ async function getGeoRecord(pid) {
227227
}
228228
const q = `SELECT row_id, pid, otype, latitude, longitude FROM nodes WHERE otype='GeospatialCoordLocation' AND pid=?`;
229229
const result = await db.queryRow(q, [pid]);
230+
console.log('Loaded geo record for PID', pid, result);
230231
return result;
231232
}
232233
233234
async function samplesAtLocation(rowid) {
234235
if (rowid === undefined || rowid === null) {
235236
return [];
236237
}
238+
console.log('samplesAtLocation invoked with row_id', rowid);
237239
const query = `
238240
WITH edges AS (
239241
SELECT s, p, unnest(o) AS o1

0 commit comments

Comments
 (0)