orca-zhang / influxdb-cpp

💜 C++ client for InfluxDB.
MIT License
163 stars 83 forks source link

maybe u can add a support to insert char* #50

Closed LunafreyaNoxFleuret closed 3 months ago

LunafreyaNoxFleuret commented 3 months ago
detail::field_caller &field(const std::string &k, const char* v) { return _f_s(' ', k, v); }
orca-zhang commented 3 months ago

It is compatible with the (const std::string &k, const std::string &v) one.