Результат настоящих запросов через PDO_ODBC. Собственные учебные объекты после наблюдений удалены.
Полученные строки и наблюдения
{
"selected_rows": [
{
"id": "1",
"document": "9007199254740993",
"booked_on": "2026-11-08",
"amount": "1234567890123456.78",
"note": null
},
{
"id": "2",
"document": "9007199254740994",
"booked_on": "2026-11-08",
"amount": "-.10",
"note": ""
},
{
"id": "3",
"document": "9007199254740995",
"booked_on": "2026-11-08",
"amount": ".00",
"note": "0"
}
],
"csv_records": [
[
"id",
"document",
"day",
"amount",
"note_state",
"note"
],
[
"1",
"9007199254740993",
"2026-11-08",
"1234567890123456.78",
"NULL",
""
],
[
"2",
"9007199254740994",
"2026-11-08",
"-0.10",
"EMPTY",
""
],
[
"3",
"9007199254740995",
"2026-11-08",
"0.00",
"VALUE",
"0"
]
],
"sum": "1234567890123456.68",
"php_types": [
{
"id": "string",
"document": "string",
"booked_on": "string",
"amount": "string",
"note": "null"
},
{
"id": "string",
"document": "string",
"booked_on": "string",
"amount": "string",
"note": "string"
},
{
"id": "string",
"document": "string",
"booked_on": "string",
"amount": "string",
"note": "string"
}
]
}
result.json содержит те же данные. Реквизиты входа сюда не записываются.