VirtualBox

Changeset 61185 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
May 25, 2016 3:06:08 AM (9 years ago)
Author:
vboxsync
Message:

core/db.py: copyExpert method wrapping copy_exper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/core/db.py

    r56808 r61185  
    154154            oRet = oRet.decode('utf-8');
    155155        return oRet;
     156
     157    def copyExpert(self, sSqlCopyStmt, oFile, cbBuf = 8192):
     158        """ See TMDatabaseConnection.copyExpert()"""
     159        return self._oCursor.copy_expert(sSqlCopyStmt, oFile, cbBuf);
    156160
    157161    @staticmethod
     
    482486        return oRet;
    483487
     488    def copyExpert(self, sSqlCopyStmt, oFile, cbBuf = 8192):
     489        """ Wrapper around Psycopg2.cursor.copy_expert. """
     490        return self._oCursor.copy_expert(sSqlCopyStmt, oFile, cbBuf);
     491
    484492    def getCurrentTimestamps(self):
    485493        """
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette