Comments (1)
Hi.
The library has developed in order to use in many different cases therefore there are a few inconveniences at first glance, but on the other hand that gives more flexibility for tailoring the library according to your requirements.
For instance, you can't directly cast results from string to int (by design). For solving this issue you have to use methods that start from "is_" having known the type of the response or use std::visit likewise in RESP example and other. And of course, you can fork the library, and will tailor to your needs. Why not?
Nevertheless, I can help you with your issue and maybe include the solution to the library. Please, publish here your code and the solution which you would prefer to have. I'll try to work out something convenient and common to use.
Regards.
from redis-cpp.
Related Issues (20)
- cannot pass object of non-trivial type 'const rediscpp::resp::deserialization::error_message' through variadic function HOT 2
- multiple definition in header-only library HOT 2
- GET without erasing information. HOT 1
- Could NOT find Boost (missing: thread system iostreams) (found suitable version "1.74.0", minimum required is "1.67.0") HOT 1
- Fatal error C1189: #error: "RedisCpp. Requires C++ 17 or higher." HOT 2
- Build errors under Ubuntu 18.04 with GCC 9 HOT 3
- how to get pattern/channel info in pub/sub. HOT 2
- how to execute rpush HOT 3
- make error HOT 1
- More connection parameters HOT 1
- Missing cast to array type HOT 3
- SEG SIGNAL when use reset and AUTH enabled HOT 2
- Alternative Redis client proposed for inclusion in Boost HOT 1
- elif with no expression HOT 1
- CLIENT REPLY HOT 1
- 'Scan' function type response std::bad_cast issue HOT 1
- Avoid installing the library in a hard-coded folder in the root of the cmake project?
- how could cast to array HOT 1
- Read array including empty values fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-cpp.