コード例 #1
0
ファイル: datastore.py プロジェクト: neojiangtw/freenas
 def dump(self):
     """
     Dumps the database, returning a list of SQL commands.
     """
     # FIXME: This could return a few hundred KB of data,
     # we need to investigate a way of doing that in chunks.
     return connection.dump()
コード例 #2
0
ファイル: datastore.py プロジェクト: freenas/freenas
 def dump(self):
     """
     Dumps the database, returning a list of SQL commands.
     """
     # FIXME: This could return a few hundred KB of data,
     # we need to investigate a way of doing that in chunks.
     return connection.dump()