public function deleteRecord($oosql = null, array $criteria)
    {
        if (null == $oosql) {
            $oosql = $this;
        }
        $oosql->delete()->createWhere($criteria)->exe();
        return $this;
    }
public function deleteRecord($oosql = null, array $criteria)
    {
        if (null == $oosql) {
            $oosql = $this;
        }
        $oosql->delete()->createWhere($criteria)->exe();
        return $this;
    }
public function deleteRecord ( $ oosql = null , array $ criteria ) { if ( null == $ oosql ) { $ oosql = $ this ; } $ oosql -> delete ( ) -> createWhere ( $ criteria ) -> exe ( ) ; return $ this ; }
Delete a record or more from a table
@param mixed $oosql    Optional oosql\oosql instance to run query on
@param array $criteria Criteria of current opperation
@return \Phiber\oosql\oosql Instance
Delete a record or more from a table