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