Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableMetaQuery::get_sql_clauses()
Returns JOIN and WHERE clauses to be appended to the main SQL query.
Method of the class: OrdersTableMetaQuery{}
No Hooks.
Return
Array
.
Usage
$OrdersTableMetaQuery = new OrdersTableMetaQuery(); $OrdersTableMetaQuery->get_sql_clauses(): array;
OrdersTableMetaQuery::get_sql_clauses() OrdersTableMetaQuery::get sql clauses code WC 9.3.3
public function get_sql_clauses(): array { return array( 'join' => $this->sanitize_join( $this->join ), 'where' => $this->flatten_where_clauses( $this->where ), ); }