[Sqlalchemy-commits] [1021] sqlalchemy/trunk/CHANGES: update
Brought to you by:
zzzeek
From: <co...@sq...> - 2006-02-23 02:43:28
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; } #msg dt { float: left; width: 6em; font-weight: bold; } #msg dt:after { content:':';} #msg dl, #msg dt, #msg ul, #msg li { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; } #msg dl a { font-weight: bold} #msg dl a:link { color:#fc3; } #msg dl a:active { color:#ff0; } #msg dl a:visited { color:#cc6; } h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; } #msg ul, pre { overflow: auto; } #patch { width: 100%; } #patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;} #patch .propset h4, #patch .binary h4 {margin:0;} #patch pre {padding:0;line-height:1.2em;margin:0;} #patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;} #patch .propset .diff, #patch .binary .diff {padding:10px 0;} #patch span {display:block;padding:0 10px;} #patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1021] sqlalchemy/trunk/CHANGES: update</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1021</dd> <dt>Author</dt> <dd>zzzeek</dd> <dt>Date</dt> <dd>2006-02-22 20:43:14 -0600 (Wed, 22 Feb 2006)</dd> </dl> <h3>Log Message</h3> <pre>update</pre> <h3>Modified Paths</h3> <ul> <li><a href="#sqlalchemytrunkCHANGES">sqlalchemy/trunk/CHANGES</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="sqlalchemytrunkCHANGES"></a> <div class="modfile"><h4>Modified: sqlalchemy/trunk/CHANGES (1020 => 1021)</h4> <pre class="diff"><span> <span class="info">--- sqlalchemy/trunk/CHANGES 2006-02-23 01:32:26 UTC (rev 1020) +++ sqlalchemy/trunk/CHANGES 2006-02-23 02:43:14 UTC (rev 1021) </span><span class="lines">@@ -1,4 +1,32 @@ </span><span class="cx"> 0.1.1 </span><ins>+- small fix to Function class so that expressions with a func.foo() use the type of the +Function object (i.e. the left side) as the type of the boolean expression, not the +other side which is more of a moving target (changeset 1020). +- creating self-referring mappers with backrefs slightly easier (but still not that easy - +changeset 1019) +- fixes to one-to-one mappings (changeset 1015) +- psycopg1 date/time issue with None fixed (changeset 1005) +- two issues related to postgres, which doesnt want to give you the "lastrowid" +since oids are deprecated: + * postgres database-side defaults that are on primary key cols *do* execute +explicitly beforehand, even though thats not the idea of a PassiveDefault. this is +because sequences on columns get reflected as PassiveDefaults, but need to be explicitly +executed on a primary key col so we know what we just inserted. + * if you did add a row that has a bunch of database-side defaults on it, +and the PassiveDefault thing was working the old way, i.e. they just execute on +the DB side, the "cant get the row back without an OID" exception that occurred +also will not happen unless someone (usually the ORM) explicitly asks for it. +- fixed a glitch with engine.execute_compiled where it was making a second +ResultProxy that just got thrown away. +- began to implement newer logic in object properities. you can now say +myclass.attr.property, which will give you the PropertyLoader corresponding to that +attribute, i.e. myclass.mapper.props['attr'] +- eager loading has been internally overhauled to use aliases at all times. more +complicated chains of eager loads can now be created without any need for explicit +"use aliases"-type instructions. EagerLoader code is also much simpler now. +- a new somewhat experimental flag "use_update" added to relations, indicates that +this relationship should be handled by a second UPDATE statement, either after a +primary INSERT or before a primary DELETE. handles circular row dependencies. </ins><span class="cx"> - added exceptions module, all raised exceptions (except for some </span><span class="cx"> KeyError/AttributeError exceptions) descend from these classes. </span><span class="cx"> - fix to date types with MySQL, returned timedelta converted to datetime.time </span></span></pre> </div> </div> </body> </html> |