Skip to content

Commit a1430c3

Browse files
committed
bug-fix:createIndex => createIndexes
1 parent 89e28f0 commit a1430c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/database/collection/indexes/createIndex.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ int main() {
1919
database.setup(apiKey, projectId);
2020

2121
try {
22-
std::string response = database.createIndex(
22+
std::string response = database.createIndexes(
2323
databaseId, collectionId,key, type, attributes
2424
);
2525
std::cout << "Index created successfully! \nResponse: " << response << std::endl;

0 commit comments

Comments
 (0)