WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

Products::append_product_sorting_table_join() protected WC 1.0

Join wc_product_meta_lookup to posts if not already joined.

{} It's a method of the class: Products{}

No Hooks.

Return

String. Nothing.

Usage

$result = Products::append_product_sorting_table_join( $sql );
$sql(string) (required)
SQL join.

Code of Products::append_product_sorting_table_join() WC 5.3.0

<?php
protected static function append_product_sorting_table_join( $sql ) {
	global $wpdb;

	if ( ! strstr( $sql, 'wc_product_meta_lookup' ) ) {
		$sql .= " LEFT JOIN {$wpdb->wc_product_meta_lookup} wc_product_meta_lookup ON $wpdb->posts.ID = wc_product_meta_lookup.product_id ";
	}
	return $sql;
}