コード例 #1
0
ファイル: datastore.py プロジェクト: neojiangtw/freenas
 def restore(self, queries):
     """
     Receives a list of SQL queries (usually a database dump)
     and executes it within a transaction.
     """
     return connection.dump_recv(queries)
コード例 #2
0
ファイル: datastore.py プロジェクト: freenas/freenas
 def restore(self, queries):
     """
     Receives a list of SQL queries (usually a database dump)
     and executes it within a transaction.
     """
     return connection.dump_recv(queries)