index_of method

index_of

Returns the index of the specified relation within this collection.

Returns

The zero-based index of the specified relation, or -1 if the relation does not exist in this collection.

def index_of(self, relation):
    ...
Parameter Type Description
relation DocumentTableRelation A relation to find.

See Also