src/Table.php
public function rawDeleteById($id)
        {
            if (!$id) {
                return null;
            }

            $query = new Query($this);
            $query->where($this->id_column, $id);
            $query->generateDeleteSQL();

            $this->deleteB2DBObjectFromCache($id);

            return Statement::getPreparedStatement($query)->execute();
        }
public function rawDeleteById($id)
        {
            if (!$id) {
                return null;
            }

            $query = new Query($this);
            $query->where($this->id_column, $id);
            $query->generateDeleteSQL();

            $this->deleteB2DBObjectFromCache($id);

            return Statement::getPreparedStatement($query)->execute();
        }
public function rawDeleteById ( $ id ) { if ( ! $ id ) { return null ; } $ query = new Query ( $ this ) ; $ query -> where ( $ this -> id_column , $ id ) ; $ query -> generateDeleteSQL ( ) ; $ this -> deleteB2DBObjectFromCache ( $ id ) ; return Statement :: getPreparedStatement ( $ query ) -> execute ( ) ; }
Perform an SQL delete by an id

@param integer $id

@return Resultset|null
Perform an SQL delete by an id