This commit is contained in:
parent
9cffeb1336
commit
7e7e0dfe6c
|
@ -6,7 +6,7 @@ use App\Query\IJobQuery;
|
||||||
use Fufle\ORM\Query as BaseQuery;
|
use Fufle\ORM\Query as BaseQuery;
|
||||||
|
|
||||||
class JobQuery extends BaseQuery implements IJobQuery {
|
class JobQuery extends BaseQuery implements IJobQuery {
|
||||||
public function GetLast10() {
|
public function GetLast10(): string {
|
||||||
return "select * from jobs order by id desc limit 10";
|
return "select * from jobs order by id desc limit 10";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue