How to use the TableForeignKey function from typeorm
Find comprehensive JavaScript typeorm.TableForeignKey code examples handpicked from public code repositorys.
74 75 76 77 78 79 80 81 82 83
"default": 'now()' }] }), true); case 2: _context.next = 4; return queryRunner.createForeignKey('product_review', new _typeorm.TableForeignKey({ columnNames: ['product_id'], referencedColumnNames: ['id'], referencedTableName: 'product', onDelete: 'CASCADE'
0
0
1
+ 95 other calls in file
typeorm.getCustomRepository is the most popular function in typeorm (5799 examples)