collectionByIndex<ID, OBJ> abstract method

  1. @experimental
DatabaseUniverseCollection<ID, OBJ> collectionByIndex<ID, OBJ>(
  1. int index
)

Get a collection by its index.

The index is the order in which the collections were defined when opening the instance.

It is not recommended to use this method. Use the generated extension methods instead. A collection User can be accessed with database_universe.users.

Implementation

@experimental
DatabaseUniverseCollection<ID, OBJ> collectionByIndex<ID, OBJ>(int index);