From 21c5de2eca4dfd03a2cdac13f799ac690b985266 Mon Sep 17 00:00:00 2001 From: Roland Bock Date: Wed, 2 Oct 2013 07:34:37 +0200 Subject: [PATCH] Fixed small documentation bug --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61ad0a93..e26f2912 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ for (const auto& row : db.run(select(foo.name, foo.hasFun).from(foo).where(foo.i if (row.name.is_null()) std::cerr << "name is null, will convert to empty string" << std::endl; std::string name = row.name; // string-like fields are implicitly convertible to string - bool hasFun = hasFun; // bool fields are implicitly convertible to bool + bool hasFun = row.hasFun; // bool fields are implicitly convertible to bool } // selecting ALL columns of a table