SqlQuery
Admin\API\Reports\SqlQuery: Common parent for manipulating SQL query clauses.
Description Description
Source Source
File: packages/woocommerce-admin/src/API/Reports/SqlQuery.php
Methods Methods
- __construct — Constructor.
- add_sql_clause — Add a SQL clause to be included when get_data is called.
- clear_all_clauses — Reinitialize the clause array.
- clear_sql_clause — Clear SQL clauses by type.
- get_query_statement — Get the full SQL statement.
- get_sql_clause — Get SQL clause by type.
- str_replace_clause — Replace strings within SQL clauses by type.