Skip to content

Commit 8168379

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

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
@@ -262,11 +262,6 @@ export class CatsService {
262262
constructor(@InjectModel(Cat.name, 'cats') private catModel: Model<CatDocument>) {}
263263
}
264264
@@switch
265-
import { Model } from 'mongoose';
266-
import { Injectable, Dependencies } from '@nestjs/common';
267-
import { getModelToken } from '@nestjs/mongoose';
268-
import { Cat } from './schemas/cat.schema';
269-
270265
@Injectable()
271266
@Dependencies(getModelToken(Cat.name, 'cats'))
272267
export class CatsService {

0 commit comments

Comments
 (0)