From 8e502d2d6a57844da58047ed2d1b972fd5d496e9 Mon Sep 17 00:00:00 2001 From: Hamed Masafi Date: Tue, 9 Jul 2019 10:45:59 +0430 Subject: [PATCH] Update start.md --- doc/start.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();