the whole shebang
This commit is contained in:
1 parent
7f74c0613e
commit
ab1334c0cf
3686 files changed
+496409
-1
No files matched your search
+35
@@ -0,0 +1,35 @@
|
||||
<?php namespace Illuminate\Database;
|
||||
|
||||
class SQLiteConnection extends Connection {
|
||||
|
||||
/**
|
||||
* Get the default query grammar instance.
|
||||
*
|
||||
* @return \Illuminate\Database\Query\Grammars\Grammars\Grammar
|
||||
*/
|
||||
protected function getDefaultQueryGrammar()
|
||||
{
|
||||
return $this->withTablePrefix(new Query\Grammars\SQLiteGrammar);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the default schema grammar instance.
|
||||
*
|
||||
* @return \Illuminate\Database\Schema\Grammars\Grammar
|
||||
*/
|
||||
protected function getDefaultSchemaGrammar()
|
||||
{
|
||||
return $this->withTablePrefix(new Schema\Grammars\SQLiteGrammar);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Doctrine DBAL Driver.
|
||||
*
|
||||
* @return \Doctrine\DBAL\Driver
|
||||
*/
|
||||
protected function getDoctrineDriver()
|
||||
{
|
||||
return new \Doctrine\DBAL\Driver\PDOSqlite\Driver;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user