{
    "id": "fb161-alias-import-contract",
    "title": "Импорт: связать имена полей с позициями INSERT",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Входных мест INSERT",
            3
        ],
        [
            "Отклонён товар без поля",
            "100: qty"
        ],
        [
            "Сохранены товары",
            "101, 102"
        ],
        [
            "Товар 101",
            "Муфта: 0"
        ],
        [
            "Товар 102",
            "Кабель: 5"
        ],
        [
            "Представление названия",
            "VARCHAR \/ 80 байт"
        ],
        [
            "Порядок ключей входа не повредил поля",
            true
        ],
        [
            "Команда INSERT освобождена",
            true
        ]
    ],
    "checks": {
        "input_count": true,
        "missing_field_rejected": true,
        "ordered_values_saved": true,
        "title_descriptor": true,
        "dml_return_counts": true,
        "query_released": true,
        "owned_objects_removed": true
    },
    "observations": {
        "saved": [
            {
                "id": 101,
                "title": "Муфта",
                "qty": 0
            },
            {
                "id": 102,
                "title": "Кабель",
                "qty": 5
            }
        ],
        "rejected": [
            {
                "id": 100,
                "missing": [
                    "qty"
                ]
            }
        ],
        "input_contract": [
            {
                "position": 0,
                "field": "id",
                "type": "INTEGER",
                "bytes": "4"
            },
            {
                "position": 1,
                "field": "title",
                "type": "VARCHAR",
                "bytes": "80"
            },
            {
                "position": 2,
                "field": "qty",
                "type": "INTEGER",
                "bytes": "4"
            }
        ],
        "execute_returns": [
            1,
            1
        ],
        "business_field_names_are_application_mapping": true
    },
    "runtime": {
        "php": "8.2.35",
        "extension": "3.0.1",
        "server_version": "5.0.4",
        "database": "phpmanual153",
        "transport": "embedded_local_file"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "FB161_IMPORT_F8CC888A95"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "FB161_IMPORT_F8CC888A95"
        }
    ]
}
