public function __construct($from, Connection $conn)
 {
     if (!is_string($from) || is_null($from)) {
         throw new IllegalArgumentException("No table name specified");
     }
     parent::__construct($conn);
     $this->type = "SELECT";
     $this->fields = $from . ".*";
     $this->table = $from;
 }
 public function __construct($table, Connection $connection)
 {
     parent::__construct($connection);
     $this->table = $table;
 }