vendor/yajra/laravel-datatables-oracle/src/Engines/QueryBuilderEngine.php
/**
     * Compile query builder where clause depending on configurations.
     *
     * @param mixed $query
     * @param string $column
     * @param string $keyword
     * @param string $relation
     */
Compile query builder where clause depending on configurations.
Compile query builder where clause depending on configurations .
protected function compileQuerySearch($query, $column, $keyword, $relation = 'or')
    {
        $column = $this->addTablePrefix($query, $column);
        $column = $this->castColumn($column);
        $sql    = $column . ' LIKE ?';
        if ($this->isCaseInsensitive()) {
            $sql = 'LOWER(' . $column . ') LIKE ?';
        }
        $query->{$relation . 'WhereRaw'}($sql, [$this->prepareKeyword($keyword)]);
    }
protected function compileQuerySearch ( $ query , $ column , $ keyword , $ relation = 'or' ) { $ column = $ this -> addTablePrefix ( $ query , $ column ) ; $ column = $ this -> castColumn ( $ column ) ; $ sql = $ column . ' LIKE ?' ; if ( $ this -> isCaseInsensitive ( ) ) { $ sql = 'LOWER(' . $ column . ') LIKE ?' ; } $ query -> { $ relation . 'WhereRaw' } ( $ sql , [ $ this -> prepareKeyword ( $ keyword ) ] ) ; }
Compile query builder where clause depending on configurations.
Compile query builder where clause depending on configurations .