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.
Метод класса: MetaToCustomTableMigrator{}
Хуков нет.
Возвращает
Строку
. Additional string for the WHERE clause, must either be empty or start with "AND" or "OR".
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_additional_where_clause_for_get_data_to_insert_or_update( $entity_ids ): string;
- $entity_ids(массив) (обязательный)
- 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 WC 7.5.1
protected function get_additional_where_clause_for_get_data_to_insert_or_update( array $entity_ids ): string { return ''; }