You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '}' at line 1
select meta_title, meta_descr, meta_key from bm_casestudies where code = {code}

Error Text:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '}' at line 1 ....
Query Text:
select meta_title, meta_descr, meta_key from bm_casestudies where code = {code}
Invalid_Query_MyExec