{
    "id": "mysql142-x-statement-result-access",
    "title": "Отправить отчёт и получить все его части через SqlStatement",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Отправка принята",
            true
        ],
        [
            "Строк в разделе «Позиции счёта»",
            2
        ],
        [
            "Первая позиция",
            "Лампа"
        ],
        [
            "Итого, коп.",
            3200
        ],
        [
            "Наборов прочитано через statement",
            3
        ],
        [
            "Строк в служебном завершении",
            0
        ],
        [
            "Остались результаты",
            false
        ],
        [
            "Следующий запрос соединения",
            1
        ]
    ],
    "checks": {
        "async_send_acknowledged": true,
        "details_read": true,
        "invoice_total_read": true,
        "service_completion_consumed": true,
        "next_query_succeeds": true,
        "owned_objects_removed": true
    },
    "observations": {
        "sent": true,
        "sent_type": "bool",
        "headings": [
            "Позиции счёта",
            "Итого",
            "Завершение CALL"
        ],
        "parts": [
            {
                "type": "mysql_xdevapi\\SqlStatementResult",
                "has_data": true,
                "columns": [
                    "title",
                    "qty",
                    "unit_cents"
                ],
                "rows": [
                    {
                        "title": "Лампа",
                        "qty": 2,
                        "unit_cents": 1200
                    },
                    {
                        "title": "Кабель",
                        "qty": 1,
                        "unit_cents": 800
                    }
                ],
                "more": true
            },
            {
                "type": "mysql_xdevapi\\SqlStatementResult",
                "has_data": true,
                "columns": [
                    "total_cents"
                ],
                "rows": [
                    {
                        "total_cents": "3200."
                    }
                ],
                "more": true
            },
            {
                "type": "mysql_xdevapi\\SqlStatementResult",
                "has_data": false,
                "columns": [],
                "rows": [],
                "more": false
            }
        ],
        "after": {
            "ready": 1
        },
        "total_raw": "3200.",
        "total_php_type": "string"
    },
    "runtime": {
        "php": "8.3.35",
        "extension": "8.0.30",
        "server_version": 80413,
        "schema": "php_manual_x139",
        "host": "127.0.0.1",
        "port": 33140
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "mysql142_invoice_lines_3c40b494b9df"
        },
        {
            "type": "PROCEDURE",
            "name": "mysql142_invoice_report_40c7af6165c6"
        }
    ],
    "removed_objects": [
        {
            "type": "PROCEDURE",
            "name": "mysql142_invoice_report_40c7af6165c6"
        },
        {
            "type": "TABLE",
            "name": "mysql142_invoice_lines_3c40b494b9df"
        }
    ]
}
