insert_db() returns the same value if it runs the INSERT, or if it doesn't because the object was already in the DB. It would be nice to trap this somehow.
This probably will impact how update_db() is used.
Log in to post a comment.