Get indexes
g.sys.system.getIndexes calls the get indexes system API from your code, whatever the settings of that API say about HTTP callers.
Get indexes System API¶
List the indexes of a table using global object 'g', in the same format for every database.
keyholds the fields in order with their direction :1ascending,-1descending,hashedortexton MongoDB.- Several tables at once : give a list of such objects, the answer is a list of lists in the same order.
instance: "crm::acme"reads the table in the database of the tenantacmeof the multi-tenant instancecrm.