MongoDBでTypeORMを使用して表現しようとしていますが、基本的な問題に問題があります。 エンティティの基本的なCRUD操作を使用してコントローラを作成しました。メソッドsave、findAll、find by Filterは正常に動作しますが、mongo idが必要なメソッドを作成することはできません。 router.get("/", async(req: Request, res: R
んTypeORM存在しない場合は作成し、これを回避するために、いくつかのfunctionnalityが含まれていますよう let contraption = await thingRepository.findOne({ name : "Contraption"});
if(!contraption) // Create if not exist
{
let newThing =
タイプorm(https://github.com/typeorm/typeorm)とNEST(https://github.com/nestjs/nest)のシステムを設定しましたが、タイプORMはテーブルやカラムを作成していません。 import {UserPassword} from '../user/user-password.entity';
import {User} from '.