Skip to content

Commit 63986f0

Browse files
author
Gabriel Tadra Mainginski
committed
Almost there! Few details to fix #5 and #4.
1 parent 39f888a commit 63986f0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Database/Query/SybaseGrammar.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,23 @@ class SybaseGrammar extends Grammar {
1515
'like', 'not like', 'between', 'ilike',
1616
'&', '&=', '|', '|=', '^', '^=',
1717
);
18-
19-
/**
18+
19+
protected $Builder;
20+
public function getBuilder(){
21+
return $this->Builder;
22+
}
23+
24+
25+
/**
2026
* Compile a select query into SQL.
2127
*
2228
* @param \Illuminate\Database\Query\Builder
2329
* @return string
2430
*/
31+
2532
public function compileSelect(Builder $query)
2633
{
34+
$this->Builder = $query;
2735
$components = $this->compileComponents($query);
2836

2937
// If an offset is present on the query, we will need to wrap the query in

0 commit comments

Comments
 (0)