Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 536 Bytes

custom-grammers.md

File metadata and controls

19 lines (16 loc) · 536 Bytes

Custom Processor / QueryGrammar / SchemaGrammar

To use a custom class instead of the default one, you can update your connection configuration as follows:

'snowflake-connection' => [
    //...
    'options' => [
        'processor' => Illuminate\Database\Query\Processors\Processor::class,
        'grammar' => [
            'query' => Illuminate\Database\Query\Grammars\Grammar::class,
            'schema' => Illuminate\Database\Schema\Grammars\Grammar::class,
        ]
    ]
]

Values given above are the defaults.