Compatibility adapter for model 2.x to becomes compatible with 3.x ORM

Is there somewhere an adapter for cakephp 3.x model to handle 2.x syntax? Like, internally, it just convert syntax like this:

    'conditions' => array('Model.field' => $thisValue),
    'fields' => array('Model.field1', 'DISTINCT Model.field2'),
    'order' => array('Model.created', 'Model.field3 DESC'),
    'group' => array('Model.field'), 
    'limit' => n


->order->(['Model.created', 'Model.field3' => 'DESC'])
->where('Model.field' => $thisValue)

and return executed query ->toArray(). So the model of 2.x, becomes compatible with 3.x.

Many thanks to any advises.

In case someone else facing with the same problem: shim plugin can solve most of issues with compatibility 2.x and 3.x version.
Thanks @neothermic :slight_smile:

It works [out of the box.] (