mongocAsyncCollectioncreate_index本页总览create_index 创建索引 声明 bool create_index(string index_name, array key_list, bool is_unique = false, mixed expire_after_seconds = nil) 参数 参数名描述index_name索引名称key_list索引键列表is_unique索引类型是否为'unique'expire_after_seconds索引有效期 返回值 true - 创建成功, false - 创建失败 使用方式 返回文档