__construct() 공개 메소드

public __construct ( Pinq\Queries\IScope $scope, Pinq\Providers\DSL\Compilation\IQueryCompilation $compilation )
$scope Pinq\Queries\IScope
$compilation Pinq\Providers\DSL\Compilation\IQueryCompilation
예제 #1
0
 public function __construct(Queries\IScope $scope, Select $select)
 {
     parent::__construct($scope, $select);
     $this->compilation = $select;
     $this->compilation->sql = "SELECT * FROM {$this->compilation->tableName}";
 }
예제 #2
0
 public function __construct(QueryCompilation $compilation, Queries\IScope $scope)
 {
     parent::__construct($scope, $compilation);
 }