v.0.1
This commit is contained in:
19
vendor/illuminate/database/Query/Processors/SQLiteProcessor.php
vendored
Normal file
19
vendor/illuminate/database/Query/Processors/SQLiteProcessor.php
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Database\Query\Processors;
|
||||
|
||||
class SQLiteProcessor 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)->name;
|
||||
}, $results);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user