def to_sql(self, target, *, dialect=None):
    'Export package to SQL\n\n        Parameters:\n            target (any): SQL connection string of engine\n            dialect (dict): SQL dialect\n\n        Returns:\n            SqlStorage: storage\n        '
    storage = system.create_storage('sql', target, dialect=dialect)
    storage.write_package(self.to_copy(), force=True)
    return storage
Export package to SQL

Parameters:
    target (any): SQL connection string of engine
    dialect (dict): SQL dialect

Returns:
    SqlStorage: storage
def to_sql(self, target, *, dialect=None):
    'Export package to SQL\n\n        Parameters:\n            target (any): SQL connection string of engine\n            dialect (dict): SQL dialect\n\n        Returns:\n            SqlStorage: storage\n        '
    storage = system.create_storage('sql', target, dialect=dialect)
    storage.write_package(self.to_copy(), force=True)
    return storage