-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
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:
db.query("select 0, 'hello world'",
[](const std::unordered_map<std::string, std::any>& record)
{
for (const auto& field : record)
// get the field of any value
}
);
Metadata
Metadata
Assignees
Labels
No labels