{
    "id": "mysql143-x-crud-command-contracts",
    "title": "Передать настройку и выполнение через ясные контракты",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Статус до execute",
            "draft"
        ],
        [
            "Статус после execute",
            "published"
        ],
        [
            "Возвращён из bind",
            "mysql_xdevapi\\CollectionModify"
        ],
        [
            "Возвращён из sort",
            "mysql_xdevapi\\CollectionModify"
        ],
        [
            "Возвращён из limit",
            "mysql_xdevapi\\CollectionModify"
        ],
        [
            "Возвращён из execute",
            "mysql_xdevapi\\Result"
        ],
        [
            "Настройки относятся к одному объекту",
            true
        ],
        [
            "Контракт bind",
            true
        ],
        [
            "Контракт limit",
            true
        ],
        [
            "Контракт skip",
            true
        ],
        [
            "Контракт sort",
            true
        ],
        [
            "Контракт execute",
            true
        ]
    ],
    "checks": {
        "deferred_execution": true,
        "real_write": true,
        "other_fields": true,
        "fluent_identity": true,
        "all_interfaces": true,
        "actual_receipt": true,
        "affected": true,
        "owned_objects_removed": true
    },
    "observations": {
        "before_execute": {
            "_id": "LED",
            "name": "Светильник",
            "status": "draft"
        },
        "after_execute": {
            "_id": "LED",
            "name": "Светильник",
            "status": "published"
        },
        "contracts": {
            "bind": true,
            "limit": true,
            "skip": true,
            "sort": true,
            "execute": true
        },
        "return_types": {
            "bind": "mysql_xdevapi\\CollectionModify",
            "sort": "mysql_xdevapi\\CollectionModify",
            "limit": "mysql_xdevapi\\CollectionModify",
            "execute": "mysql_xdevapi\\Result"
        },
        "affected": 1
    },
    "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": "COLLECTION",
            "name": "mysql143_contracts_3ceabf234388"
        }
    ],
    "removed_objects": [
        {
            "type": "COLLECTION",
            "name": "mysql143_contracts_3ceabf234388"
        }
    ]
}
