diff --git a/e2e/src/fixtures/1.6/carrier_details.json b/e2e/src/fixtures/1.6/carrier_details.json index b0cce0b8..b18a4766 100644 --- a/e2e/src/fixtures/1.6/carrier_details.json +++ b/e2e/src/fixtures/1.6/carrier_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "2", @@ -16,7 +16,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "2", diff --git a/e2e/src/fixtures/1.6/carriers.json b/e2e/src/fixtures/1.6/carriers.json index ec5bd4ad..25fa1229 100644 --- a/e2e/src/fixtures/1.6/carriers.json +++ b/e2e/src/fixtures/1.6/carriers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "1", @@ -30,7 +30,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "2", diff --git a/e2e/src/fixtures/1.6/cart_products.json b/e2e/src/fixtures/1.6/cart_products.json index 42d0adbc..d3505fa0 100644 --- a/e2e/src/fixtures/1.6/cart_products.json +++ b/e2e/src/fixtures/1.6/cart_products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "3", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "3", @@ -84,7 +84,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "3", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "5", @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "5", @@ -168,7 +168,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/1.6/carts.json b/e2e/src/fixtures/1.6/carts.json index de51411e..a49c2f9b 100644 --- a/e2e/src/fixtures/1.6/carts.json +++ b/e2e/src/fixtures/1.6/carts.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "1", @@ -9,7 +9,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "2", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "3", @@ -27,7 +27,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "4", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/1.6/categories.json b/e2e/src/fixtures/1.6/categories.json index 35b2ca55..c3126624 100644 --- a/e2e/src/fixtures/1.6/categories.json +++ b/e2e/src/fixtures/1.6/categories.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "1-en", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "2-en", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "3-en", @@ -54,7 +54,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "4-en", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "5-en", @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "6-en", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "7-en", @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "8-en", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "9-en", @@ -162,7 +162,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "10-en", @@ -180,7 +180,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "11-en", diff --git a/e2e/src/fixtures/1.6/currencies.json b/e2e/src/fixtures/1.6/currencies.json index 6030e61b..ace7f805 100644 --- a/e2e/src/fixtures/1.6/currencies.json +++ b/e2e/src/fixtures/1.6/currencies.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 1, @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 2, diff --git a/e2e/src/fixtures/1.6/customers.json b/e2e/src/fixtures/1.6/customers.json index 54435d7a..2a73e994 100644 --- a/e2e/src/fixtures/1.6/customers.json +++ b/e2e/src/fixtures/1.6/customers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 1, diff --git a/e2e/src/fixtures/1.6/employees.json b/e2e/src/fixtures/1.6/employees.json index 655a14f3..0a7bafcd 100644 --- a/e2e/src/fixtures/1.6/employees.json +++ b/e2e/src/fixtures/1.6/employees.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "employees", "properties": { "id_employee": 1, diff --git a/e2e/src/fixtures/1.6/image_types.json b/e2e/src/fixtures/1.6/image_types.json index 7682b82e..d26aea1f 100644 --- a/e2e/src/fixtures/1.6/image_types.json +++ b/e2e/src/fixtures/1.6/image_types.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 1, @@ -15,7 +15,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 2, @@ -30,7 +30,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 3, @@ -45,7 +45,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 4, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 5, @@ -75,7 +75,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 6, @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 7, @@ -105,7 +105,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 8, @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 9, diff --git a/e2e/src/fixtures/1.6/images.json b/e2e/src/fixtures/1.6/images.json index 5a9eb7ea..063a1ae7 100644 --- a/e2e/src/fixtures/1.6/images.json +++ b/e2e/src/fixtures/1.6/images.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 23, diff --git a/e2e/src/fixtures/1.6/languages.json b/e2e/src/fixtures/1.6/languages.json index 5b6cec20..e18b1806 100644 --- a/e2e/src/fixtures/1.6/languages.json +++ b/e2e/src/fixtures/1.6/languages.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "languages", "properties": { "id_lang": 1, diff --git a/e2e/src/fixtures/1.6/manufacturers.json b/e2e/src/fixtures/1.6/manufacturers.json index 232367aa..3572111d 100644 --- a/e2e/src/fixtures/1.6/manufacturers.json +++ b/e2e/src/fixtures/1.6/manufacturers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 1, diff --git a/e2e/src/fixtures/1.6/modules.json b/e2e/src/fixtures/1.6/modules.json index 4322a4d0..33c40bb5 100644 --- a/e2e/src/fixtures/1.6/modules.json +++ b/e2e/src/fixtures/1.6/modules.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "2", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "3", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "4", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "5", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "6", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "7", @@ -84,7 +84,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "8", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "9", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "10", @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "11", @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "12", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "13", @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "14", @@ -168,7 +168,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "15", @@ -180,7 +180,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "16", @@ -192,7 +192,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "17", @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "18", @@ -216,7 +216,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "19", @@ -228,7 +228,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "20", @@ -240,7 +240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "21", @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "22", @@ -264,7 +264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "23", @@ -276,7 +276,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "24", @@ -288,7 +288,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "25", @@ -300,7 +300,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "26", @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "27", @@ -324,7 +324,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "28", @@ -336,7 +336,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "29", @@ -348,7 +348,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "30", @@ -360,7 +360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "31", @@ -372,7 +372,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "32", @@ -384,7 +384,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "33", @@ -396,7 +396,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "34", @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "35", @@ -420,7 +420,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "36", @@ -432,7 +432,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "37", @@ -444,7 +444,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "38", @@ -456,7 +456,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "39", @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "40", @@ -480,7 +480,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "41", @@ -492,7 +492,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "42", @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "43", @@ -516,7 +516,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "44", @@ -528,7 +528,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "45", @@ -540,7 +540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "46", @@ -552,7 +552,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "47", @@ -564,7 +564,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "48", @@ -576,7 +576,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "49", @@ -588,7 +588,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "50", @@ -600,7 +600,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "51", @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "52", @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "53", @@ -636,7 +636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "54", @@ -648,7 +648,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "55", @@ -660,7 +660,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "56", @@ -672,7 +672,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "57", @@ -684,7 +684,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "58", @@ -696,7 +696,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "59", @@ -708,7 +708,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "60", @@ -720,7 +720,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "61", @@ -732,7 +732,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "62", @@ -744,7 +744,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "63", @@ -756,7 +756,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "64", @@ -768,7 +768,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "65", @@ -780,7 +780,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "66", @@ -792,7 +792,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "67", @@ -804,7 +804,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "68", @@ -816,7 +816,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "69", diff --git a/e2e/src/fixtures/1.6/order_details.json b/e2e/src/fixtures/1.6/order_details.json index 531078a4..619ec48b 100644 --- a/e2e/src/fixtures/1.6/order_details.json +++ b/e2e/src/fixtures/1.6/order_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 5, @@ -100,7 +100,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 6, @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 7, @@ -140,7 +140,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 8, @@ -160,7 +160,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 9, @@ -180,7 +180,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 10, @@ -200,7 +200,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 11, @@ -220,7 +220,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 12, @@ -240,7 +240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 13, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 14, @@ -280,7 +280,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 15, diff --git a/e2e/src/fixtures/1.6/order_status_history.json b/e2e/src/fixtures/1.6/order_status_history.json index edf01522..5f92b609 100644 --- a/e2e/src/fixtures/1.6/order_status_history.json +++ b/e2e/src/fixtures/1.6/order_status_history.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -19,7 +19,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -38,7 +38,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -57,7 +57,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -76,7 +76,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 10, @@ -95,7 +95,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 6, @@ -114,7 +114,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 8, diff --git a/e2e/src/fixtures/1.6/orders.json b/e2e/src/fixtures/1.6/orders.json index bc569dee..346878e8 100644 --- a/e2e/src/fixtures/1.6/orders.json +++ b/e2e/src/fixtures/1.6/orders.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 1, @@ -33,7 +33,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 2, @@ -66,7 +66,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 3, @@ -99,7 +99,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 4, @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 5, diff --git a/e2e/src/fixtures/1.6/product_suppliers.json b/e2e/src/fixtures/1.6/product_suppliers.json index 5b19864b..a25e97e3 100644 --- a/e2e/src/fixtures/1.6/product_suppliers.json +++ b/e2e/src/fixtures/1.6/product_suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 7, diff --git a/e2e/src/fixtures/1.6/products.json b/e2e/src/fixtures/1.6/products.json index 34ebbce1..6f2c6a5a 100644 --- a/e2e/src/fixtures/1.6/products.json +++ b/e2e/src/fixtures/1.6/products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -61,7 +61,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -122,7 +122,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -183,7 +183,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -244,7 +244,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -305,7 +305,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -366,7 +366,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -427,7 +427,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -488,7 +488,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -549,7 +549,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -610,7 +610,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -671,7 +671,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -732,7 +732,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -793,7 +793,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -854,7 +854,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -915,7 +915,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -976,7 +976,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1037,7 +1037,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1098,7 +1098,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1159,7 +1159,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1220,7 +1220,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1281,7 +1281,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1342,7 +1342,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1403,7 +1403,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1464,7 +1464,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1525,7 +1525,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1586,7 +1586,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1647,7 +1647,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1708,7 +1708,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1769,7 +1769,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1830,7 +1830,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1891,7 +1891,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1952,7 +1952,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -2013,7 +2013,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -2074,7 +2074,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -2135,7 +2135,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -2196,7 +2196,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -2257,7 +2257,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -2318,7 +2318,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -2379,7 +2379,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -2440,7 +2440,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -2501,7 +2501,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -2562,7 +2562,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -2623,7 +2623,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -2684,7 +2684,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, diff --git a/e2e/src/fixtures/1.6/shops.json b/e2e/src/fixtures/1.6/shops.json index f59330fb..430926cd 100644 --- a/e2e/src/fixtures/1.6/shops.json +++ b/e2e/src/fixtures/1.6/shops.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "shops", "properties": { "created_at": "2024-07-16 15:33:52", diff --git a/e2e/src/fixtures/1.6/specific_prices.json b/e2e/src/fixtures/1.6/specific_prices.json index 7ad27144..6a9a3b49 100644 --- a/e2e/src/fixtures/1.6/specific_prices.json +++ b/e2e/src/fixtures/1.6/specific_prices.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 1, @@ -31,7 +31,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 2, diff --git a/e2e/src/fixtures/1.6/stocks.json b/e2e/src/fixtures/1.6/stocks.json index b0061aaf..2d08f970 100644 --- a/e2e/src/fixtures/1.6/stocks.json +++ b/e2e/src/fixtures/1.6/stocks.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 1, @@ -14,7 +14,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 2, @@ -28,7 +28,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 3, @@ -42,7 +42,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 4, @@ -56,7 +56,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 5, @@ -70,7 +70,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 6, @@ -84,7 +84,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 7, @@ -98,7 +98,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 8, @@ -112,7 +112,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 9, @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 10, @@ -140,7 +140,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 11, @@ -154,7 +154,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 12, @@ -168,7 +168,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 13, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 14, @@ -196,7 +196,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 15, @@ -210,7 +210,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 16, @@ -224,7 +224,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 17, @@ -238,7 +238,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 18, @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 19, @@ -266,7 +266,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 20, @@ -280,7 +280,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 21, @@ -294,7 +294,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 22, @@ -308,7 +308,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 23, @@ -322,7 +322,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 24, @@ -336,7 +336,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 25, @@ -350,7 +350,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 26, @@ -364,7 +364,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 27, @@ -378,7 +378,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 28, @@ -392,7 +392,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 29, @@ -406,7 +406,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 30, @@ -420,7 +420,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 31, @@ -434,7 +434,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 32, @@ -448,7 +448,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 33, @@ -462,7 +462,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 34, @@ -476,7 +476,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 35, @@ -490,7 +490,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 36, @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 37, @@ -518,7 +518,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 38, @@ -532,7 +532,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 39, @@ -546,7 +546,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 40, @@ -560,7 +560,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 41, @@ -574,7 +574,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 42, @@ -588,7 +588,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 43, @@ -602,7 +602,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 44, @@ -616,7 +616,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 45, @@ -630,7 +630,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 46, @@ -644,7 +644,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 47, @@ -658,7 +658,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 48, @@ -672,7 +672,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 49, @@ -686,7 +686,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 50, @@ -700,7 +700,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 51, @@ -714,7 +714,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 52, diff --git a/e2e/src/fixtures/1.6/stores.json b/e2e/src/fixtures/1.6/stores.json index e8b64050..df1501ed 100644 --- a/e2e/src/fixtures/1.6/stores.json +++ b/e2e/src/fixtures/1.6/stores.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 1, @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 2, @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 3, @@ -54,7 +54,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 4, @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 5, diff --git a/e2e/src/fixtures/1.6/suppliers.json b/e2e/src/fixtures/1.6/suppliers.json index 03ba31df..d1dff472 100644 --- a/e2e/src/fixtures/1.6/suppliers.json +++ b/e2e/src/fixtures/1.6/suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 1, diff --git a/e2e/src/fixtures/1.6/themes.json b/e2e/src/fixtures/1.6/themes.json index 2ac43f04..b6d055ee 100644 --- a/e2e/src/fixtures/1.6/themes.json +++ b/e2e/src/fixtures/1.6/themes.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "themes", "properties": { "theme_id": "f3e39421159095f9fb628aea58bd1907", diff --git a/e2e/src/fixtures/1.7/bundles.json b/e2e/src/fixtures/1.7/bundles.json index f55bce58..fac3dce8 100644 --- a/e2e/src/fixtures/1.7/bundles.json +++ b/e2e/src/fixtures/1.7/bundles.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "bundles", "properties": { "id_bundle": "15", @@ -11,7 +11,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "bundles", "properties": { "id_bundle": "15", diff --git a/e2e/src/fixtures/1.7/carrier_details.json b/e2e/src/fixtures/1.7/carrier_details.json index 303de6eb..502f304c 100644 --- a/e2e/src/fixtures/1.7/carrier_details.json +++ b/e2e/src/fixtures/1.7/carrier_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "2", @@ -16,7 +16,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "2", @@ -32,7 +32,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -64,7 +64,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -112,7 +112,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -128,7 +128,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -160,7 +160,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -176,7 +176,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -192,7 +192,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", diff --git a/e2e/src/fixtures/1.7/carriers.json b/e2e/src/fixtures/1.7/carriers.json index f7855f5f..edb2df8d 100644 --- a/e2e/src/fixtures/1.7/carriers.json +++ b/e2e/src/fixtures/1.7/carriers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "3", @@ -30,7 +30,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "4", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "1", @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "2", diff --git a/e2e/src/fixtures/1.7/cart_products.json b/e2e/src/fixtures/1.7/cart_products.json index d5982390..2d245056 100644 --- a/e2e/src/fixtures/1.7/cart_products.json +++ b/e2e/src/fixtures/1.7/cart_products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "3", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/1.7/carts.json b/e2e/src/fixtures/1.7/carts.json index 1de9b0c9..64a6a70d 100644 --- a/e2e/src/fixtures/1.7/carts.json +++ b/e2e/src/fixtures/1.7/carts.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "1", @@ -9,7 +9,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "2", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "3", @@ -27,7 +27,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "4", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/1.7/categories.json b/e2e/src/fixtures/1.7/categories.json index cc8ccc84..92cfea7b 100644 --- a/e2e/src/fixtures/1.7/categories.json +++ b/e2e/src/fixtures/1.7/categories.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "1-en", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "2-en", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "3-en", @@ -54,7 +54,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "4-en", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "5-en", @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "6-en", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "7-en", @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "8-en", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "9-en", diff --git a/e2e/src/fixtures/1.7/currencies.json b/e2e/src/fixtures/1.7/currencies.json index d79ba8de..780dc095 100644 --- a/e2e/src/fixtures/1.7/currencies.json +++ b/e2e/src/fixtures/1.7/currencies.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 2, diff --git a/e2e/src/fixtures/1.7/customers.json b/e2e/src/fixtures/1.7/customers.json index 926434b1..06a16dca 100644 --- a/e2e/src/fixtures/1.7/customers.json +++ b/e2e/src/fixtures/1.7/customers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 2, diff --git a/e2e/src/fixtures/1.7/employees.json b/e2e/src/fixtures/1.7/employees.json index ce394550..cb046d42 100644 --- a/e2e/src/fixtures/1.7/employees.json +++ b/e2e/src/fixtures/1.7/employees.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "employees", "properties": { "id_employee": 1, diff --git a/e2e/src/fixtures/1.7/image_types.json b/e2e/src/fixtures/1.7/image_types.json index 95ccc811..7d0cba7f 100644 --- a/e2e/src/fixtures/1.7/image_types.json +++ b/e2e/src/fixtures/1.7/image_types.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 1, @@ -15,7 +15,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 2, @@ -30,7 +30,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 3, @@ -45,7 +45,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 4, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 5, @@ -75,7 +75,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 6, @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 7, diff --git a/e2e/src/fixtures/1.7/images.json b/e2e/src/fixtures/1.7/images.json index df5673be..8dea38a2 100644 --- a/e2e/src/fixtures/1.7/images.json +++ b/e2e/src/fixtures/1.7/images.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 23, diff --git a/e2e/src/fixtures/1.7/languages.json b/e2e/src/fixtures/1.7/languages.json index c329e750..7f08db6e 100644 --- a/e2e/src/fixtures/1.7/languages.json +++ b/e2e/src/fixtures/1.7/languages.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "languages", "properties": { "id_lang": 1, diff --git a/e2e/src/fixtures/1.7/manufacturers.json b/e2e/src/fixtures/1.7/manufacturers.json index 6b9b41ac..aa9bdb73 100644 --- a/e2e/src/fixtures/1.7/manufacturers.json +++ b/e2e/src/fixtures/1.7/manufacturers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 1, @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 2, diff --git a/e2e/src/fixtures/1.7/modules.json b/e2e/src/fixtures/1.7/modules.json index 6f17b43d..fdbb20db 100644 --- a/e2e/src/fixtures/1.7/modules.json +++ b/e2e/src/fixtures/1.7/modules.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "2", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "3", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "4", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "5", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "6", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "7", @@ -84,7 +84,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "8", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "9", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "10", @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "11", @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "12", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "13", @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "14", @@ -168,7 +168,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "15", @@ -180,7 +180,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "16", @@ -192,7 +192,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "17", @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "18", @@ -216,7 +216,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "19", @@ -228,7 +228,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "20", @@ -240,7 +240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "21", @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "22", @@ -264,7 +264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "24", @@ -276,7 +276,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "25", @@ -288,7 +288,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "26", @@ -300,7 +300,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "27", @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "28", @@ -324,7 +324,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "29", @@ -336,7 +336,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "30", @@ -348,7 +348,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "31", @@ -360,7 +360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "32", @@ -372,7 +372,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "33", @@ -384,7 +384,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "34", @@ -396,7 +396,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "35", @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "36", @@ -420,7 +420,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "37", @@ -432,7 +432,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "38", @@ -444,7 +444,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "39", @@ -456,7 +456,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "40", @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "41", @@ -480,7 +480,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "42", @@ -492,7 +492,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "43", @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "44", @@ -516,7 +516,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "45", @@ -528,7 +528,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "46", @@ -540,7 +540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "47", @@ -552,7 +552,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "48", @@ -564,7 +564,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "49", @@ -576,7 +576,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "50", @@ -588,7 +588,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "51", @@ -600,7 +600,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "52", @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "53", @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "54", @@ -636,7 +636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "55", @@ -648,7 +648,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "56", @@ -660,7 +660,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "57", @@ -672,7 +672,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "58", @@ -684,7 +684,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "59", @@ -696,7 +696,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "60", @@ -708,7 +708,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "61", @@ -720,7 +720,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "62", @@ -732,7 +732,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "63", @@ -744,7 +744,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "64", diff --git a/e2e/src/fixtures/1.7/order_details.json b/e2e/src/fixtures/1.7/order_details.json index a8673331..36a44a9b 100644 --- a/e2e/src/fixtures/1.7/order_details.json +++ b/e2e/src/fixtures/1.7/order_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 5, @@ -100,7 +100,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 6, @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 7, diff --git a/e2e/src/fixtures/1.7/order_status_history.json b/e2e/src/fixtures/1.7/order_status_history.json index 26990c23..3039affb 100644 --- a/e2e/src/fixtures/1.7/order_status_history.json +++ b/e2e/src/fixtures/1.7/order_status_history.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -19,7 +19,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -38,7 +38,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -57,7 +57,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -76,7 +76,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 10, @@ -95,7 +95,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 6, @@ -114,7 +114,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 8, diff --git a/e2e/src/fixtures/1.7/orders.json b/e2e/src/fixtures/1.7/orders.json index 35c541cd..e1cf8c9a 100644 --- a/e2e/src/fixtures/1.7/orders.json +++ b/e2e/src/fixtures/1.7/orders.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 1, @@ -33,7 +33,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 2, @@ -66,7 +66,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 3, @@ -99,7 +99,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 4, @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 5, diff --git a/e2e/src/fixtures/1.7/product_suppliers.json b/e2e/src/fixtures/1.7/product_suppliers.json index 24ca9df8..f180aff8 100644 --- a/e2e/src/fixtures/1.7/product_suppliers.json +++ b/e2e/src/fixtures/1.7/product_suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 23, @@ -299,7 +299,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 24, @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 25, @@ -325,7 +325,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 26, @@ -338,7 +338,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 27, @@ -351,7 +351,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 28, @@ -364,7 +364,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 29, @@ -377,7 +377,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 30, @@ -390,7 +390,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 31, @@ -403,7 +403,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 32, @@ -416,7 +416,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 33, @@ -429,7 +429,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 34, @@ -442,7 +442,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 35, @@ -455,7 +455,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 36, @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 37, @@ -481,7 +481,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 38, @@ -494,7 +494,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 39, @@ -507,7 +507,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 40, @@ -520,7 +520,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 41, @@ -533,7 +533,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 42, @@ -546,7 +546,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 43, @@ -559,7 +559,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 44, @@ -572,7 +572,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 45, @@ -585,7 +585,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 46, @@ -598,7 +598,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 47, @@ -611,7 +611,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 48, @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 49, @@ -637,7 +637,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 50, @@ -650,7 +650,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 51, @@ -663,7 +663,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 52, @@ -676,7 +676,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 53, @@ -689,7 +689,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 54, @@ -702,7 +702,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 55, @@ -715,7 +715,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 56, @@ -728,7 +728,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 57, @@ -741,7 +741,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 58, @@ -754,7 +754,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 59, @@ -767,7 +767,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 60, @@ -780,7 +780,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 61, @@ -793,7 +793,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 62, @@ -806,7 +806,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 63, @@ -819,7 +819,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 64, @@ -832,7 +832,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 65, @@ -845,7 +845,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 66, @@ -858,7 +858,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 67, @@ -871,7 +871,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 68, @@ -884,7 +884,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 69, @@ -897,7 +897,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 70, diff --git a/e2e/src/fixtures/1.7/products.json b/e2e/src/fixtures/1.7/products.json index 266cd80f..ba544a20 100644 --- a/e2e/src/fixtures/1.7/products.json +++ b/e2e/src/fixtures/1.7/products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -63,7 +63,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -189,7 +189,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -315,7 +315,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -378,7 +378,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -441,7 +441,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -566,7 +566,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -628,7 +628,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -690,7 +690,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -752,7 +752,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -813,7 +813,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -874,7 +874,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -935,7 +935,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -996,7 +996,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1057,7 +1057,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1118,7 +1118,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1179,7 +1179,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1240,7 +1240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1301,7 +1301,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -1360,7 +1360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -1419,7 +1419,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 8, @@ -1478,7 +1478,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 9, @@ -1540,7 +1540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 9, @@ -1602,7 +1602,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 10, @@ -1664,7 +1664,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 10, @@ -1726,7 +1726,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 11, @@ -1788,7 +1788,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 11, @@ -1850,7 +1850,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 12, @@ -1907,7 +1907,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 13, @@ -1964,7 +1964,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 14, @@ -2021,7 +2021,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 15, @@ -2078,7 +2078,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2140,7 +2140,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2202,7 +2202,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2264,7 +2264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2326,7 +2326,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2388,7 +2388,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2450,7 +2450,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2512,7 +2512,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2574,7 +2574,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2636,7 +2636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2698,7 +2698,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2760,7 +2760,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2822,7 +2822,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 19, diff --git a/e2e/src/fixtures/1.7/shops.json b/e2e/src/fixtures/1.7/shops.json index a148cbb8..854c0275 100644 --- a/e2e/src/fixtures/1.7/shops.json +++ b/e2e/src/fixtures/1.7/shops.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "shops", "properties": { "created_at": "2023-12-20 22:56:03", diff --git a/e2e/src/fixtures/1.7/specific_prices.json b/e2e/src/fixtures/1.7/specific_prices.json index f416b4ce..222d03f4 100644 --- a/e2e/src/fixtures/1.7/specific_prices.json +++ b/e2e/src/fixtures/1.7/specific_prices.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 1, @@ -31,7 +31,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 2, diff --git a/e2e/src/fixtures/1.7/stocks.json b/e2e/src/fixtures/1.7/stocks.json index 135f943a..12efb5ae 100644 --- a/e2e/src/fixtures/1.7/stocks.json +++ b/e2e/src/fixtures/1.7/stocks.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 2, @@ -34,7 +34,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 3, @@ -51,7 +51,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 4, @@ -68,7 +68,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 5, @@ -85,7 +85,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 6, @@ -102,7 +102,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 7, @@ -119,7 +119,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 8, @@ -136,7 +136,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 9, @@ -153,7 +153,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 10, @@ -170,7 +170,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 11, @@ -187,7 +187,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 12, @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 13, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 14, @@ -238,7 +238,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 15, @@ -255,7 +255,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 16, @@ -272,7 +272,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 17, @@ -289,7 +289,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 18, @@ -306,7 +306,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 19, @@ -323,7 +323,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 20, @@ -340,7 +340,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 21, @@ -357,7 +357,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 22, @@ -374,7 +374,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 23, @@ -391,7 +391,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 24, @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 25, @@ -425,7 +425,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 26, @@ -442,7 +442,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 27, @@ -459,7 +459,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 28, @@ -476,7 +476,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 29, @@ -493,7 +493,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 30, @@ -510,7 +510,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 31, @@ -527,7 +527,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 32, @@ -544,7 +544,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 33, @@ -561,7 +561,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 34, @@ -578,7 +578,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 35, @@ -595,7 +595,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 36, @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 37, @@ -629,7 +629,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 38, @@ -646,7 +646,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 39, @@ -663,7 +663,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 40, @@ -680,7 +680,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 41, @@ -697,7 +697,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 42, @@ -714,7 +714,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 43, @@ -731,7 +731,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 44, @@ -748,7 +748,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 45, @@ -765,7 +765,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 46, @@ -782,7 +782,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 47, @@ -799,7 +799,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 48, @@ -816,7 +816,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 49, @@ -833,7 +833,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 50, @@ -850,7 +850,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 51, @@ -867,7 +867,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 52, @@ -884,7 +884,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 53, @@ -901,7 +901,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 54, @@ -918,7 +918,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 55, @@ -935,7 +935,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 56, @@ -952,7 +952,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 57, @@ -969,7 +969,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 58, diff --git a/e2e/src/fixtures/1.7/stores.json b/e2e/src/fixtures/1.7/stores.json index a9d18f03..d4f07ffc 100644 --- a/e2e/src/fixtures/1.7/stores.json +++ b/e2e/src/fixtures/1.7/stores.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 5, diff --git a/e2e/src/fixtures/1.7/suppliers.json b/e2e/src/fixtures/1.7/suppliers.json index e155e211..0d869afe 100644 --- a/e2e/src/fixtures/1.7/suppliers.json +++ b/e2e/src/fixtures/1.7/suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 2, diff --git a/e2e/src/fixtures/1.7/themes.json b/e2e/src/fixtures/1.7/themes.json index 3d935349..15884f3e 100644 --- a/e2e/src/fixtures/1.7/themes.json +++ b/e2e/src/fixtures/1.7/themes.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "themes", "properties": { "theme_id": "f3d64714d1f6e7f71558d4252e84ab58", diff --git a/e2e/src/fixtures/8/bundles.json b/e2e/src/fixtures/8/bundles.json index f55bce58..fac3dce8 100644 --- a/e2e/src/fixtures/8/bundles.json +++ b/e2e/src/fixtures/8/bundles.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "bundles", "properties": { "id_bundle": "15", @@ -11,7 +11,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "bundles", "properties": { "id_bundle": "15", diff --git a/e2e/src/fixtures/8/carrier_details.json b/e2e/src/fixtures/8/carrier_details.json index ed03936c..68f95f5e 100644 --- a/e2e/src/fixtures/8/carrier_details.json +++ b/e2e/src/fixtures/8/carrier_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "2", @@ -16,7 +16,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "2", @@ -32,7 +32,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -64,7 +64,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -112,7 +112,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "3", @@ -128,7 +128,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -160,7 +160,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -176,7 +176,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -192,7 +192,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", diff --git a/e2e/src/fixtures/8/carriers.json b/e2e/src/fixtures/8/carriers.json index 59c64119..2315ed6b 100644 --- a/e2e/src/fixtures/8/carriers.json +++ b/e2e/src/fixtures/8/carriers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "1", @@ -31,10 +31,10 @@ "currency": "EUR", "weight_unit": "kg" }, - "action": "add" + "action": "upsert" }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "2", @@ -65,10 +65,10 @@ "currency": "EUR", "weight_unit": "kg" }, - "action": "add" + "action": "upsert" }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "3", @@ -99,10 +99,10 @@ "currency": "EUR", "weight_unit": "kg" }, - "action": "add" + "action": "upsert" }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { "id_carrier": "4", @@ -133,6 +133,6 @@ "currency": "EUR", "weight_unit": "kg" }, - "action": "add" + "action": "upsert" } ] diff --git a/e2e/src/fixtures/8/cart_products.json b/e2e/src/fixtures/8/cart_products.json index d5982390..2d245056 100644 --- a/e2e/src/fixtures/8/cart_products.json +++ b/e2e/src/fixtures/8/cart_products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "3", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/8/carts.json b/e2e/src/fixtures/8/carts.json index c23d4c63..97934640 100644 --- a/e2e/src/fixtures/8/carts.json +++ b/e2e/src/fixtures/8/carts.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "1", @@ -9,7 +9,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "2", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "3", @@ -27,7 +27,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "4", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/8/categories.json b/e2e/src/fixtures/8/categories.json index 6a6290a3..014a4830 100644 --- a/e2e/src/fixtures/8/categories.json +++ b/e2e/src/fixtures/8/categories.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "1-en", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "2-en", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "3-en", @@ -54,7 +54,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "4-en", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "5-en", @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "6-en", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "7-en", @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "8-en", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "9-en", diff --git a/e2e/src/fixtures/8/currencies.json b/e2e/src/fixtures/8/currencies.json index 90f3c14d..c936a1f2 100644 --- a/e2e/src/fixtures/8/currencies.json +++ b/e2e/src/fixtures/8/currencies.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 2, diff --git a/e2e/src/fixtures/8/customers.json b/e2e/src/fixtures/8/customers.json index c05ed4ac..fdaac1b6 100644 --- a/e2e/src/fixtures/8/customers.json +++ b/e2e/src/fixtures/8/customers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 2, diff --git a/e2e/src/fixtures/8/employees.json b/e2e/src/fixtures/8/employees.json index ce394550..cb046d42 100644 --- a/e2e/src/fixtures/8/employees.json +++ b/e2e/src/fixtures/8/employees.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "employees", "properties": { "id_employee": 1, diff --git a/e2e/src/fixtures/8/image_types.json b/e2e/src/fixtures/8/image_types.json index 95ccc811..7d0cba7f 100644 --- a/e2e/src/fixtures/8/image_types.json +++ b/e2e/src/fixtures/8/image_types.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 1, @@ -15,7 +15,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 2, @@ -30,7 +30,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 3, @@ -45,7 +45,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 4, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 5, @@ -75,7 +75,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 6, @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 7, diff --git a/e2e/src/fixtures/8/images.json b/e2e/src/fixtures/8/images.json index df5673be..8dea38a2 100644 --- a/e2e/src/fixtures/8/images.json +++ b/e2e/src/fixtures/8/images.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 23, diff --git a/e2e/src/fixtures/8/languages.json b/e2e/src/fixtures/8/languages.json index c329e750..7f08db6e 100644 --- a/e2e/src/fixtures/8/languages.json +++ b/e2e/src/fixtures/8/languages.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "languages", "properties": { "id_lang": 1, diff --git a/e2e/src/fixtures/8/manufacturers.json b/e2e/src/fixtures/8/manufacturers.json index f1cf88e4..7a5409ec 100644 --- a/e2e/src/fixtures/8/manufacturers.json +++ b/e2e/src/fixtures/8/manufacturers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 1, @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 2, diff --git a/e2e/src/fixtures/8/modules.json b/e2e/src/fixtures/8/modules.json index 9c04f52b..8b07c229 100644 --- a/e2e/src/fixtures/8/modules.json +++ b/e2e/src/fixtures/8/modules.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "2", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "3", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "4", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "5", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "6", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "7", @@ -84,7 +84,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "8", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "9", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "10", @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "11", @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "12", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "13", @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "14", @@ -168,7 +168,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "15", @@ -180,7 +180,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "16", @@ -192,7 +192,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "17", @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "18", @@ -216,7 +216,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "19", @@ -228,7 +228,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "20", @@ -240,7 +240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "21", @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "22", @@ -264,7 +264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "23", @@ -276,7 +276,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "25", @@ -288,7 +288,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "26", @@ -300,7 +300,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "27", @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "28", @@ -324,7 +324,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "29", @@ -336,7 +336,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "30", @@ -348,7 +348,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "31", @@ -360,7 +360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "32", @@ -372,7 +372,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "33", @@ -384,7 +384,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "34", @@ -396,7 +396,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "35", @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "36", @@ -420,7 +420,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "37", @@ -432,7 +432,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "38", @@ -444,7 +444,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "39", @@ -456,7 +456,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "40", @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "41", @@ -480,7 +480,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "42", @@ -492,7 +492,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "43", @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "44", @@ -516,7 +516,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "45", @@ -528,7 +528,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "46", @@ -540,7 +540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "47", @@ -552,7 +552,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "48", @@ -564,7 +564,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "49", @@ -576,7 +576,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "50", @@ -588,7 +588,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "51", @@ -600,7 +600,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "52", @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "53", @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "54", @@ -636,7 +636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "55", @@ -648,7 +648,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "56", @@ -660,7 +660,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "57", @@ -672,7 +672,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "58", @@ -684,7 +684,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "59", @@ -696,7 +696,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "60", @@ -708,7 +708,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "61", @@ -720,7 +720,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "62", @@ -732,7 +732,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "63", @@ -744,7 +744,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "64", @@ -756,7 +756,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "65", @@ -768,7 +768,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "66", @@ -780,7 +780,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "67", @@ -792,7 +792,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "68", @@ -804,7 +804,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "69", diff --git a/e2e/src/fixtures/8/order_details.json b/e2e/src/fixtures/8/order_details.json index a8673331..36a44a9b 100644 --- a/e2e/src/fixtures/8/order_details.json +++ b/e2e/src/fixtures/8/order_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 5, @@ -100,7 +100,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 6, @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 7, diff --git a/e2e/src/fixtures/8/order_status_history.json b/e2e/src/fixtures/8/order_status_history.json index a8c1a430..60575de7 100644 --- a/e2e/src/fixtures/8/order_status_history.json +++ b/e2e/src/fixtures/8/order_status_history.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -19,7 +19,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -38,7 +38,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -57,7 +57,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -76,7 +76,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 10, @@ -95,7 +95,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 6, @@ -114,7 +114,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 8, diff --git a/e2e/src/fixtures/8/orders.json b/e2e/src/fixtures/8/orders.json index ddf1b0df..312c9619 100644 --- a/e2e/src/fixtures/8/orders.json +++ b/e2e/src/fixtures/8/orders.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 1, @@ -33,7 +33,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 2, @@ -66,7 +66,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 3, @@ -99,7 +99,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 4, @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 5, diff --git a/e2e/src/fixtures/8/product_suppliers.json b/e2e/src/fixtures/8/product_suppliers.json index 1b851b38..72ee278d 100644 --- a/e2e/src/fixtures/8/product_suppliers.json +++ b/e2e/src/fixtures/8/product_suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 23, @@ -299,7 +299,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 24, @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 25, @@ -325,7 +325,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 26, @@ -338,7 +338,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 27, @@ -351,7 +351,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 28, @@ -364,7 +364,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 29, @@ -377,7 +377,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 30, @@ -390,7 +390,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 31, @@ -403,7 +403,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 32, @@ -416,7 +416,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 33, @@ -429,7 +429,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 34, @@ -442,7 +442,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 35, @@ -455,7 +455,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 36, @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 37, @@ -481,7 +481,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 38, @@ -494,7 +494,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 39, @@ -507,7 +507,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 40, @@ -520,7 +520,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 41, @@ -533,7 +533,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 42, @@ -546,7 +546,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 43, @@ -559,7 +559,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 44, @@ -572,7 +572,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 45, @@ -585,7 +585,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 46, @@ -598,7 +598,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 47, @@ -611,7 +611,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 48, @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 49, @@ -637,7 +637,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 50, @@ -650,7 +650,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 51, @@ -663,7 +663,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 52, @@ -676,7 +676,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 53, @@ -689,7 +689,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 54, @@ -702,7 +702,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 55, @@ -715,7 +715,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 56, @@ -728,7 +728,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 57, @@ -741,7 +741,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 58, @@ -754,7 +754,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 59, @@ -767,7 +767,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 60, @@ -780,7 +780,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 61, @@ -793,7 +793,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 62, @@ -806,7 +806,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 63, @@ -819,7 +819,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 64, @@ -832,7 +832,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 65, @@ -845,7 +845,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 66, @@ -858,7 +858,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 67, @@ -871,7 +871,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 68, @@ -884,7 +884,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 69, @@ -897,7 +897,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 70, @@ -910,7 +910,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 71, @@ -923,7 +923,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 72, @@ -936,7 +936,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 73, diff --git a/e2e/src/fixtures/8/products.json b/e2e/src/fixtures/8/products.json index a2ed1ee9..d6ee1349 100644 --- a/e2e/src/fixtures/8/products.json +++ b/e2e/src/fixtures/8/products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -63,7 +63,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -189,7 +189,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -315,7 +315,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -378,7 +378,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -441,7 +441,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -566,7 +566,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -628,7 +628,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -690,7 +690,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -752,7 +752,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -813,7 +813,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -874,7 +874,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -935,7 +935,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -996,7 +996,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1057,7 +1057,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1118,7 +1118,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1179,7 +1179,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1240,7 +1240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1301,7 +1301,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -1360,7 +1360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -1419,7 +1419,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 8, @@ -1478,7 +1478,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 9, @@ -1540,7 +1540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 9, @@ -1602,7 +1602,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 10, @@ -1664,7 +1664,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 10, @@ -1726,7 +1726,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 11, @@ -1788,7 +1788,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 11, @@ -1850,7 +1850,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 12, @@ -1907,7 +1907,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 13, @@ -1964,7 +1964,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 14, @@ -2021,7 +2021,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 15, @@ -2078,7 +2078,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2140,7 +2140,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2202,7 +2202,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2264,7 +2264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2326,7 +2326,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2388,7 +2388,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2450,7 +2450,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2512,7 +2512,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2574,7 +2574,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2636,7 +2636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2698,7 +2698,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2760,7 +2760,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2822,7 +2822,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 19, diff --git a/e2e/src/fixtures/8/shops.json b/e2e/src/fixtures/8/shops.json index 9f2745c6..8ee1c151 100644 --- a/e2e/src/fixtures/8/shops.json +++ b/e2e/src/fixtures/8/shops.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "shops", "properties": { "created_at": "2024-08-22T12:27:09+0200", diff --git a/e2e/src/fixtures/8/specific_prices.json b/e2e/src/fixtures/8/specific_prices.json index f416b4ce..222d03f4 100644 --- a/e2e/src/fixtures/8/specific_prices.json +++ b/e2e/src/fixtures/8/specific_prices.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 1, @@ -31,7 +31,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 2, diff --git a/e2e/src/fixtures/8/stocks.json b/e2e/src/fixtures/8/stocks.json index 135f943a..12efb5ae 100644 --- a/e2e/src/fixtures/8/stocks.json +++ b/e2e/src/fixtures/8/stocks.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 2, @@ -34,7 +34,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 3, @@ -51,7 +51,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 4, @@ -68,7 +68,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 5, @@ -85,7 +85,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 6, @@ -102,7 +102,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 7, @@ -119,7 +119,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 8, @@ -136,7 +136,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 9, @@ -153,7 +153,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 10, @@ -170,7 +170,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 11, @@ -187,7 +187,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 12, @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 13, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 14, @@ -238,7 +238,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 15, @@ -255,7 +255,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 16, @@ -272,7 +272,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 17, @@ -289,7 +289,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 18, @@ -306,7 +306,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 19, @@ -323,7 +323,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 20, @@ -340,7 +340,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 21, @@ -357,7 +357,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 22, @@ -374,7 +374,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 23, @@ -391,7 +391,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 24, @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 25, @@ -425,7 +425,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 26, @@ -442,7 +442,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 27, @@ -459,7 +459,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 28, @@ -476,7 +476,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 29, @@ -493,7 +493,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 30, @@ -510,7 +510,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 31, @@ -527,7 +527,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 32, @@ -544,7 +544,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 33, @@ -561,7 +561,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 34, @@ -578,7 +578,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 35, @@ -595,7 +595,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 36, @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 37, @@ -629,7 +629,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 38, @@ -646,7 +646,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 39, @@ -663,7 +663,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 40, @@ -680,7 +680,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 41, @@ -697,7 +697,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 42, @@ -714,7 +714,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 43, @@ -731,7 +731,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 44, @@ -748,7 +748,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 45, @@ -765,7 +765,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 46, @@ -782,7 +782,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 47, @@ -799,7 +799,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 48, @@ -816,7 +816,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 49, @@ -833,7 +833,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 50, @@ -850,7 +850,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 51, @@ -867,7 +867,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 52, @@ -884,7 +884,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 53, @@ -901,7 +901,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 54, @@ -918,7 +918,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 55, @@ -935,7 +935,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 56, @@ -952,7 +952,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 57, @@ -969,7 +969,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 58, diff --git a/e2e/src/fixtures/8/stores.json b/e2e/src/fixtures/8/stores.json index f704b726..15159b88 100644 --- a/e2e/src/fixtures/8/stores.json +++ b/e2e/src/fixtures/8/stores.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 5, diff --git a/e2e/src/fixtures/8/suppliers.json b/e2e/src/fixtures/8/suppliers.json index 13111302..8edfef88 100644 --- a/e2e/src/fixtures/8/suppliers.json +++ b/e2e/src/fixtures/8/suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 2, diff --git a/e2e/src/fixtures/8/themes.json b/e2e/src/fixtures/8/themes.json index d5e4b49a..dd4040cb 100644 --- a/e2e/src/fixtures/8/themes.json +++ b/e2e/src/fixtures/8/themes.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "themes", "properties": { "theme_id": "f3d64714d1f6e7f71558d4252e84ab58", diff --git a/e2e/src/fixtures/9/bundles.json b/e2e/src/fixtures/9/bundles.json index 47fa2ad6..4ac3d9ad 100644 --- a/e2e/src/fixtures/9/bundles.json +++ b/e2e/src/fixtures/9/bundles.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "bundles", "properties": { "id_bundle": 15, @@ -11,7 +11,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "bundles", "properties": { "id_bundle": 15, diff --git a/e2e/src/fixtures/9/carrier_details.json b/e2e/src/fixtures/9/carrier_details.json index 0a08d120..2c206edd 100644 --- a/e2e/src/fixtures/9/carrier_details.json +++ b/e2e/src/fixtures/9/carrier_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -34,7 +34,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -51,7 +51,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -68,7 +68,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -85,7 +85,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -102,7 +102,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -119,7 +119,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -136,7 +136,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -153,7 +153,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -170,7 +170,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -187,7 +187,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { "id_reference": "4", @@ -203,7 +203,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { @@ -220,7 +220,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carrier_details", "properties": { diff --git a/e2e/src/fixtures/9/carriers.json b/e2e/src/fixtures/9/carriers.json index f2fe5f98..4332f5aa 100644 --- a/e2e/src/fixtures/9/carriers.json +++ b/e2e/src/fixtures/9/carriers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { @@ -31,7 +31,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { @@ -62,7 +62,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { @@ -93,7 +93,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carriers", "properties": { diff --git a/e2e/src/fixtures/9/cart_products.json b/e2e/src/fixtures/9/cart_products.json index d5982390..2d245056 100644 --- a/e2e/src/fixtures/9/cart_products.json +++ b/e2e/src/fixtures/9/cart_products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "1", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "2", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "3", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "4", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "cart_products", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/9/carts.json b/e2e/src/fixtures/9/carts.json index 7afe29e9..6e68aab8 100644 --- a/e2e/src/fixtures/9/carts.json +++ b/e2e/src/fixtures/9/carts.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "1", @@ -9,7 +9,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "2", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "3", @@ -27,7 +27,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "4", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "carts", "properties": { "id_cart": "5", diff --git a/e2e/src/fixtures/9/categories.json b/e2e/src/fixtures/9/categories.json index 0fa7db1d..80f587d5 100644 --- a/e2e/src/fixtures/9/categories.json +++ b/e2e/src/fixtures/9/categories.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "1-en", @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "2-en", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "3-en", @@ -54,7 +54,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "4-en", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "5-en", @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "6-en", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "7-en", @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "8-en", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "categories", "properties": { "unique_category_id": "9-en", diff --git a/e2e/src/fixtures/9/currencies.json b/e2e/src/fixtures/9/currencies.json index 906f4d7c..7c488699 100644 --- a/e2e/src/fixtures/9/currencies.json +++ b/e2e/src/fixtures/9/currencies.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "currencies", "properties": { "id_currency": 2, diff --git a/e2e/src/fixtures/9/customers.json b/e2e/src/fixtures/9/customers.json index d44c1168..a137a525 100644 --- a/e2e/src/fixtures/9/customers.json +++ b/e2e/src/fixtures/9/customers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "customers", "properties": { "id_customer": 2, diff --git a/e2e/src/fixtures/9/employees.json b/e2e/src/fixtures/9/employees.json index 960dbff6..07be19f2 100644 --- a/e2e/src/fixtures/9/employees.json +++ b/e2e/src/fixtures/9/employees.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "employees", "properties": { "id_employee": 1, diff --git a/e2e/src/fixtures/9/image_types.json b/e2e/src/fixtures/9/image_types.json index 95ccc811..7d0cba7f 100644 --- a/e2e/src/fixtures/9/image_types.json +++ b/e2e/src/fixtures/9/image_types.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 1, @@ -15,7 +15,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 2, @@ -30,7 +30,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 3, @@ -45,7 +45,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 4, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 5, @@ -75,7 +75,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 6, @@ -90,7 +90,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "image_types", "properties": { "id_image_type": 7, diff --git a/e2e/src/fixtures/9/images.json b/e2e/src/fixtures/9/images.json index df5673be..8dea38a2 100644 --- a/e2e/src/fixtures/9/images.json +++ b/e2e/src/fixtures/9/images.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "images", "properties": { "id_image": 23, diff --git a/e2e/src/fixtures/9/languages.json b/e2e/src/fixtures/9/languages.json index c329e750..7f08db6e 100644 --- a/e2e/src/fixtures/9/languages.json +++ b/e2e/src/fixtures/9/languages.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "languages", "properties": { "id_lang": 1, diff --git a/e2e/src/fixtures/9/manufacturers.json b/e2e/src/fixtures/9/manufacturers.json index c4a0e2f8..b1cffbfd 100644 --- a/e2e/src/fixtures/9/manufacturers.json +++ b/e2e/src/fixtures/9/manufacturers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 1, @@ -18,7 +18,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "manufacturers", "properties": { "id_manufacturer": 2, diff --git a/e2e/src/fixtures/9/modules.json b/e2e/src/fixtures/9/modules.json index 10404280..e7b724d4 100644 --- a/e2e/src/fixtures/9/modules.json +++ b/e2e/src/fixtures/9/modules.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "1", @@ -12,7 +12,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "2", @@ -24,7 +24,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "3", @@ -36,7 +36,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "4", @@ -48,7 +48,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "5", @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "6", @@ -72,7 +72,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "7", @@ -84,7 +84,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "8", @@ -96,7 +96,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "9", @@ -108,7 +108,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "10", @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "11", @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "12", @@ -144,7 +144,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "13", @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "14", @@ -168,7 +168,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "15", @@ -180,7 +180,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "16", @@ -192,7 +192,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "17", @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "18", @@ -216,7 +216,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "19", @@ -228,7 +228,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "20", @@ -240,7 +240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "21", @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "22", @@ -264,7 +264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "23", @@ -276,7 +276,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "25", @@ -288,7 +288,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "26", @@ -300,7 +300,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "27", @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "28", @@ -324,7 +324,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "29", @@ -336,7 +336,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "30", @@ -348,7 +348,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "31", @@ -360,7 +360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "32", @@ -372,7 +372,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "33", @@ -384,7 +384,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "34", @@ -396,7 +396,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "35", @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "36", @@ -420,7 +420,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "37", @@ -432,7 +432,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "38", @@ -444,7 +444,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "39", @@ -456,7 +456,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "40", @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "41", @@ -480,7 +480,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "42", @@ -492,7 +492,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "43", @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "44", @@ -516,7 +516,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "45", @@ -528,7 +528,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "46", @@ -540,7 +540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "47", @@ -552,7 +552,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "48", @@ -564,7 +564,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "49", @@ -576,7 +576,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "50", @@ -588,7 +588,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "51", @@ -600,7 +600,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "52", @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "53", @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "54", @@ -636,7 +636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "55", @@ -648,7 +648,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "56", @@ -660,7 +660,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "57", @@ -672,7 +672,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "58", @@ -684,7 +684,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "59", @@ -696,7 +696,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "60", @@ -708,7 +708,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "61", @@ -720,7 +720,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "62", @@ -732,7 +732,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "63", @@ -744,7 +744,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "64", @@ -756,7 +756,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "65", @@ -768,7 +768,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "66", @@ -780,7 +780,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "67", @@ -792,7 +792,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "68", @@ -804,7 +804,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "69", @@ -816,7 +816,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "modules", "properties": { "module_id": "70", diff --git a/e2e/src/fixtures/9/order_details.json b/e2e/src/fixtures/9/order_details.json index a8673331..36a44a9b 100644 --- a/e2e/src/fixtures/9/order_details.json +++ b/e2e/src/fixtures/9/order_details.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 5, @@ -100,7 +100,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 6, @@ -120,7 +120,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_details", "properties": { "id_order_detail": 7, diff --git a/e2e/src/fixtures/9/order_status_history.json b/e2e/src/fixtures/9/order_status_history.json index 5ac38ca2..c0257455 100644 --- a/e2e/src/fixtures/9/order_status_history.json +++ b/e2e/src/fixtures/9/order_status_history.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -19,7 +19,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -38,7 +38,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -57,7 +57,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 1, @@ -76,7 +76,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 10, @@ -95,7 +95,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 6, @@ -114,7 +114,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "order_status_history", "properties": { "id_order_state": 8, diff --git a/e2e/src/fixtures/9/orders.json b/e2e/src/fixtures/9/orders.json index ad6dff03..155414fb 100644 --- a/e2e/src/fixtures/9/orders.json +++ b/e2e/src/fixtures/9/orders.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 1, @@ -33,7 +33,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 2, @@ -66,7 +66,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 3, @@ -99,7 +99,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 4, @@ -132,7 +132,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "orders", "properties": { "id_order": 5, diff --git a/e2e/src/fixtures/9/product_suppliers.json b/e2e/src/fixtures/9/product_suppliers.json index 1b851b38..72ee278d 100644 --- a/e2e/src/fixtures/9/product_suppliers.json +++ b/e2e/src/fixtures/9/product_suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 1, @@ -13,7 +13,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 2, @@ -26,7 +26,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 3, @@ -39,7 +39,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 4, @@ -52,7 +52,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 5, @@ -65,7 +65,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 6, @@ -78,7 +78,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 7, @@ -91,7 +91,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 8, @@ -104,7 +104,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 9, @@ -117,7 +117,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 10, @@ -130,7 +130,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 11, @@ -143,7 +143,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 12, @@ -156,7 +156,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 13, @@ -169,7 +169,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 14, @@ -182,7 +182,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 15, @@ -195,7 +195,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 16, @@ -208,7 +208,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 17, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 18, @@ -234,7 +234,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 19, @@ -247,7 +247,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 20, @@ -260,7 +260,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 21, @@ -273,7 +273,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 22, @@ -286,7 +286,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 23, @@ -299,7 +299,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 24, @@ -312,7 +312,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 25, @@ -325,7 +325,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 26, @@ -338,7 +338,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 27, @@ -351,7 +351,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 28, @@ -364,7 +364,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 29, @@ -377,7 +377,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 30, @@ -390,7 +390,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 31, @@ -403,7 +403,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 32, @@ -416,7 +416,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 33, @@ -429,7 +429,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 34, @@ -442,7 +442,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 35, @@ -455,7 +455,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 36, @@ -468,7 +468,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 37, @@ -481,7 +481,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 38, @@ -494,7 +494,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 39, @@ -507,7 +507,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 40, @@ -520,7 +520,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 41, @@ -533,7 +533,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 42, @@ -546,7 +546,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 43, @@ -559,7 +559,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 44, @@ -572,7 +572,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 45, @@ -585,7 +585,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 46, @@ -598,7 +598,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 47, @@ -611,7 +611,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 48, @@ -624,7 +624,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 49, @@ -637,7 +637,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 50, @@ -650,7 +650,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 51, @@ -663,7 +663,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 52, @@ -676,7 +676,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 53, @@ -689,7 +689,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 54, @@ -702,7 +702,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 55, @@ -715,7 +715,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 56, @@ -728,7 +728,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 57, @@ -741,7 +741,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 58, @@ -754,7 +754,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 59, @@ -767,7 +767,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 60, @@ -780,7 +780,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 61, @@ -793,7 +793,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 62, @@ -806,7 +806,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 63, @@ -819,7 +819,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 64, @@ -832,7 +832,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 65, @@ -845,7 +845,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 66, @@ -858,7 +858,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 67, @@ -871,7 +871,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 68, @@ -884,7 +884,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 69, @@ -897,7 +897,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 70, @@ -910,7 +910,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 71, @@ -923,7 +923,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 72, @@ -936,7 +936,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "product_suppliers", "properties": { "id_product_supplier": 73, diff --git a/e2e/src/fixtures/9/products.json b/e2e/src/fixtures/9/products.json index c0e204b8..e9dca1b5 100644 --- a/e2e/src/fixtures/9/products.json +++ b/e2e/src/fixtures/9/products.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -63,7 +63,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -126,7 +126,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -189,7 +189,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -252,7 +252,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -315,7 +315,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -378,7 +378,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -441,7 +441,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 1, @@ -504,7 +504,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -566,7 +566,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -628,7 +628,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -690,7 +690,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 2, @@ -752,7 +752,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -813,7 +813,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -874,7 +874,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 3, @@ -935,7 +935,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -996,7 +996,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1057,7 +1057,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 4, @@ -1118,7 +1118,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1179,7 +1179,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1240,7 +1240,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 5, @@ -1301,7 +1301,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 6, @@ -1360,7 +1360,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 7, @@ -1419,7 +1419,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 8, @@ -1478,7 +1478,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 9, @@ -1540,7 +1540,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 9, @@ -1602,7 +1602,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 10, @@ -1664,7 +1664,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 10, @@ -1726,7 +1726,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 11, @@ -1788,7 +1788,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 11, @@ -1850,7 +1850,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 12, @@ -1907,7 +1907,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 13, @@ -1964,7 +1964,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 14, @@ -2021,7 +2021,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 15, @@ -2078,7 +2078,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2140,7 +2140,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2202,7 +2202,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2264,7 +2264,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 16, @@ -2326,7 +2326,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2388,7 +2388,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2450,7 +2450,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2512,7 +2512,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 17, @@ -2574,7 +2574,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2636,7 +2636,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2698,7 +2698,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2760,7 +2760,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 18, @@ -2822,7 +2822,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "products", "properties": { "id_product": 19, diff --git a/e2e/src/fixtures/9/shops.json b/e2e/src/fixtures/9/shops.json index b9eceb8c..08fd4f5d 100644 --- a/e2e/src/fixtures/9/shops.json +++ b/e2e/src/fixtures/9/shops.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "shops", "properties": { "created_at": "2024-06-10 02:27:21", diff --git a/e2e/src/fixtures/9/specific_prices.json b/e2e/src/fixtures/9/specific_prices.json index f416b4ce..222d03f4 100644 --- a/e2e/src/fixtures/9/specific_prices.json +++ b/e2e/src/fixtures/9/specific_prices.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 1, @@ -31,7 +31,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "specific_prices", "properties": { "id_specific_price": 2, diff --git a/e2e/src/fixtures/9/stocks.json b/e2e/src/fixtures/9/stocks.json index 135f943a..12efb5ae 100644 --- a/e2e/src/fixtures/9/stocks.json +++ b/e2e/src/fixtures/9/stocks.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 2, @@ -34,7 +34,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 3, @@ -51,7 +51,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 4, @@ -68,7 +68,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 5, @@ -85,7 +85,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 6, @@ -102,7 +102,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 7, @@ -119,7 +119,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 8, @@ -136,7 +136,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 9, @@ -153,7 +153,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 10, @@ -170,7 +170,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 11, @@ -187,7 +187,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 12, @@ -204,7 +204,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 13, @@ -221,7 +221,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 14, @@ -238,7 +238,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 15, @@ -255,7 +255,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 16, @@ -272,7 +272,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 17, @@ -289,7 +289,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 18, @@ -306,7 +306,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 19, @@ -323,7 +323,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 20, @@ -340,7 +340,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 21, @@ -357,7 +357,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 22, @@ -374,7 +374,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 23, @@ -391,7 +391,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 24, @@ -408,7 +408,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 25, @@ -425,7 +425,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 26, @@ -442,7 +442,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 27, @@ -459,7 +459,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 28, @@ -476,7 +476,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 29, @@ -493,7 +493,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 30, @@ -510,7 +510,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 31, @@ -527,7 +527,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 32, @@ -544,7 +544,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 33, @@ -561,7 +561,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 34, @@ -578,7 +578,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 35, @@ -595,7 +595,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 36, @@ -612,7 +612,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 37, @@ -629,7 +629,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 38, @@ -646,7 +646,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 39, @@ -663,7 +663,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 40, @@ -680,7 +680,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 41, @@ -697,7 +697,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 42, @@ -714,7 +714,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 43, @@ -731,7 +731,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 44, @@ -748,7 +748,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 45, @@ -765,7 +765,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 46, @@ -782,7 +782,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 47, @@ -799,7 +799,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 48, @@ -816,7 +816,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 49, @@ -833,7 +833,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 50, @@ -850,7 +850,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 51, @@ -867,7 +867,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 52, @@ -884,7 +884,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 53, @@ -901,7 +901,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 54, @@ -918,7 +918,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 55, @@ -935,7 +935,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 56, @@ -952,7 +952,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 57, @@ -969,7 +969,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stocks", "properties": { "id_stock_available": 58, diff --git a/e2e/src/fixtures/9/stores.json b/e2e/src/fixtures/9/stores.json index 58e0a3a7..65c3760d 100644 --- a/e2e/src/fixtures/9/stores.json +++ b/e2e/src/fixtures/9/stores.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 1, @@ -20,7 +20,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 2, @@ -40,7 +40,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 3, @@ -60,7 +60,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 4, @@ -80,7 +80,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "stores", "properties": { "id_store": 5, diff --git a/e2e/src/fixtures/9/suppliers.json b/e2e/src/fixtures/9/suppliers.json index 712d41f6..b0060748 100644 --- a/e2e/src/fixtures/9/suppliers.json +++ b/e2e/src/fixtures/9/suppliers.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 1, @@ -17,7 +17,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "suppliers", "properties": { "id_supplier": 2, diff --git a/e2e/src/fixtures/9/themes.json b/e2e/src/fixtures/9/themes.json index d63989cc..411fcd30 100644 --- a/e2e/src/fixtures/9/themes.json +++ b/e2e/src/fixtures/9/themes.json @@ -1,6 +1,6 @@ [ { - "action": "add", + "action": "upsert", "collection": "themes", "properties": { "theme_id": "28d58425ad1994a889cc596050bc52db", @@ -10,7 +10,7 @@ } }, { - "action": "add", + "action": "upsert", "collection": "themes", "properties": { "theme_id": "f3d64714d1f6e7f71558d4252e84ab58",