createPropertyIndex abstract method

Future<void> createPropertyIndex(
  1. String propertyKey, {
  2. IndexEntityType entityType = IndexEntityType.vertices,
  3. String? indexName,
})

Creates a property index.

propertyKey The property key to create an index on. entityType The entity type to create the index on (default: vertices). indexName The name of the index (auto-generated if omitted).

Implementation

Future<void> createPropertyIndex(
  String propertyKey, {
  IndexEntityType entityType = IndexEntityType.vertices,
  String? indexName,
});