Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Test1Model extends CoreModel |
||
12 | { |
||
13 | public function test1() |
||
14 | { |
||
15 | return $this->select("SELECT * FROM T_WebStream LIMIT :limit, :offset", ["limit" => 0, "offset" => 1]) |
||
|
|||
16 | ->toEntity("WebStream\Test\Model\Entity\Test1Entitiy"); |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @Query(file="query/webstream-test-mysql-mapper.xml") |
||
21 | */ |
||
22 | public function test2() |
||
25 | } |
||
26 | } |
||
27 |