From 42362ca8c930a096d24fdcdba9829ee5938e87da Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 13 Aug 2024 15:08:23 +0000 Subject: [PATCH] chore(release): 1.6.0 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.6.0](https://github.com/SkeLLLa/pinot-noir/compare/v1.5.4...v1.6.0) (2024-08-13) ### 🚀 Features * stringify sql with options ([ca1d8a0](https://github.com/SkeLLLa/pinot-noir/commit/ca1d8a092e5651ddd08f10c8cd09c2a85b767f06)) --- docs/CHANGELOG.md | 6 ++ docs/api/pinot-noir.md | 7 +++ docs/api/pinot-noir.sqlutils.formatoptions.md | 44 +++++++++++++++ docs/api/pinot-noir.sqlutils.md | 50 +++++++++++++++++ .../api/pinot-noir.sqlutils.stringifyquery.md | 55 +++++++++++++++++++ package.json | 2 +- 6 files changed, 163 insertions(+), 1 deletion(-) create mode 100644 docs/api/pinot-noir.sqlutils.formatoptions.md create mode 100644 docs/api/pinot-noir.sqlutils.md create mode 100644 docs/api/pinot-noir.sqlutils.stringifyquery.md diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index c36a8f2..84f5d38 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.6.0](https://github.com/SkeLLLa/pinot-noir/compare/v1.5.4...v1.6.0) (2024-08-13) + +### 🚀 Features + +* stringify sql with options ([ca1d8a0](https://github.com/SkeLLLa/pinot-noir/commit/ca1d8a092e5651ddd08f10c8cd09c2a85b767f06)) + ## [1.5.4](https://github.com/SkeLLLa/pinot-noir/compare/v1.5.3...v1.5.4) (2024-07-17) ### 🛠 Fixes diff --git a/docs/api/pinot-noir.md b/docs/api/pinot-noir.md index f645edd..fec0ea9 100644 --- a/docs/api/pinot-noir.md +++ b/docs/api/pinot-noir.md @@ -42,6 +42,13 @@ Description + + + +[SqlUtils](./pinot-noir.sqlutils.md) + + + diff --git a/docs/api/pinot-noir.sqlutils.formatoptions.md b/docs/api/pinot-noir.sqlutils.formatoptions.md new file mode 100644 index 0000000..3f1de02 --- /dev/null +++ b/docs/api/pinot-noir.sqlutils.formatoptions.md @@ -0,0 +1,44 @@ + + +[Home](./index.md) > [pinot-noir](./pinot-noir.md) > [SqlUtils](./pinot-noir.sqlutils.md) > [formatOptions](./pinot-noir.sqlutils.formatoptions.md) + +## SqlUtils.formatOptions() method + +**Signature:** + +```typescript +static formatOptions(options?: IPinotQueryOptions): string; +``` + +## Parameters + + + +
+ +Parameter + + + +Type + + + +Description + +
+ +options + + + +[IPinotQueryOptions](./pinot-noir.ipinotqueryoptions.md) + + + +_(Optional)_ + +
+**Returns:** + +string diff --git a/docs/api/pinot-noir.sqlutils.md b/docs/api/pinot-noir.sqlutils.md new file mode 100644 index 0000000..20bb3ff --- /dev/null +++ b/docs/api/pinot-noir.sqlutils.md @@ -0,0 +1,50 @@ + + +[Home](./index.md) > [pinot-noir](./pinot-noir.md) > [SqlUtils](./pinot-noir.sqlutils.md) + +## SqlUtils class + +**Signature:** + +```typescript +export declare class SqlUtils +``` + +## Methods + + + + +
+ +Method + + + +Modifiers + + + +Description + +
+ +[formatOptions(options)](./pinot-noir.sqlutils.formatoptions.md) + + + +`static` + + + +
+ +[stringifyQuery(query, options)](./pinot-noir.sqlutils.stringifyquery.md) + + + +`static` + + + +
diff --git a/docs/api/pinot-noir.sqlutils.stringifyquery.md b/docs/api/pinot-noir.sqlutils.stringifyquery.md new file mode 100644 index 0000000..f38012c --- /dev/null +++ b/docs/api/pinot-noir.sqlutils.stringifyquery.md @@ -0,0 +1,55 @@ + + +[Home](./index.md) > [pinot-noir](./pinot-noir.md) > [SqlUtils](./pinot-noir.sqlutils.md) > [stringifyQuery](./pinot-noir.sqlutils.stringifyquery.md) + +## SqlUtils.stringifyQuery() method + +**Signature:** + +```typescript +static stringifyQuery(query: Sql, options?: IPinotQueryOptions): string; +``` + +## Parameters + + + + +
+ +Parameter + + + +Type + + + +Description + +
+ +query + + + +Sql + + + +
+ +options + + + +[IPinotQueryOptions](./pinot-noir.ipinotqueryoptions.md) + + + +_(Optional)_ + +
+**Returns:** + +string diff --git a/package.json b/package.json index df2708d..2a844c9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "$schema": "http://json.schemastore.org/package.json", "name": "pinot-noir", - "version": "1.5.4", + "version": "1.6.0", "description": "Unofficial client for Apache Pinot.", "keywords": [ "pinot",