Function tarantool::schema::index::create_index
source · pub fn create_index(
space_id: u32,
index_name: &str,
opts: &IndexOptions
) -> Result<Index, Error>
Expand description
Create new index for space.
space_id
- ID of existing space.index_name
- name of index to create, which should conform to the rules for object names.opts
- see IndexOptions struct.
For details see space_object:create_index