Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::join_operational_data_table_to_order_query()privateWC 1.0

Helper method to join order operational data table.

Метод класса: OrdersTableDataStore{}

Хуков нет.

Возвращает

Массив. Select and join queries for operational data table.

Использование

// private - только в коде основоного (родительского) класса
$result = $this->join_operational_data_table_to_order_query( $order_table_alias, $operational_table_alias );
$order_table_alias(строка) (обязательный)
Alias to use for order table.
$operational_table_alias(строка) (обязательный)
Alias to use for operational data table.

Код OrdersTableDataStore::join_operational_data_table_to_order_query() WC 8.7.0

private function join_operational_data_table_to_order_query( $order_table_alias, $operational_table_alias ) {
	$operational_data_table = $this::get_operational_data_table_name();

	return $this->generate_select_and_join_clauses(
		$order_table_alias,
		$operational_data_table,
		$operational_table_alias,
		$this->operational_data_column_mapping
	);
}