@query-doctor/core 0.1.1 → 0.1.2

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.
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Rewriter for pg_stat_statements queries.
3
+ * Not all queries found in pg_stat_statements can be
4
+ * directly sent back to the database without first being rewritten.
5
+ */
6
+ export declare class PssRewriter {
7
+ rewrite(query: string): string;
8
+ private rewriteKeywordWithParameter;
9
+ private problematicKeywords;
10
+ }
11
+ //# sourceMappingURL=pss-rewriter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pss-rewriter.d.ts","sourceRoot":"","sources":["../../src/optimizer/pss-rewriter.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAI9B,OAAO,CAAC,2BAA2B;IAanC,OAAO,CAAC,mBAAmB,CAAyC;CACrE"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pss-rewriter.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pss-rewriter.test.d.ts","sourceRoot":"","sources":["../../src/optimizer/pss-rewriter.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@query-doctor/core",
3
3
  "private": false,
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "description": "Core logic for Query Doctor",
6
6
  "license": "",
7
7
  "author": "Query Doctor",