The record can be deleted only if the field is numeric and the AUTOINCREMENT is set. I want to make the search with a text type without using sqlalchemy. My function: