We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89e28f0 commit a1430c3Copy full SHA for a1430c3
examples/database/collection/indexes/createIndex.cpp
@@ -19,7 +19,7 @@ int main() {
19
database.setup(apiKey, projectId);
20
21
try {
22
- std::string response = database.createIndex(
+ std::string response = database.createIndexes(
23
databaseId, collectionId,key, type, attributes
24
);
25
std::cout << "Index created successfully! \nResponse: " << response << std::endl;
0 commit comments