Automattic\WooCommerce\Database\Migrations

MetaToCustomTableMigrator::get_additional_where_clause_for_get_data_to_insert_or_update()protectedWC 1.0

Get additional string to be appended to the WHERE clause of the SQL query used by get_data_to_insert_or_update.

Method of the class: MetaToCustomTableMigrator{}

No Hooks.

Return

String. Additional string for the WHERE clause, must either be empty or start with "AND" or "OR".

Usage

// protected - for code of main (parent) or child class
$result = $this->get_additional_where_clause_for_get_data_to_insert_or_update( $entity_ids ): string;
$entity_ids(array) (required)
The ids of the entities being inserted or updated.

MetaToCustomTableMigrator::get_additional_where_clause_for_get_data_to_insert_or_update() code WC 8.7.0

protected function get_additional_where_clause_for_get_data_to_insert_or_update( array $entity_ids ): string {
	return '';
}