diff --git a/README.md b/README.md index 51d8e39..d496541 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## Installation ```bash -$ npm i @scalio-oss/nest-couchbase couchbase +$ npm i @scalio-oss/nest-couchbase couchbase@2.6.5 ``` ## Usage @@ -93,6 +93,12 @@ export class CatsService { findOne(id: string): Promise { return this.catsRepository.get(id); } + + upsert(key: string, cat: Cat): Promise { + return (this.repositoryCacheLike as any).upsert(key, cat) + } + + } ```