[Sqlalchemy-commits] commit/sqlalchemy: 3 new changesets
Brought to you by:
zzzeek
|
From: Bitbucket <com...@bi...> - 2013-08-25 18:24:33
|
3 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/d6ce68727f8a/ Changeset: d6ce68727f8a Branch: None User: zzzeek Date: 2013-08-25 20:03:54 Summary: - The ``version_id_generator`` parameter of ``Mapper`` can now be specified to rely upon server generated version identifiers, using triggers or other database-provided versioning features, by passing the value ``False``. The ORM will use RETURNING when available to immediately load the new version identifier, else it will emit a second SELECT. [ticket:2793] - The ``eager_defaults`` flag of :class:`.Mapper` will now allow the newly generated default values to be fetched using an inline RETURNING clause, rather than a second SELECT statement, for backends that support RETURNING. - Added a new variant to :meth:`.ValuesBase.returning` called :meth:`.ValuesBase.return_defaults`; this allows arbitrary columns to be added to the RETURNING clause of the statement without interfering with the compilers usual "implicit returning" feature, which is used to efficiently fetch newly generated primary key values. For supporting backends, a dictionary of all fetched values is present at :attr:`.ResultProxy.returned_defaults`. - add a glossary entry for RETURNING - add documentation for version id generation, [ticket:867] Affected #: 18 files https://bitbucket.org/zzzeek/sqlalchemy/commits/87f709796640/ Changeset: 87f709796640 Branch: master User: zzzeek Date: 2013-08-25 20:13:03 Summary: - restore constructor docs blown away in the merge Affected #: 1 file https://bitbucket.org/zzzeek/sqlalchemy/commits/be594493e6a6/ Changeset: be594493e6a6 Branch: rel_0_8 User: zzzeek Date: 2013-08-25 20:22:27 Summary: - add version_id documentation [ticket:867] - add the RETURNING glossary entry - other "seealso's" fixed - add doc for eager_defaults option Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |