Beispiel #1
0
 public function __construct(Repo $repo)
 {
     $this->repo = $repo;
     $table = $this->getDb()->escapeName($repo->getTable());
     $this->from($repo->getTable())->column(new SQL("{$table}.*"));
     parent::__construct($repo->getDbInstance());
 }
Beispiel #2
0
 public function __construct(Repo $repo)
 {
     $this->repo = $repo;
     $this->table($repo->getTable());
     parent::__construct($repo->getDbInstance());
 }