Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableMetaQuery::build_query()privateWC 1.0

Builds all the required internal bits for this meta query.

Method of the class: OrdersTableMetaQuery{}

No Hooks.

Return

null. Nothing.

Usage

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

OrdersTableMetaQuery::build_query() code WC 7.1.0

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

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

}