Get Hive Names¶
Description¶
This operation retrieves all hive names.
Method¶
[[Backendless.shared hive] getNamesWithResponseHandler:^(NSArray<NSString *> *)responseHandler errorHandler:^(Fault *)errorHandler];
Backendless.shared.hive.getNames(responseHandler: (([String]) -> Void)!, errorHandler: ((Fault) -> Void)!)
Return Value¶
An array of hive names as string values. If there are no hives, then an empty array is returned.
Example¶
The example below returns all hive names stored in the system.
[[Backendless.shared hive] getNamesWithResponseHandler:^(NSArray *response) {
// handle response
} errorHandler:^(Fault *fault) {
// handle error
}];
Backendless.shared.hive.getNames(responseHandler: { response in
// handle response
}, errorHandler: { fault in
// handle error
})
Codeless Reference¶
Returns a list containing hive names.
Consider the following list of hives:
The example below retrieves all hive names:
After running the Codeless Logic, the operation returns a list containing all existing hives: