Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
cleanup most egregiously long lines
Tags
rel_0_6_5
Mike Bayer
- remove remaining create_session() calls from examples, replace with Session - replace all flush()/expunge_all() with commit()
Mike Bayer
- mssql+pymssql dialect now honors the "port" portion of the URL instead of discarding it. [ticket:1952] - testing.only_on() accepts db specs optionally as a list
Mike Bayer
- Rewrote the reflection of indexes to use sys. catalogs, so that column names of any configuration (spaces, embedded commas, etc.) can be reflected. Note that reflection of indexes requires SQL Server 2005 or greater. [ticket:1770]
Mike Bayer
- make a futile attempt to combat the needless usage of clear_mappers() in the wild, [ticket:1861]
Mike Bayer
- Added type_coerce(expr, type_) expression element. Treats the given expression as the given type when evaluating expressions and processing result rows, but does not affect the generation of SQL, other than an anonymous label.
Mike Bayer
- Oracle - the implicit_retunring argument to create_engine() is now honored regardless of detected version of Oracle. Previously, the flag would be forced to False if server version info was < 10. [ticket:1878]
Mike Bayer
fix typo
Mike Bayer
- New Query methods: query.label(name), query.as_scalar(), return the query's statement as a scalar subquery with /without label [ticket:1920]; query.with_entities(*ent), replaces the SELECT list of the query with new entities. Roughly equivalent to a generative form of query.values() which accepts mapped entities as well as column expressions.
Mike Bayer
- A mixin can now specify a column that overrides a column of the same name associated with a superclass. Thanks to Oystein Haaland.
Mike Bayer
- Fixed bug in TypeDecorator whereby the dialect-specific type was getting pulled in to generate the DDL for a given type, which didn't always return the correct result. - TypeDecorator can now have a fully constructed type specified as its "impl", in addition to a type class. - TypeDecorator will now place itself as the resulting type for a binary expression where the type coercion rules would normally return its impl type - previously, a copy of the impl type would be returned which would have the TypeDecorator embedded into it as the "dialect" impl, this was p…
Mike Bayer
- document is_modified() caveats including that the "old" value isn't always present, and that this results in a positive response for "changed" [ticket:1928]
Mike Bayer
- Fixed mysql bug involving reflection of CURRENT_TIMESTAMP default used with ON UPDATE clause, thanks to Taavi Burns [ticket:1940]
Mike Bayer
- Fixed bug which prevented "domain" built from a custom type such as "enum" from being reflected. [ticket:1933]
Mike Bayer
merge tip
Mike Bayer
- Added "as_tuple" flag to pg ARRAY type, returns results as tuples instead of lists to allow hashing.
Mike Bayer
- Fixed bug where aliasing of tables with "schema" would fail to compile properly. [ticket:1943]
jason kirtland
Update for new nose plugin location.
Mike Bayer
- the NoseSQLAlchemyPlugin has been moved to a new package "sqlalchemy_nose" which installs along with "sqlalchemy". This so that the "nosetests" script works as always but also allows the --with-coverage option to turn on coverage before SQLAlchemy modules are imported, allowing coverage to work correctly. - added some new ignores
Mike Bayer
- forgot to add the immediate loader tests
Mike Bayer
edit
Mike Bayer
note expire_on_commit in the docstring for commit() as well
Mike Bayer
- Fixed MSSQL reflection bug which did not properly handle reflection of unknown types. [ticket:1946]
Mike Bayer
- Added a new "lazyload" option "immediateload". Issues the usual "lazy" load operation automatically as the object is populated. The use case here is when loading objects to be placed in an offline cache, or otherwise used after the session isn't available, and straight 'select' loading, not 'joined' or 'subquery', is desired. [ticket:1914]
Mike Bayer
- engine_from_config() now accepts 'debug' for 'echo', 'echo_pool', 'force' for 'convert_unicode', boolean values for 'use_native_unicode'. [ticket:1899]
Mike Bayer
- Fixed labeling bug in Query whereby the NamedTuple would mis-apply labels if any of the column expressions were un-labeled.
chrisw
warn when two classes with the same name end up in the declarative registry
chrisw
document creating indexes for columns in mixins
Mike Bayer
- default compilation of a type will check if the type class's module is inside of sqlalchemy.dialects, in which case that dialect's default will be used instead of DefaultDialect.
Mike Bayer
- added "views=True" option to metadata.reflect(), will add the list of available views to those being reflected. [ticket:1936]
  1. Prev
  2. Next