Added code to check if a MySQL function has been defined as an sql parameter for the batchInsert method.