ex_orient v0.1.2 ExOrient.DB.Indexes

Summary

Functions

Create a new index

Drop an index by name or property

Rebuild an index by name

Functions

create(opts \\ [])

Create a new index.

> ExOrient.DB.create(index: "name", on: "Movie (title)", index_type: :unique, key_type: :string)
0
drop(opts \\ [])

Drop an index by name or property

> ExOrient.DB.drop(index: "name")
rebuild(opts \\ [])

Rebuild an index by name

> ExOrient.DB.rebuild(index: "name")