1 | <?php |
||
13 | class SqlQuery extends Query |
||
14 | { |
||
15 | use SelectableTrait; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $sql; |
||
21 | |||
22 | public function initialize() |
||
26 | |||
27 | /** |
||
28 | * Sets the SQL for the query. |
||
29 | * |
||
30 | * @param string $sql |
||
31 | * |
||
32 | * @return self |
||
33 | */ |
||
34 | public function raw($sql) |
||
40 | |||
41 | /** |
||
42 | * Sets the parameters for this query to be injected into |
||
43 | * the prepared statement. |
||
44 | * |
||
45 | * @return self |
||
46 | */ |
||
47 | public function parameters(array $values) |
||
53 | |||
54 | public function build() |
||
58 | } |
||
59 |