Skip to content

Commit 472e913

Browse files
committed
Remove debug logging in electric collection
1 parent 60fbb78 commit 472e913

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/electric-db-collection/src/sql-compiler.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export function compileSQL<T>(
3030

3131
// Serialize the values in the params array into PG formatted strings
3232
// and transform the array into a Record<string, string>
33-
console.log("params", params)
3433
const paramsRecord = params.reduce(
3534
(acc, param, index) => {
3635
acc[`${index + 1}`] = serialize(param)
@@ -59,7 +58,7 @@ function compileBasicExpression(
5958
case `val`:
6059
params.push(exp.value)
6160
return `$${params.length}`
62-
case `ref`:
61+
case `ref`:
6362
// TODO: doesn't yet support JSON(B) values which could be accessed with nested props
6463
if (exp.path.length !== 1) {
6564
throw new Error(

0 commit comments

Comments
 (0)