src/L5SimpleFM.php
public function deleteRecord($recId)
    {
        if (empty($recId)) {
            throw new \Exception('No record ID specified');
        }
        $this->primeCommandArray();
        $this->addToCommandArray(['-recid' => $recId]);
        $this->addToCommandArray(['-delete' => null]);
        return $this;
    }
public function deleteRecord($recId)
    {
        if (empty($recId)) {
            throw new \Exception('No record ID specified');
        }
        $this->primeCommandArray();
        $this->addToCommandArray(['-recid' => $recId]);
        $this->addToCommandArray(['-delete' => null]);
        return $this;
    }
public function deleteRecord ( $ recId ) { if ( empty ( $ recId ) ) { throw new \ Exception ( 'No record ID specified' ) ; } $ this -> primeCommandArray ( ) ; $ this -> addToCommandArray ( [ '-recid' => $ recId ] ) ; $ this -> addToCommandArray ( [ '-delete' => null ] ) ; return $ this ; }
Delete a record per it's internal FileMaker record ID.
@param  integer The internal FileMaker record ID.
@return object This object
Delete a record per it s internal FileMaker record ID .