diff --git a/README.md b/README.md index c8eecdb..12a5a38 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ 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)) + DOCUMENT.ID.eq(id).and(DOCUMENT.USER_ID.eq(userId)) } fun getAllUserDocuments(userId: Long) = getAll {