[Subversion] / PEAK / CHANGES.txt  

Diff of /PEAK/CHANGES.txt

Parent Directory | Revision Log

version 2107, Mon Nov 21 04:21:13 2005 UTC version 2248, Mon Dec 25 00:29:02 2006 UTC
Line 1 
Line 1 
 Fixes and Enhancements since Version 0.5 alpha 3  Fixes and Enhancements since Version 0.5 alpha 3
   
    - Added "paramstyle" support for SQL connections, which now have a
      'newParams()' method to create a parameter object, and an
      'addParam(params,value,name=None)' method to add parameters to the 'params'
      object (created via 'newParams()') and return the string that should be used
      to reference the parameter.
   
      This lets you write SQL generation code with embedded parameters using "bind
      variables".  For example, you could do something like this, if 'db' is a SQL
      connection object::
   
           params = db.newParams()
           sql = 'SELECT * FROM foobar WHERE baz='+db.addParam(params, 42)
           rows = db(sql, params)
   
  - The 'peak' script is now an .exe on Windows, using setuptools' "entry point"   - The 'peak' script is now an .exe on Windows, using setuptools' "entry point"
    system.     system.
   


Generate output suitable for use with a patch program
Legend:
Removed from v.2107  
changed lines
  Added in v.2248

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help