Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableMetaQuery::build_queryprivateWC 1.0

Builds all the required internal bits for this meta query.

Method of the class: OrdersTableMetaQuery{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->build_query(): void;

OrdersTableMetaQuery::build_query() code WC 9.9.4

private function build_query(): void {
	if ( ! $this->queries ) {
		return;
	}

	$queries     = $this->queries;
	$sql_where   = $this->process( $queries );
	$this->where = $sql_where;
}