To create a unique constraint with TypeORM, we can use the unique parameter. Hence, the primary key constraint automatically has a unique constraint.
確定! 回上一頁