1. Scott Torborg
  2. sqlalchemy

Commits

Show all
Author Commit Message Date Builds
Michael Bayer
0.2.8..
Tags
rel_0_2_8
Michael Bayer
- added basic 'zblog' test suite - better error message for mapper orphan detect
Michael Bayer
restored "optimistic" behavior of hasparent. its generally disastrous without that flag as its impossible to load all lazy loaders, deal with attributes that "noload", etc. just to check for orphan status.
Michael Bayer
- unicode fix for startswith()/endswith() [ticket:296]
Michael Bayer
update
Michael Bayer
further fixes to case sensitive logic
Michael Bayer
revised section on quoting, semanticized headings and table of content lists
Michael Bayer
- import of py2.5s sqlite3 [ticket:293]
Michael Bayer
simplification to quoting to just cache strings per-dialect, added quoting for alias and label names fixes [ticket:294]
Michael Bayer
cleanup/unit test fixes
Michael Bayer
- further changes to attributes with regards to "trackparent". the "commit" operation now sets a "hasparent" flag for all attributes to all objects. that way lazy loads via callables get included in trackparent, and eager loads do as well because the mapper calls commit() on all objects at load time. this is a less shaky method than the "optimistic" thing in the previous commit, but uses more memory and involves more overhead. - some tweaks/cleanup to unit tests
Michael Bayer
futher fix to the "orphan state" idea. to avoid setting tons of "hasparent" flags on objects as they are loaded, both from lazy and eager loads, the "orphan" check now uses an "optimistic" flag to determine the result if no "hasparent" flag is found for a particular relationship on an instance. if the instance has an _instance_key and therefore was loaded from the database, it is assumed to not be an orphan unless a "False" hasparent flag has been set. if the…
Michael Bayer
insure that "parent" pointers are set up on objects that were lazily loaded
Michael Bayer
possible fix for [ticket:276]. if mysql detects case-insensitivity, converts tables to lower case names
Michael Bayer
since casing is figured out quasi-automatically when creating table/column/etc, removed casing checks within pg reflection
Michael Bayer
quoting more or less working with oracle
Michael Bayer
fix to from clause in unittest query...somehow this didnt fail on pg 8.0, but fails on 8.1
Michael Bayer
defaults and constraints have optional parent
Michael Bayer
sequence/default adjustments to allow postgres 8.1 tests to function
Michael Bayer
pg formats sequence name, more quote test fixes
Michael Bayer
some tweaks to oracle casing...
Michael Bayer
- added case_sensitive argument to MetaData, Table, Column, determines itself automatically based on if a parent schemaitem has a non-None setting for the flag, or if not, then whether the identifier name is all lower case or not. when set to True, quoting is applied to identifiers with mixed or uppercase identifiers. quoting is also applied automatically in all cases to identifiers that are known to be reserved words or contain other non-standard characters. vario…
Michael Bayer
- deregister Table from MetaData when autoload fails; [ticket:289]
Michael Bayer
- fix to using query.count() with distinct, **kwargs with SelectResults count() [ticket:287]
Michael Bayer
- changed "invalidate" semantics with pooled connection; will instruct the underlying connection record to reconnect the next time its called. "invalidate" will also automatically be called if any error is thrown in the underlying call to connection.cursor(). this will hopefully allow the connection pool to reconnect to a database that had been stopped and started without restarting the connecting application [ticket:121]
Michael Bayer
[ticket:266] constraint name in PrimaryKeyConstraint
Michael Bayer
doc bug [ticket:278]
Michael Bayer
- added "timezone=True" flag to DateTime and Time types. postgres so far will convert this to "TIME[STAMP] (WITH|WITHOUT) TIME ZONE", so that control over timezone presence is more controllable (psycopg2 returns datetimes with tzinfo's if available, which can create confusion against datetimes that dont). [ticket:275]
Michael Bayer
added "dev" tag to default setup some extra README
Michael Bayer
fixed inaccuracies regarding "connectable" parameter sent to create/drop
  1. Prev
  2. Next