Hi, I can help you to implement the object model for the requered insert, using the object model we have validation by default.
Relevant Skills and Experience
I have been working with backend modules for multiples stores also alwais searching for best practices one of them avoid the insert using DB instance like excecuteS,
Proposed Milestones
$111 USD - Review the code a fix using the bests practices
Additional Services Offered
$250 USD - Custom themes
$200 USD - Modules development
$250 USD - Core overrides