| cpp_redis 4.0.0 cpp_redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.

Classes | Functions
cpp_redis::builders Namespace Reference

## Classes
class | array_builder
class | builder_iface
class | bulk_string_builder
class | error_builder
class | integer_builder
class | reply_builder
class | simple_string_builder

## Functions
std::unique_ptr< builder_iface > | create_builder (char id)

## Function Documentation

## ◆ create_builder()

std::unique_ptr<builder_iface> cpp_redis::builders::create_builder | ( | char | id | ) |

create a builder corresponding to the given id

- + for simple strings
- - for errors
- : for integers
- $ for bulk strings
- * for arrays

Parameters

  id | char that determines which builder to return

Returns
  new builder instance depending on id value