We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60fbb78 commit 472e913Copy full SHA for 472e913
packages/electric-db-collection/src/sql-compiler.ts
@@ -30,7 +30,6 @@ export function compileSQL<T>(
30
31
// Serialize the values in the params array into PG formatted strings
32
// and transform the array into a Record<string, string>
33
- console.log("params", params)
34
const paramsRecord = params.reduce(
35
(acc, param, index) => {
36
acc[`${index + 1}`] = serialize(param)
@@ -59,7 +58,7 @@ function compileBasicExpression(
59
58
case `val`:
60
params.push(exp.value)
61
return `$${params.length}`
62
- case `ref`:
+ case `ref`:
63
// TODO: doesn't yet support JSON(B) values which could be accessed with nested props
64
if (exp.path.length !== 1) {
65
throw new Error(
0 commit comments