def sql(self, stmt, parameters=None, bulk_parameters=None):
if stmt is None:<EOL><INDENT>return None<EOL><DEDENT>data = _create_sql_payload(stmt, parameters, bulk_parameters)<EOL>logger.debug(<EOL>'<STR_LIT>', self.path, data)<EOL>content = self._json_request('<STR_LIT:POST>', self.path, data=data)<EOL>logger.debug("<STR_LIT>", stmt, content)<EOL>return content<EOL>
Execute SQL stmt against the crate server.