我对如何在对象数组中显示categories.name感到困惑。我想在第一个td中显示。
<tr *ngFor="let innerItem of project.project_services">
HERE--> <td>{{ innerItem.categories.[name]}</td>
<td>{{innerItem.service.sku}}</td>
<td>{{innerItem.service.name}}</td>
</tr>
答案 0 :(得分:2)
Following insert queries happens inside a transaction and is run by each thread.
Thread_1 transaction query:
randomUUID_1_1 = UUID.randomUUID()
randomUUID_2_1 = UUID.randomUUID()
Insert Into Table_A (row_id, product_id) VALUES (randomUUID_1_1, 'X');
Insert Into Table_B (row_id, item_id, mapped_product_id) VALUES (randomUUID_2_1, randomUUID_1_1, 'Y');
Thread_2 separate transaction query:
randomUUID_1_2 = UUID.randomUUID()
randomUUID_2_2 = UUID.randomUUID()
Insert Into Table_A (row_id, product_id) VALUES (randomUUID_1_2, 'X');
Insert Into Table_B (row_id, item_id, mapped_product_id) VALUES (randomUUID_2_2, randomUUID_1_2, 'Y');