Вход Регистрация
Файл: gapps/vendor/laravel/framework/src/Illuminate/Database/SQLiteConnection.php
Строк: 48
<?php

namespace IlluminateDatabase;

use 
IlluminateDatabaseQueryProcessorsSQLiteProcessor;
use 
DoctrineDBALDriverPDOSqliteDriver as DoctrineDriver;
use 
IlluminateDatabaseQueryGrammarsSQLiteGrammar as QueryGrammar;
use 
IlluminateDatabaseSchemaGrammarsSQLiteGrammar as SchemaGrammar;

class 
SQLiteConnection extends Connection
{
    
/**
     * Get the default query grammar instance.
     *
     * @return IlluminateDatabaseQueryGrammarsSQLiteGrammar
     */
    
protected function getDefaultQueryGrammar()
    {
        return 
$this->withTablePrefix(new QueryGrammar);
    }

    
/**
     * Get the default schema grammar instance.
     *
     * @return IlluminateDatabaseSchemaGrammarsSQLiteGrammar
     */
    
protected function getDefaultSchemaGrammar()
    {
        return 
$this->withTablePrefix(new SchemaGrammar);
    }

    
/**
     * Get the default post processor instance.
     *
     * @return IlluminateDatabaseQueryProcessorsSQLiteProcessor
     */
    
protected function getDefaultPostProcessor()
    {
        return new 
SQLiteProcessor;
    }

    
/**
     * Get the Doctrine DBAL driver.
     *
     * @return DoctrineDBALDriverPDOSqliteDriver
     */
    
protected function getDoctrineDriver()
    {
        return new 
DoctrineDriver;
    }
}
Онлайн: 1
Реклама