original_string: protected function execute(string $action)
      {
          if (!$this->getCollectionName()) {
              return false;
          }
  
          $options = [
              'writeConcern' => new WriteConcern($this->getWriteConcern()),
          ];
  
          if ($result = $this->getDataMapper()->$action($this, $options)) {
              $this->syncOriginalAttributes();
          }
  
          return $result;
      }
code: protected function execute(string $action)
      {
          if (!$this->getCollectionName()) {
              return false;
          }
  
          $options = [
              'writeConcern' => new WriteConcern($this->getWriteConcern()),
          ];
  
          if ($result = $this->getDataMapper()->$action($this, $options)) {
              $this->syncOriginalAttributes();
          }
  
          return $result;
      }
code_tokens: protected function execute ( string $ action ) { if ( ! $ this -> getCollectionName ( ) ) { return false ; } $ options = [ 'writeConcern' => new WriteConcern ( $ this -> getWriteConcern ( ) ) , ] ; if ( $ result = $ this -> getDataMapper ( ) -> $ action ( $ this , $ options ) ) { $ this -> syncOriginalAttributes ( ) ; } return $ result ; }
docstring: Performs the given action into database.
  
  @param string $action datamapper function to execute
  
  @return bool
docstring_tokens: Performs the given action into database .