src/Components/DbSchemaExtras.php
public function getSchemaExtrasForTables($table_names, $select = '*')
    {
        if (empty($table_names)) {
            return [];
        }

        if (false === $values = static::validateAsArray($table_names, ',', true)) {
            throw new \InvalidArgumentException('Invalid table list provided.');
        }

        $result = DbTableExtras::whereServiceId($this->getServiceId())
            ->whereIn('table', $values)->get((array)$select)->toArray();

        return $result;
    }
public function getSchemaExtrasForTables($table_names, $select = '*')
    {
        if (empty($table_names)) {
            return [];
        }

        if (false === $values = static::validateAsArray($table_names, ',', true)) {
            throw new \InvalidArgumentException('Invalid table list provided.');
        }

        $result = DbTableExtras::whereServiceId($this->getServiceId())
            ->whereIn('table', $values)->get((array)$select)->toArray();

        return $result;
    }
@param string | array $table_names
@param string | array $select

@throws \InvalidArgumentException
@return array