1. 09 May, 2011 3 commits
  2. 21 Apr, 2011 2 commits
    • Sylvain Thénault's avatar
      adds support for a portable db import/export format (closes: #1521112) · d1c8b5b3531c
      Sylvain Thénault authored
      the db-dump and db-restore cwctl commands are enhanced with a --format option
      (defaults to 'native'). If the format is 'portable', then the system database
      dump / restore is performed using pure SQL queries and the storage uses picked
      Python objects in a zip archive.
      
      --HG--
      branch : stable
      d1c8b5b3531c
    • Alexandre Fayolle's avatar
      add a new method iter_process_result which does the same as proces_result but... · c419c2d0d13e
      Alexandre Fayolle authored
      add a new method iter_process_result which does the same as proces_result but is a generator (closes #1625374)
      
      process_result is reimplemented using the new method, and the two helper
      methods are turned into generators.
      
      These generators use cursor.fetchmany instead of cursor.fetchall after setting
      cursor.arraysize to 100. This means that the whole result set should never
      loaded in memory when using the iter_process_result method. This is used in the
      "portable" database dump implementation when we typically to 'SELECT * FROM
      table', but could probably be used too in other parts of cubicweb.
      
      --HG--
      branch : stable
      c419c2d0d13e
  3. 09 May, 2011 6 commits
  4. 07 May, 2011 2 commits
  5. 06 May, 2011 6 commits
  6. 05 May, 2011 12 commits
  7. 04 May, 2011 3 commits
  8. 03 May, 2011 1 commit
  9. 02 May, 2011 2 commits
  10. 29 Apr, 2011 3 commits