W3cubDocs

/RethinkDB Ruby

ReQL command: index_list

Command syntax

table.index_list() → array

Description

List all the secondary indexes of this table.

Example: List the available secondary indexes for this table.

r.table('marvel').index_list().run(conn)

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/ruby/index_list/