W3cubDocs

/Laravel 8

MySqlProcessor

class MySqlProcessor extends Processor (View source)

Methods

array processSelect(Builder $query, array $results)

Process the results of a "select" query.

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

Process an "insert get ID" query.

from Processor
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|null $sequence = null)

Process an "insert get ID" query.

Parameters

Builder $query
string $sql
array $values
string|null $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/8.x/Illuminate/Database/Query/Processors/MySqlProcessor.html