reportcompiler.plugins.data_fetchers.utils.sql_builder

sql_builder.py

This module includes the utilities to build SQL queries from structured JSON data.

Classes

  • SQLQueryBuilder: Class responsible of building the SQL query string with the
class reportcompiler.plugins.data_fetchers.utils.sql_builder.SQLQueryBuilder(doc_param, fetcher_info, metadata)

Class responsible of building the SQL query string with the JSON specification.

Inheritance

Inheritance diagram of SQLQueryBuilder
build()

Builds the SQL query string with the JSON specification provided in the constructor.

Returns:SQL query string
Return type:str