diff --git a/doc/start.md b/doc/start.md index 8ce946d..74505c9 100644 --- a/doc/start.md +++ b/doc/start.md @@ -2,8 +2,8 @@ ```cpp auto posts = db.posts()->query() - where(Post::idField() == postId) - toList(); + ->where(Post::idField() == postId) + ->toList(); // now posts is a QList contain all posts in // database that has id equal to postId variable auto post = q->first();