From eb6cfd50331d49d7b4d66da6d7e1b96bbd05c28f Mon Sep 17 00:00:00 2001 From: ppetzold Date: Mon, 14 Mar 2022 20:10:30 +0100 Subject: [PATCH] fix: README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe0eb76..1965007 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ const paginateConfig: PaginateConfig { * Default: None * https://typeorm.io/#/find-options/advanced-options */ - filterableColumns: { age: [FilterOperator.EQ, FilterOperator.IN] } + filterableColumns: { age: [FilterOperator.EQ, FilterOperator.IN] }, /** * Required: false @@ -212,6 +212,8 @@ const paginateConfig: PaginateConfig { ## Usage with Query Builder +You can paginate custom queries by passing on the query builder: + ### Example ```typescript @@ -225,6 +227,8 @@ const result = await paginate(query, queryBuilder, config) ## Usage with Relations +You can utilize simplified left-join form using `relations`: + ### Example #### Endpoint