My first post to this great community!
I made a list type TV and write follwing query in insert options referring
this page.
SELECT id, longtitle FROM {PREFIX}site_content WHERE parent = 2
This was expected to get ids and longtitles from children of document 2, but it actually shows error not finding table ’{PREFIX}site_content’.
{PREFIX} doesn’t get replaced.
I had looked through templvars.commands.inc.php, guessed and use [+PREFIX+] instead. ...And now it’s working fine.
It could be only in my situation, but posting this just in case the documentation isn’t correct.