get_option_items_of_proposal
@mount("proposals.external.get_option_items_of_proposal")
query get_option_items_of_proposal( prop_id: rowid): list<(option_id: rowid, proposal_id: rowid, option: text, total_vote: big_integer, (command_id: rowid, name: text, description: text, is_executed: boolean)?)>
Retrieves all option items associated with a specific proposal.
Return
option_items - A list of option items associated with the specified proposal.
Parameters
prop_id
The unique ID (rowid) of the proposal whose option items are to be retrieved.