@sourceloop/reporting-service / Exports / QueryUtilityInterface
Interface: QueryUtilityInterface¶
Table of contents¶
Methods¶
Methods¶
jsonToQueryConverter¶
▸ jsonToQueryConverter(sqlQuery
): Object
Parameters¶
Name | Type |
---|---|
sqlQuery |
StructuredQueryInterface |
Returns¶
Object
Name | Type |
---|---|
bind |
AnyObject |
query |
string |
Defined in¶
services/reporting-service/src/interfaces/query-utility.interface.ts:10
listAllDataSourcesFromJson¶
▸ listAllDataSourcesFromJson(query
, removeSchema
): string
[]
Parameters¶
Name | Type |
---|---|
query |
StructuredQueryInterface |
removeSchema |
boolean |
Returns¶
string
[]
Defined in¶
services/reporting-service/src/interfaces/query-utility.interface.ts:6
validateQueryObject¶
▸ validateQueryObject(query
): boolean
Parameters¶
Name | Type |
---|---|
query |
StructuredQueryInterface |
Returns¶
boolean
Defined in¶
services/reporting-service/src/interfaces/query-utility.interface.ts:5