From cc0802bbb9dfe849c750fc3a8c79c6a896232f6c Mon Sep 17 00:00:00 2001 From: Jey Date: Mon, 13 Nov 2023 20:59:58 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa134f8..c8eecdb 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ plugins { Below are basic examples of extended dao functions: ```kotlin - fun getUserDocument(id: Long, userId: Long) = getOne { - DOCUMENT.ID.eq(id).and(DOCUMENT.USER_ID.eq(userId)) +fun getUserDocument(id: Long, userId: Long) = getOne { +DOCUMENT.ID.eq(id).and(DOCUMENT.USER_ID.eq(userId)) } fun getAllUserDocuments(userId: Long) = getAll {