1. Yong Choi
  2. sqlalchemy

Commits

Author Commit Message Date Builds
Mike Bayer
- [feature] Added create_type constructor argument to pg.ENUM. When False, no CREATE/DROP or checking for the type will be performed as part of a table create/drop event; only the create()/drop)() methods called directly will do this. Helps with Alembic "offline" scripts.
Mike Bayer
- [bug] Fixed bug whereby TypeDecorator would return a stale value for _type_affinity, when using a TypeDecorator that "switches" types, like the CHAR/UUID type.
Mike Bayer
fix typo [ticket:2334]
Mike Bayer
continue removing misleading/old sections, fix things that are just wrong
Mike Bayer
fix typo [ticket:2334]
Branches
rel_0_6
Mike Bayer
more fixes, more coming
Mike Bayer
- shorten classical mapping, remove some not very clear things - separate the "prefix" thing
Mike Bayer
some more ignores
Mike Bayer
doc styling rework
Mike Bayer
doc styling rework
Branches
rel_0_6
Mike Bayer
add an extra style to help with patches
Branches
rel_0_6
Mike Bayer
- doc updates in loading - de-emphasize contains_alias() which is pretty much a non-use case - add docs for immediateload which have been missing all this time - fix links, formatting
Mike Bayer
call the simply police
Mike Bayer
also add support for onupdate as we'd like this to fire off if an UPDATE actually happens on the table
Mike Bayer
changelog
Mike Bayer
merge tip
Mike Bayer
fixes to actually get tests to pass
Mike Bayer
- commit the unit tests - lots of doc updates to all three of update/insert/delete
Mike Bayer
cleanup
Mike Bayer
passes for all three, includes multi col system with mysql
Mike Bayer
sort of muscling this out, mysql a PITA
Mike Bayer
typo
Mike Bayer
- [bug] further tweak to the fix from [ticket:2261], so that generative methods work a bit better off of cloned (this is almost a non-use case though). In particular this allows with_only_columns() to behave more consistently. Added additional documentation to with_only_columns() to clarify expected behavior, which changed as a result of [ticket:2261]. [ticket:2319] - document the crap out of with_only_columns, include caveats about the change, e…
Mike Bayer
- clarify the purpose of "timezone", alleviate confusion in [ticket:2326]
Mike Bayer
- add tests to try to find the case that [ticket:2221] is looking for. So far, can't find a test where removing that check makes things better. Easy to find tests where removing it makes things worse.
Mike Bayer
- [bug] Unicode adjustments allow latest pymysql (post 0.4) to pass 100% on Python 2.
Mike Bayer
fix this for PG, other on update cascade DBs
Mike Bayer
- attribute system gets a pop() method. - remove() on a scalar object will raise if the object removed is not what was present. - InstanceState can be pickled if obj() is None; this to support the other changes in this commit - only use trackparent flag on attributes if single_parent or ONETOMANY; otherwise we can skip this overhead - attribute hasparent()/sethasparent() check that trackparent is set, else their usage is invalid - [bug] Fixed backref behavior when "popping" the value off of a many-to-one in response to a removal from a stale one-to-many - the operation is skipped, since the many-to-one has since been updated. [ticket:2315] - [bug] After some years of not doing this, added more granularity to the "is X a parent of Y" functionality, which is used when determining if the FK on "Y" needs to be "nulled out" as well as if "Y" should be deleted with delete-orphan cascade. The test now takes into account the Python identity of the parent as well its identity key, to see if the last known parent of Y is definitely X. If …
Mike Bayer
- [bug] Postgresql dialect memoizes that an ENUM of a particular name was processed during a create/drop sequence. This allows a create/drop sequence to work without any calls to "checkfirst", and also means with "checkfirst" turned on it only needs to check for the ENUM once. [ticket:2311]
Mike Bayer
- [bug] Fixed bug whereby a subclass of a subclass using concrete inheritance in conjunction with the new ConcreteBase or AbstractConcreteBase would fail to apply the subclasses deeper than one level to the "polymorphic loader" of each base [ticket:2312] - [bug] Fixed bug whereby a subclass of a subclass using the new AbstractConcreteBase would fail to acquire the correct "base_mapper" attribute when the "base" mapper was generated, thereby causing failures later on. [ticket:2312]
  1. Prev
  2. Next