Pdo tools where issues in modx 3

not sure if its me but i cant get this where to work

    [[pdoResources?
        &where=`{"class_key":"modDocument"}`
    ]]

to work in modx 3 any one else got this problem?

it worked in modx 2

One of these should work:

 [[pdoResources?
     &where=`{"class_key":"MODX\Revolution\modDocument"}`
 ]]
 [[pdoResources?
     &where=`{"class_key":"MODX\\Revolution\\modDocument"}`
 ]]

The class names changed in MODX 3.

this one worked many thanks i did not know that it changed

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.