the whole shebang

This commit is contained in:
2014-11-25 16:42:40 +01:00
parent 7f74c0613e
commit ab1334c0cf
3686 changed files with 496409 additions and 1 deletions

View File

@@ -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;
}
}