Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| Hoyvoy\CrossDatabase\SqlServerConnection | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| getDefaultQueryGrammar | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| <?php | |
| namespace Hoyvoy\CrossDatabase; | |
| use Hoyvoy\CrossDatabase\Query\Grammars\SqlServerGrammar as SqlServerQueryGrammar; | |
| use Illuminate\Database\SqlServerConnection as IlluminateSqlServerConnection; | |
| class SqlServerConnection extends IlluminateSqlServerConnection implements CanCrossDatabaseShazaamInterface | |
| { | |
| /** | |
| * Get the default query grammar instance. | |
| * | |
| * @return \Illuminate\Database\Query\Grammars\SqlServerGrammar | |
| */ | |
| protected function getDefaultQueryGrammar() | |
| { | |
| return $this->withTablePrefix(new SqlServerQueryGrammar()); | |
| } | |
| } |