Hello goodgyndfw!
Your file should contain the following code:
bx_import('BxDolDb');
return BxDolDb::getInstance()->query("Your query);