proto.io 0.0.163 → 0.0.164

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.
@@ -116,7 +116,8 @@ class SQL {
116
116
  query += dialect.boolean(value.value);
117
117
  }
118
118
  else if (_.isString(value.value)) {
119
- query += `${dialect.quote(value.value)}::TEXT`;
119
+ query += `${dialect.placeholder(nextIdx())}::TEXT`;
120
+ values.push(value.value);
120
121
  }
121
122
  else if (_.isSafeInteger(value.value)) {
122
123
  query += `${value.value}`;