How to modify node-red deploy operation to save flow to database

Can I ask why you want to save it to a database?