예제 #1
0
 public function __construct(\PDO $connection, TableSourceInfo $table, ParameterCollection $parameters)
 {
     if (!$table->hasPrimaryKeys()) {
         throw new PinqDemoSqlException("Table {$table->getName()} must have primary keys to perform an UPDATE or DELETE query");
     }
     parent::__construct($connection, $table, $parameters);
     $this->innerSelect = new Select($connection, $table, $parameters);
 }
예제 #2
0
 public function __construct(\PDO $connection, TableSourceInfo $table, ParameterCollection $parameters)
 {
     parent::__construct($connection, $table, $parameters);
 }