Defined in: packages/core/src/transformers/PostgresJsonQueryBuilder.ts:38
PostgreSQL JSON query builder that transforms SimpleSelectQuery into queries that return JSON arrays or single JSON objects using PostgreSQL JSON functions.
new PostgresJsonQueryBuilder():
PostgresJsonQueryBuilder
Defined in: packages/core/src/transformers/PostgresJsonQueryBuilder.ts:43
PostgresJsonQueryBuilder
buildJsonQuery(
originalQuery,mapping,options?):SimpleSelectQuery
Defined in: packages/core/src/transformers/PostgresJsonQueryBuilder.ts:124
Build JSON query from original query and mapping configuration.
Original query to transform (can be any SelectQuery type)
JSON mapping configuration
Transformed query with JSON aggregation
buildJsonQuery(
originalQuery,mapping,options?):SimpleSelectQuery
Defined in: packages/core/src/transformers/PostgresJsonQueryBuilder.ts:125
Build JSON query from original query and mapping configuration.
Original query to transform (can be any SelectQuery type)
JSON mapping configuration
Transformed query with JSON aggregation
buildJson(
originalQuery,mapping):SimpleSelectQuery
Defined in: packages/core/src/transformers/PostgresJsonQueryBuilder.ts:151
Build JSON query from original query and mapping configuration.
Original query to transform
JSON mapping configuration
Transformed query with JSON aggregation
Use buildJsonQuery instead. This method will be removed in a future version.