1 | <?php |
||
6 | class SelectBuilder extends AbstractBuilder |
||
7 | { |
||
8 | /** |
||
9 | * |
||
10 | * Builds the columns clause. |
||
11 | * |
||
12 | * @return string |
||
13 | * |
||
14 | * @throws Exception when there are no columns in the SELECT. |
||
15 | * |
||
16 | */ |
||
17 | public function buildCols($cols) |
||
24 | |||
25 | /** |
||
26 | * |
||
27 | * Builds the FROM clause. |
||
28 | * |
||
29 | * @return string |
||
30 | * |
||
31 | */ |
||
32 | public function buildFrom($from, $join) |
||
47 | |||
48 | /** |
||
49 | * |
||
50 | * Builds the GROUP BY clause. |
||
51 | * |
||
52 | * @return string |
||
53 | * |
||
54 | */ |
||
55 | public function buildGroupBy($group_by) |
||
63 | |||
64 | /** |
||
65 | * |
||
66 | * Builds the HAVING clause. |
||
67 | * |
||
68 | * @return string |
||
69 | * |
||
70 | */ |
||
71 | public function buildHaving($having) |
||
79 | |||
80 | /** |
||
81 | * |
||
82 | * Builds the FOR UPDATE clause. |
||
83 | * |
||
84 | * @return string |
||
85 | * |
||
86 | */ |
||
87 | public function buildForUpdate($for_update) |
||
95 | } |
||
96 |