Error in query: SELECT catalog.name FROM newstyle.catalog WHERE catalog.cat_id = {{tree.catId}}.ERROR: syntax error at or near "{" LINE 1: ...name FROM newstyle.catalog WHERE catalog.cat_id = {{tree.cat... ^