diff --git a/README.md b/README.md index 3bb6e365..63ffc82f 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ if (const auto& row = db(select(foo.name.as(cheese)).from(foo).where(foo.id == 1 } // selecting a single row with a single result: -return db(select(count(foo.id)).from(foo).where(true)).front().count; +return db(select(count(foo.id)).from(foo).unconditionally()).front().count; Of course there are joins and subqueries, more functions, order_by, group_by etc. These will be documented soon.