Skip to content

Commit 628be6e

Browse files
Update content/techniques/mongo.md
1 parent cfc343a commit 628be6e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

content/techniques/mongo.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,6 @@ If you are just looking to inject the model from a named database, you can use t
257257

258258
```typescript
259259
@@filename(cats.service)
260-
import { Model } from 'mongoose';
261-
import { Injectable } from '@nestjs/common';
262-
import { InjectModel } from '@nestjs/mongoose';
263-
import { Cat, CatDocument } from './schemas/cat.schema';
264-
265260
@Injectable()
266261
export class CatsService {
267262
constructor(@InjectModel(Cat.name, 'cats') private catModel: Model<CatDocument>) {}

0 commit comments

Comments
 (0)