await db.insert(menuItemTable).values([
{
menuId: 1,
name: "test item 1",
description: "item.description",
price: 12,
recipeId: 8,
},
{
menuId: 1,
name: "test item 2",
description: "item.description",
price: 12,
recipeId: 12, // there is no recipe with id 12
},
{
menuId: 1,
name: "test item 3",
description: "item.description",
price: 12,
recipeId: 8,
},
]);
await db.insert(menuItemTable).values([
{
menuId: 1,
name: "test item 1",
description: "item.description",
price: 12,
recipeId: 8,
},
{
menuId: 1,
name: "test item 2",
description: "item.description",
price: 12,
recipeId: 12, // there is no recipe with id 12
},
{
menuId: 1,
name: "test item 3",
description: "item.description",
price: 12,
recipeId: 8,
},
]);