W3cubDocs

/RethinkDB JavaScript

ReQL command: indexList

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, callback)

Related commands

Get more help

Couldn't find what you were looking for?

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/javascript/index_list/