def sql(self, dialect=None, inserts=False, creates=True,
            drops=True, metadata_source=None):
        result = [self.ddl(dialect, creates=creates, drops=drops)]
        if inserts:
            for row in self.inserts(dialect):
                result.append(row)
        return '\n'.join(result)
>>> truncated("hello world!", 5)
dataset/ETHPy150Open catherinedevlin/ddl-generator/ddlgenerator/ddlgenerator.py/Table.sql--crossover with--dataset/ETHPy150Open scrapinghub/splash/splash/utils.py/truncated