Hi ,
I decided to use cursor Api for a case , where I do not want to iterate through al the 200 entries when only one is entered.
So , using cursorInterface and Init with a pathstring and then did cursor->GetNext.
cursor = transaction_context->MaapiInitCursor("/container/list");
cursor->GetNext();
cursor->n()
My Cursor-> is always “0” , what could be the reason ?
And ,
std::vector<ConfdValueInterface*> v = {cursor->keysOwning()};
I assume that my vector v has the key for that MaapiEntry.Is it correct ??