You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to retrieve variadic values from a query, like in a variant way or even using a map of std::any? My intention is to dynamically iterate through the fields of a query.
For example:
db.query("select 0, 'hello world'",
[](const std::unordered_map<std::string, std::any>& record)
{
for (constauto& field : record)
// get the field of any value
}
);
The text was updated successfully, but these errors were encountered:
Hello there @znone!
Is there a way to retrieve variadic values from a query, like in a variant way or even using a map of std::any? My intention is to dynamically iterate through the fields of a query.
For example:
The text was updated successfully, but these errors were encountered: