src/Resources/BaseDbTableResource.php
protected function recordsAsIds($records, $ids_info, $extras = null, $on_create = false, $remove = false)
    {
        $out = [];
        if (!empty($records)) {
            foreach ($records as $record) {
                $out[] = $this->checkForIds($record, $ids_info, $extras, $on_create, $remove);
            }
        }

        return $out;
    }
protected function recordsAsIds($records, $ids_info, $extras = null, $on_create = false, $remove = false)
    {
        $out = [];
        if (!empty($records)) {
            foreach ($records as $record) {
                $out[] = $this->checkForIds($record, $ids_info, $extras, $on_create, $remove);
            }
        }

        return $out;
    }
@param array $records
@param       $ids_info
@param null  $extras
@param bool  $on_create
@param bool  $remove

@internal param string $id_field
@internal param bool $include_field

@return array