class SqlServerProcessor extends 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|null $sequence = null)

Process an "insert get ID" query.

list<array{name: string, path: string|null, default: bool}>
processSchemas(list<array<string, mixed>> $results)

Process the results of a schemas query.

list<array{name: string, schema: string|null, schema_qualified_name: string, size: int|null, comment: string|null, collation: string|null, engine: string|null}>
processTables(list<array<string, mixed>> $results)

Process the results of a tables query.

list<array{name: string, schema: string|null, schema_qualified_name: string, definition: string}>
processViews(list<array<string, mixed>> $results)

Process the results of a views query.

list<array{name: string, schema: string, schema_qualified_name: string, type: string, category: string, implicit: bool}>
processTypes(list<array<string, mixed>> $results)

Process the results of a types query.

list<array{name: string, type: string, type_name: string, collation: string|null, nullable: bool, default: mixed, auto_increment: bool, comment: string|null, generation: array{type: string|null, expression: string|null}|null}>
processColumns(list<array<string, mixed>> $results)

No description

list<array{name: string, columns: list<string>, type: string|null, unique: bool, primary: bool}>
processIndexes(list<array<string, mixed>> $results)

No description

list<array{name: string|null, columns: list<string>, foreign_schema: string|null, foreign_table: string, foreign_columns: list<string>, on_update: string|null, on_delete: string|null}>
processForeignKeys(list<array<string, mixed>> $results)

No description

int
processInsertGetIdForOdbc(Connection $connection)

Process an "insert get ID" query for ODBC.

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

list<array{name: string, path: string|null, default: bool}> processSchemas(list<array<string, mixed>> $results)

Process the results of a schemas query.

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string, path: string|null, default: bool}>

list<array{name: string, schema: string|null, schema_qualified_name: string, size: int|null, comment: string|null, collation: string|null, engine: string|null}> processTables(list<array<string, mixed>> $results)

Process the results of a tables query.

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string, schema: string|null, schema_qualified_name: string, size: int|null, comment: string|null, collation: string|null, engine: string|null}>

list<array{name: string, schema: string|null, schema_qualified_name: string, definition: string}> processViews(list<array<string, mixed>> $results)

Process the results of a views query.

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string, schema: string|null, schema_qualified_name: string, definition: string}>

list<array{name: string, schema: string, schema_qualified_name: string, type: string, category: string, implicit: bool}> processTypes(list<array<string, mixed>> $results)

Process the results of a types query.

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string, schema: string, schema_qualified_name: string, type: string, category: string, implicit: bool}>

list<array{name: string, type: string, type_name: string, collation: string|null, nullable: bool, default: mixed, auto_increment: bool, comment: string|null, generation: array{type: string|null, expression: string|null}|null}> processColumns(list<array<string, mixed>> $results)

No description

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string, type: string, type_name: string, collation: string|null, nullable: bool, default: mixed, auto_increment: bool, comment: string|null, generation: array{type: string|null, expression: string|null}|null}>

list<array{name: string, columns: list<string>, type: string|null, unique: bool, primary: bool}> processIndexes(list<array<string, mixed>> $results)

No description

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string, columns: list<string>, type: string|null, unique: bool, primary: bool}>

list<array{name: string|null, columns: list<string>, foreign_schema: string|null, foreign_table: string, foreign_columns: list<string>, on_update: string|null, on_delete: string|null}> processForeignKeys(list<array<string, mixed>> $results)

No description

Parameters

list<array<string, mixed>> $results

Return Value

list<array{name: string|null, columns: list<string>, foreign_schema: string|null, foreign_table: string, foreign_columns: list<string>, on_update: string|null, on_delete: string|null}>

protected int processInsertGetIdForOdbc(Connection $connection)

Process an "insert get ID" query for ODBC.

Parameters

Connection $connection

Return Value

int

Exceptions

Exception

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.