I assumed if the standard getAll was
r\table('marvel')->getAll('man_of_steel', array('index' =>'code_name'))->run($conn)
then a compound index would work like
r\table('marvel')->getAll(array('dark_night', 'man_of_steel'), array('index' =>'code_name'))->run($conn)
Are compound indexes supported? https://rethinkdb.com/docs/secondary-indexes/javascript/
I assumed if the standard getAll was
r\table('marvel')->getAll('man_of_steel', array('index' =>'code_name'))->run($conn)
then a compound index would work liker\table('marvel')->getAll(array('dark_night', 'man_of_steel'), array('index' =>'code_name'))->run($conn)
but it doesn't appear to be working