LaysenseAuth/vendor/illuminate/database/Query/Processors/MySqlProcessor.php

20 lines
411 B
PHP
Raw Permalink Normal View History

2024-08-09 22:16:39 +08:00
<?php
namespace Illuminate\Database\Query\Processors;
class MySqlProcessor extends Processor
{
/**
* Process the results of a column listing query.
*
* @param array $results
* @return array
*/
public function processColumnListing($results)
{
return array_map(function ($result) {
return ((object) $result)->column_name;
}, $results);
}
}