Skip to content

Commit b461f05

Browse files
committed
getters
1 parent b346ee1 commit b461f05

File tree

2 files changed

+89
-1
lines changed

2 files changed

+89
-1
lines changed

SimplePDOQueryBuilder.php

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,4 +364,92 @@ public function setExtra($extra)
364364
{
365365
$this->extra = $extra;
366366
}
367+
368+
/**
369+
* @return mixed
370+
*/
371+
public function getFields()
372+
{
373+
return $this->fields;
374+
}
375+
376+
/**
377+
* @return mixed
378+
*/
379+
public function getFrom()
380+
{
381+
return $this->from;
382+
}
383+
384+
/**
385+
* @return array
386+
*/
387+
public function getWhere()
388+
{
389+
return $this->where;
390+
}
391+
392+
/**
393+
* @return array
394+
*/
395+
public function getJoins()
396+
{
397+
return $this->joins;
398+
}
399+
400+
/**
401+
* @return mixed
402+
*/
403+
public function getSortBy()
404+
{
405+
return $this->sortBy;
406+
}
407+
408+
/**
409+
* @return mixed
410+
*/
411+
public function getSortOrder()
412+
{
413+
return $this->sortOrder;
414+
}
415+
416+
/**
417+
* @return array
418+
*/
419+
public function getHaving()
420+
{
421+
return $this->having;
422+
}
423+
424+
/**
425+
* @return mixed
426+
*/
427+
public function getOffset()
428+
{
429+
return $this->offset;
430+
}
431+
432+
/**
433+
* @return mixed
434+
*/
435+
public function getLimit()
436+
{
437+
return $this->limit;
438+
}
439+
440+
/**
441+
* @return array
442+
*/
443+
public function getUnion()
444+
{
445+
return $this->union;
446+
}
447+
448+
/**
449+
* @return mixed
450+
*/
451+
public function getGroupBy()
452+
{
453+
return $this->groupBy;
454+
}
367455
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Simple PDO Query Builder",
55
"keywords": ["pdo", "query builder"],
66
"license": "MIT",
7-
"version": "1.3.1",
7+
"version": "1.3.2",
88
"authors": [
99
{
1010
"name": "Vasily Sokolov",

0 commit comments

Comments
 (0)