-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support Oracle * Fix static analysis * Refactoring * Add tests * Update README * Test Scrutinizer fix * Remove tests * Fix static analysis * Fix code coverage * Fix static analysis * Fix code coverage * Improve static analysis * Fix static analysis
- Loading branch information
1 parent
50924b8
commit 87f4447
Showing
9 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace Staudenmeir\LaravelCte\Connections; | ||
|
||
use Staudenmeir\LaravelCte\Query\OracleBuilder; | ||
use Yajra\Oci8\Oci8Connection; | ||
|
||
/** | ||
* @codeCoverageIgnore | ||
*/ | ||
class OracleConnection extends Oci8Connection | ||
{ | ||
/** | ||
* Get a new query builder instance. | ||
* | ||
* @return \Illuminate\Database\Query\Builder | ||
*/ | ||
public function query() | ||
{ | ||
return new OracleBuilder($this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Staudenmeir\LaravelCte\Query\Grammars; | ||
|
||
use Staudenmeir\LaravelCte\Query\Grammars\Traits\CompilesOracleExpressions; | ||
use Yajra\Oci8\Query\Grammars\OracleGrammar as Base; | ||
|
||
class OracleGrammar extends Base | ||
{ | ||
use CompilesOracleExpressions; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace Staudenmeir\LaravelCte\Query\Grammars\Traits; | ||
|
||
/** | ||
* @codeCoverageIgnore | ||
*/ | ||
trait CompilesOracleExpressions | ||
{ | ||
use CompilesExpressions; | ||
|
||
/** | ||
* Get the "recursive" keyword. | ||
* | ||
* @param array $expressions | ||
* @return string | ||
*/ | ||
protected function recursiveKeyword(array $expressions) | ||
{ | ||
return ''; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Staudenmeir\LaravelCte\Query; | ||
|
||
use Staudenmeir\LaravelCte\Query\Traits\BuildsExpressionQueries; | ||
use Yajra\Oci8\Query\OracleBuilder as Base; | ||
|
||
class OracleBuilder extends Base | ||
{ | ||
use BuildsExpressionQueries; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters