format and add Database.run function and operator, not working yet