Ответы получены от MySQL через X Protocol. Созданные программой учебные объекты после чтения удалены.
Строки и дополнительные наблюдения
{
"before": [
{
"_id": "A",
"status": "pending",
"priority": 1
},
{
"_id": "B",
"status": "pending",
"priority": 1
},
{
"_id": "C",
"status": "pending",
"priority": 2
},
{
"_id": "D",
"status": "pending",
"priority": 3
},
{
"_id": "E",
"status": "pending",
"priority": 4
}
],
"after": [
{
"_id": "A",
"status": "published",
"priority": 1
},
{
"_id": "B",
"status": "published",
"priority": 1
},
{
"_id": "C",
"status": "pending",
"priority": 2
},
{
"_id": "D",
"status": "pending",
"priority": 3
},
{
"_id": "E",
"status": "pending",
"priority": 4
}
],
"published_ids": [
"A",
"B"
],
"sort": [
"priority ASC",
"_id ASC"
],
"limit": 2,
"affected": 2
}
Полный JSON результата, включая реальные идентификаторы, сохранён рядом в result.json.