int MGOupdrsdbstatus (Code *cod)
The MGOupdrsdbstatus() function updates an existing sdb status reference record. Information is passed through cod. The required fields are:
cod.rule is the sdb status reference rule. cod.name is the name of the status. You can only change the name field. To change the rule field, you must insert a new record.
Returns the number of records updated upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelrsdbstatus(), MGOinsrsdbstatus(), MGOselrsdbstatus(), MGOzero()