Automattic\WooCommerce\Database\Migrations
MetaToCustomTableMigrator::get_additional_where_clause_for_get_data_to_insert_or_update()
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() MetaToCustomTableMigrator::get additional where clause for get data to insert or update code WC 9.7.1
protected function get_additional_where_clause_for_get_data_to_insert_or_update( array $entity_ids ): string { return ''; }