0
I Use This!
Inactive

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
May 13, 2023 — May 13, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
- query.one() no longer applies LIMIT to the query, this to ensure that it fully counts all object identities present in the result, even in the case where joins may conceal multiple identities for two or more rows. As a bonus, one() can now also be called with a query that issued from_statement() to start with since it no longer modifies the query. [ticket:1688] More... about 14 years ago
add a note More... about 14 years ago
try to clarify intent some more More... about 14 years ago
- Added an optional C extension to speed up the sql layer by reimplementing the highest impact functions. The actual speedups will depend heavily on your DBAPI and the mix of datatypes used in your tables, and can vary from a 50% improvement to more than 200%. It also provides a modest (~20%) indirect improvement to ORM speed for large queries. Note that it is *not* built/installed by default. See README for installation instructions.
ged
More... about 14 years ago
- Documentation clarification for query.delete() [ticket:1689] More... about 14 years ago
- reduced a bit of overhead in attribute expiration, particularly the version called by column loaders on an incomplete row (i.e. joined table inheritance). there are more dramatic changes that can be made here but this one is conservative so far as far as how much we're altering how InstanceState tracks "expired" attributes. More... about 14 years ago
misc cleanups in tests (courtesy of Michael Bayer's revisiting of my patch)
ged
More... about 14 years ago
- For those who might use debug logging on sqlalchemy.orm.strategies, most logging calls during row loading have been removed. These were never very helpful and cluttered up the code. More... about 14 years ago
commit a note about 2to3 More... about 14 years ago
- Improved the installation/test setup regarding Python 3, now that Distribute runs on Py3k. distribute_setup.py is now included. See README.py3k for Python 3 installation/ testing instructions. More... about 14 years ago
- Changed the beaker cache example a bit to have a separate RelationCache option for lazyload caching. This object does a lookup among any number of potential attributes more efficiently by grouping several into a common structure. Both FromCache and RelationCache are simpler individually. More... about 14 years ago
adding more mapper sections nobody will ever see ! More... about 14 years ago
formatting More... about 14 years ago
since I just got confused over my own serializer module, clarify its purpose More... about 14 years ago
this is beta2 More... about 14 years ago
- Made sqlalchemy.sql.expressions.Executable part of public API, used for any expression construct that can be sent to execute(). FunctionElement now inherits Executable so that it gains execution_options(), which are also propagated to the select() that's generated within execute(). Executable in turn subclasses _Generative which marks any ClauseElement that supports the @_generative decorator - these may also become "public" for the benefit of the compiler extension at some point. More... about 14 years ago
- The type/expression system now does a more complete job of determining the return type from an expression as well as the adaptation of the Python operator into a SQL operator, based on the full left/right/operator of the given expression. In particular the date/time/interval system created for Postgresql EXTRACT in [ticket:1647] has now been generalized into the type system. The previous behavior which often occured of an expression "column + literal" forcing the type of "literal" to be the same as that of "column" will now usually not occur - the type of "literal" is first derived from the Python type of the literal, assuming standard native Python types + date types, before falling back to that of the known type on the other side of the expression. Also part of [ticket:1683]. More... over 14 years ago
slightly simplify/optimize string/unicode bind processor
ged
More... over 14 years ago
- Added "native_datetime=True" flag to create_engine(). This will cause the DATE and TIMESTAMP types to skip all bind parameter and result row processing, under the assumption that PARSE_DECLTYPES has been enabled on the connection. Note that this is not entirely compatible with the "func.current_date()", which will be returned as a string. [ticket:1685] More... over 14 years ago
Fixed bug in session.merge() blocking dict-like collections from merging.
jek
More... over 14 years ago
Fix mysql reflection of TINYINT(1) UNSIGNED columns.
jek
More... over 14 years ago
- Restored the keys() method to ResultProxy. More... over 14 years ago
- Fixed reflection bug whereby when COLLATE was present, nullable flag and server defaults would not be reflected. [ticket:1655] More... over 14 years ago
Fix instance.__eq__() regression in orm attributes.
jek
More... over 14 years ago
Link to the maintained version of the kinterbasdb driver, fixes #1677 More... over 14 years ago
- Query called in the context of an expression will render disambiguating labels in all cases. Note that this does not apply to the existing .statement and .subquery() accessor/method, which still honors the .with_labels() setting that defaults to False. More... over 14 years ago
fix up formatting, add OurSQL More... over 14 years ago
- Now uses sqlalchemy.orm.exc.DetachedInstanceError when an attribute load or refresh action fails due to object being detached from any Session. UnboundExecutionError is specific to engines bound to sessions and statements. More... over 14 years ago
add sql_compiler property to all Compiled subclasses for convenience More... over 14 years ago
dont reference self.statement during compilation More... over 14 years ago