Hello I'm checking if a record exists in database by calling $result = Model::findFirst(array of conditions)
if($result) - record exists and i want to do $result->delete() but phalcon shows a notice "A primary key must be defined in the model in order to perform the operation" and I have not primary key defined in that table or any other key. its just a simple table with 2 columns. Is it a bug or what am I doing wrong.