ReQL command reference - RethinkDB

Command syntax

table.indexList() → array

Description

List all the secondary indexes of this table.

Example: List the available secondary indexes for this table.

r.table('marvel').indexList().run(conn);