summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-2747-5413/+7159
| | | | maintenance branch in branches/rel_0_3.
* - added a check for joining from A->B using join(), along twoMike Bayer2007-07-261-0/+6
| | | | | different m2m tables. this raises an error in 0.3 but is possible in 0.4 when aliases are used. [ticket:687]
* mssql: indexes are now quoted when dropping from reflected tables [ticket:684]Rick Morrison2007-07-261-1/+3
|
* mssql: added support for TIME type (simulated via DATETIME col) [ticket:679]Rick Morrison2007-07-261-0/+25
|
* Merged lower case caching, fetching from r2955Jason Kirtland2007-07-201-20/+50
| | | | | Be sure to close rows fetched in reflection (if not autoclosed) Fixed bind test, needed transactional storage engine for mysql
* further adjustment to pool.getMike Bayer2007-07-201-2/+6
|
* - a new mutex that was added in 0.3.9 causes the pool_timeoutMike Bayer2007-07-201-2/+9
| | | | | | | feature to fail during a race condition; threads would raise TimeoutError immediately with no delay if many threads push the pool into overflow at the same time. this issue has been fixed.
* Merged reference fixes from r2986Jason Kirtland2007-07-194-25/+18
|
* Better quoting of identifiers when manipulating schemasJason Kirtland2007-07-193-28/+50
| | | | Merged from r2981
* - merged some more of the SessionTransaction connection-bound checks from 0.4Mike Bayer2007-07-182-3/+12
| | | | | - _BinaryExpression.compare() checks for a base set of "commutative" operators and checks for itself in reverse if so - added ORM-based unit test for the above, fixes [ticket:664]
* - foreign key specs can have any chararcter in their identifiersMike Bayer2007-07-181-1/+1
| | | | [ticket:667]
* Properly escape table names when reflecting for mssql and sqlite [ticket:653]Paul Johnston2007-07-172-8/+6
|
* bind/connectable compat, allow .bind = NoneJason Kirtland2007-07-172-3/+1
| | | | fix import for DBAPIError raise
* Minor cleanups.Jason Kirtland2007-07-171-6/+6
|
* Be specfic when detecting "no table" exceptions.Jason Kirtland2007-07-171-4/+5
|
* - Added basic schema reflection coverage to main testsJason Kirtland2007-07-171-4/+14
| | | | | - Fix stupid mysql typo (#662) - Merged mysql osx/multibyte has_table from 0.4 (r2943)
* - fixed max identifier length on postgres (63) [ticket:571]Gaëtan de Menten2007-07-173-3/+3
| | | | | - fixed doc typo ("in_" operator) - misc indent stuff
* - fixes for connection bound sessions, connection-bound compiled objects via ↵Mike Bayer2007-07-162-15/+21
| | | | metadata
* - fixed "ambiguous column" result detection, when dupe col names existMike Bayer2007-07-151-1/+1
| | | | in a result [ticket:657]
* updated interval type for [ticket:595]Mike Bayer2007-07-151-14/+14
|
* - added friendlier error checking for query.get() with too-short pkMike Bayer2007-07-151-2/+5
| | | | - more docs
* removed printsMike Bayer2007-07-151-2/+0
|
* - more docsMike Bayer2007-07-151-7/+16
| | | | | - got from_statement() to actually work with query, tests were not covering - added auto-labeling of anonymous columns sent to add_column(), tests
* - columns can be overridden in a reflected table with a "key"Mike Bayer2007-07-151-0/+7
| | | | | | attribute different than the column's name, including for primary key columns [ticket:650] - more docs
* - fixed unicode conversion in Oracle TEXT typeMike Bayer2007-07-151-1/+2
|
* - converts cx_oracle datetime objects to Python datetime.datetime whenMike Bayer2007-07-151-0/+17
| | | | Python 2.3 used [ticket:542]
* - mod operator '%' produces MOD [ticket:624]Mike Bayer2007-07-151-0/+7
|
* - more docsMike Bayer2007-07-152-2/+2
| | | | | - query will unique tupled results - fixed [ticket:605] which is for psycopg1 anyway...
* more query methods, overhauliung docs for forwards 0.4 methodMike Bayer2007-07-154-19/+92
|
* - improved ability to get the "correct" and most minimal set of primary keyMike Bayer2007-07-143-30/+92
| | | | | | | columns from a join, equating foreign keys and otherwise equated columns. this is also mostly to help inheritance scenarios formulate the best choice of primary key columns. [ticket:185] - added 'bind' argument to Sequence.create()/drop(), ColumnDefault.execute()
* rearrange sqlite dialect initialization to be able to warn about pysqlite1 ↵Ants Aasma2007-07-141-1/+1
| | | | being too old. fixes #654
* Refinement for r2890, column names should remain unicode.Jason Kirtland2007-07-131-0/+3
|
* - a warning is issued by Mapper when two primary key columns of theMike Bayer2007-07-131-1/+3
| | | | | same name are munged into a single attribute. this happens frequently when mapping to joins (or inheritance).
* - composite primary key is represented as a non-keyed set to allow forMike Bayer2007-07-131-1/+20
| | | | | | composite keys consisting of cols with the same name; occurs within a Join. helps inheritance scenarios formulate correct PK. - ticket #185 reopened. still need to get Join to produce a minmal PK for fk'ed columns
* - Keep reflected strings in the connection encoding, not unicode. For now.Jason Kirtland2007-07-121-10/+7
|
* - the various "engine" arguments, such as "engine", "connectable",Mike Bayer2007-07-124-119/+178
| | | | | | | | | "engine_or_url", "bind_to", etc. are all present, but deprecated. they all get replaced by the single term "bind". you also set the "bind" of MetaData using metadata.bind = <engine or connection>. this is part of 0.4 forwards compatibility where "bind" is the only keyword. [ticket:631]
* Correct error message for concurrent delete exceptions, fixes #586Jason Kirtland2007-07-121-1/+1
|
* dont cache reflected domains, lookup each timeMike Bayer2007-07-121-4/+1
|
* - converted mapper.py unit test to 0.4's four separate mapper.py, query.py, ↵Mike Bayer2007-07-121-15/+29
| | | | | | | | eager_relations.py, lazy_relations.py. tests 0.4 forwards compatibility for [ticket:631] - fixed "reset_joinpoint()" in query to actually work, when the same table appears in two join()s it reuses that same table as a joinpoint the way 0.4 does.
* - Patch up MySQL reflection issues with old server versions, alpha drivers,Jason Kirtland2007-07-121-59/+98
| | | | quoting, and connection encoding.
* mssql: preliminary support for using scope_identity() with pyodbcPaul Johnston2007-07-111-1/+25
|
* mssql now able to reflect start and increment values for identity columnsPaul Johnston2007-07-111-6/+15
|
* further refinements to the previous session.expunge() fixMike Bayer2007-07-102-12/+6
|
* fixed small expunge() bug where object might not be present in sessionMike Bayer2007-07-101-1/+1
|
* changed "_source_column" to simpler "_distance"Mike Bayer2007-07-102-16/+9
|
* more "column targeting" enhancements..columns have a "depth" from their ↵Mike Bayer2007-07-103-9/+23
| | | | ultimate source column so that corresponding_column() can find the column that is "closest" (i.e. fewest levels of proxying) to the requested column
* Fix port option handling for mssql/pyodbc [ticket:634]Rick Morrison2007-07-091-2/+5
|
* - ForeignKey to a table in a schema thats not the default schemaMike Bayer2007-07-081-1/+1
| | | | | | requires the schema to be explicit; i.e. ForeignKey('alt_schema.users.id') - the fix in "schema" above fixes postgres reflection of foreign keys from an alt-schema table to a public schema table
* Tweak docs, very minor DMD compatability tweakJason Kirtland2007-07-061-1/+1
|
* - Deprecated DynamicMetaData- use ThreadLocalMetaData or MetaData insteadJason Kirtland2007-07-063-42/+70
| | | | | - Deprecated BoundMetaData- use MetaData instead - Removed DMD and BMD from documentation