in pgsmo/objects/functions/function_base.py [0:0]
def _update_query_data(self) -> dict:
""" Function that returns data for update script """
return {
"data": {
"name": self.name,
"pronamespace": self.schema,
"arguments": self.arguments,
"lanname": self.language_name,
"procost": self.procost,
"provolatile": self.provolatile,
"proisstrict": self.proisstrict,
"prosecdef": self.prosecdef,
"proiswindow": self.proiswindow,
"prorows": self.prorows,
"variables": self.variables,
"probin": self.probin,
"prosrc": self.prosrc,
"funcowner": self.owner,
"description": self.description,
"acl": self.acl,
"seclabels": self.seclabels,
"change_func": self.change_func,
"merged_variables": self.merged_variables
},
"o_data": {
"name": "",
"pronamespace": "",
"proargtypenames": "",
"lanname": "",
"provolatile": "",
"proisstrict": "",
"prosecdef": "",
"proiswindow": "",
"procost": "",
"prorows": "",
"probin": "",
"prosrc_c": "",
"prosrc": ""
}
}