Processor

class Processor (View source)

Methods

array processSelect(Builder $query, array $results)

Process the results of a "select" query.

int processInsertGetId(Builder $query, string $sql, array $values, string $sequence = null)

Process an "insert get ID" query.

array processColumnListing(array $results)

Process the results of a column listing query.

Details

array processSelect(Builder $query, array $results)

Process the results of a "select" query.

Parameters

Builder $query
array $results

Return Value

array

int processInsertGetId(Builder $query, string $sql, array $values, string $sequence = null)

Process an "insert get ID" query.

Parameters

Builder $query
string $sql
array $values
string $sequence

Return Value

int

array processColumnListing(array $results)

Process the results of a column listing query.

Parameters

array $results

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Database/Query/Processors/Processor.html