collectionByIndex<ID, OBJ> abstract method

  1. @experimental
IsarCollection<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 isar.users.

Implementation

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