Retrieve a Soup’s Index Specs

If you want to examine or display the index specifications for a soup, call the applicable index specs retrieval method.

In hybrid apps, call:

In addition to the success and error callback functions, this function takes a single argument, soupName, which is the name of the soup. For example:

The success callback supports a single parameter that contains the array of index specs. For example:

Objective-C:

Swift:

Example: