Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableSearchQuery::get_sql_clauses()publicWC 1.0

Supplies an array of clauses to be used in an order query.

Method of the class: OrdersTableSearchQuery{}

No Hooks.

Return

Array.

Usage

$OrdersTableSearchQuery = new OrdersTableSearchQuery();
$OrdersTableSearchQuery->get_sql_clauses(): array;

OrdersTableSearchQuery::get_sql_clauses() code WC 7.1.0

public function get_sql_clauses(): array {
	return array(
		'join'  => array( $this->generate_join() ),
		'where' => array( $this->generate_where() ),
	);
}