summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
Commit message (Collapse)AuthorAgeFilesLines
* mssql: - [bug] Fixed bug where reflection of primary key constraintMike Bayer2012-09-305-5/+7
| | | | | | | would double up columns if the same constraint/table existed in multiple schemas. - force returns_rows to False for inserts where we know rows shouldnt be returned; allows post_exec() to use the cursor without issue
* spacingMike Bayer2012-09-301-5/+5
|
* - [bug] Fixed bug in over() construct wherebyMike Bayer2012-09-301-11/+11
| | | | | | | | passing an empty list for either partition_by or order_by, as opposed to None, would fail to generate correctly. Courtesy Gunnlaugur Por Briem. [ticket:2574]
* put this inside a main()Mike Bayer2012-09-301-1/+2
|
* - [bug] Fixed compiler bug whereby using a correlatedMike Bayer2012-09-301-4/+4
| | | | | | | subquery within an ORDER BY would fail to render correctly if the stament also used LIMIT/OFFSET, due to mis-rendering within the ROW_NUMBER() OVER clause. Fix courtesy sayap [ticket:2538]
* - [bug] The CreateIndex construct in OracleMike Bayer2012-09-302-5/+15
| | | | | | | | will now schema-qualify the name of the index to be that of the parent table. Previously this name was omitted which apparently creates the index in the default schema, rather than that of the table.
* - commit Priit Laes docstring fixesMike Bayer2012-09-303-30/+20
| | | | - don't even talk about metadata.bind in declarative
* consolidate config into noseplugin, remove the dupe, load noseplugin using ↵Mike Bayer2012-09-302-205/+192
| | | | imp.load_source(), see if that works
* 2.5 supportMike Bayer2012-09-303-4/+9
|
* also get rid of satest.cfgMike Bayer2012-09-291-1/+1
|
* mergeMike Bayer2012-09-294-3/+22
|\
| * - fix annotation transfer when producing m2m backref, [ticket:2578]Mike Bayer2012-09-284-3/+22
| |
* | mergeMike Bayer2012-09-291-2/+0
| |
* | - rework component reflection test so that usual framework hooks can be usedMike Bayer2012-09-291-59/+49
| | | | | | | | to redefine tables, etc.
* | devMike Bayer2012-09-294-158/+186
| |
* | adjustmentsMike Bayer2012-09-293-3/+14
| |
* | getting everything to pass againMike Bayer2012-09-271-2/+1
| |
* | - more tests, move some tests out of test_reflection, test_queryMike Bayer2012-09-2716-169/+773
| |
* | display name in messageMike Bayer2012-09-271-1/+2
| |
* | - add a runner moduleMike Bayer2012-09-273-2/+33
| | | | | | | | - make "default" the default dialect.
* | tweaksMike Bayer2012-09-272-5/+11
| |
* | fix an early importMike Bayer2012-09-271-2/+6
| |
* | trying different approaches to test layout. in this one, the testing modulesMike Bayer2012-09-2722-0/+3058
|/ | | | | | | become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries.
* Merged in mitchellrj/sqlalchemy (pull request #21)Mike Bayer2012-09-261-0/+3
|\
| * Add support for LOCALTIMESTAMP in SQLite.Richard Mitchell2012-09-261-0/+3
| |
* | - [bug] Added 'terminating connection' to the listMike Bayer2012-09-251-1/+2
|/ | | | | | of messages we use to detect a disconnect with PG, which appears to be present in some versions when the server is restarted. [ticket:2570]
* - [bug] Fixed the DropIndex construct to supportMike Bayer2012-09-241-7/+17
| | | | | an Index associated with a Table in a remote schema. [ticket:2571]
* - fix fb function thing here, need **kw to break the loopMike Bayer2012-09-231-2/+2
|
* - [feature] An experimental dialect for the fdbMike Bayer2012-09-232-10/+82
| | | | | driver is added, but is untested as I cannot get the fdb package to build. [ticket:2504]
* - got firebird runningMike Bayer2012-09-231-4/+20
| | | | | | | | | | | | - add some failure cases - [bug] Firebird now uses strict "ansi bind rules" so that bound parameters don't render in the columns clause of a statement - they render literally instead. - [bug] Support for passing datetime as date when using the DateTime type with Firebird; other dialects support this.
* - [bug] Columns in reflected primary key constraintMike Bayer2012-09-231-11/+24
| | | | | | | are now returned in the order in which the constraint itself defines them, rather than how the table orders them. Courtesy Gunnlaugur Por Briem. [ticket:2531].
* - use our new Cls.memoized_name._reset(self) method in place of all those ↵Mike Bayer2012-09-235-13/+10
| | | | | | __dict__.pop(), remove reset_memoized
* - [bug] When the primary key column of a TableMike Bayer2012-09-232-11/+15
| | | | | | | | is replaced, such as via extend_existing, the "auto increment" column used by insert() constructs is reset. Previously it would remain referring to the previous primary key column. [ticket:2525]
* - [feature] An explicit error is raised whenMike Bayer2012-09-231-3/+21
| | | | | | a ForeignKeyConstraint() that was constructed to refer to multiple remote tables is first used. [ticket:2455]
* - improve docs for MySQL/SQLite foreign key/ON UPDATE|DELETE instructions,Mike Bayer2012-09-232-1/+44
| | | | [ticket:2514]
* - [bug] Adjusted column default reflection code toMike Bayer2012-09-232-34/+43
| | | | | | | | convert non-string values to string, to accommodate old SQLite versions that don't deliver default info as a string. [ticket:2265] - factor sqlite column reflection to be like we did for postgresql, in a separate method.
* - [bug] A tweak to column precedence which moves theMike Bayer2012-09-221-15/+20
| | | | | | | "concat" and "match" operators to be the same as that of "is", "like", and others; this helps with parenthesization rendering when used in conjunction with "IS". [ticket:2564]
* - aaand actually get is/isnot to be usable with None/NULLMike Bayer2012-09-221-2/+5
|
* - [bug] Added missing operators is_(), isnot()Mike Bayer2012-09-222-0/+32
| | | | | | to the ColumnOperators base, so that these long-available operators are present as methods like all the other operators. [ticket:2544]
* - [bug] Extra logic has been added to the "flush"Mike Bayer2012-09-221-1/+9
| | | | | | | | | | | | that occurs within Session.commit(), such that the extra state added by an after_flush() or after_flush_postexec() hook is also flushed in a subsequent flush, before the "commit" completes. Subsequent calls to flush() will continue until the after_flush hooks stop adding new state. An "overflow" counter of 100 is also in place, in the event of a broken after_flush() hook adding new content each time. [ticket:2566]
* - rename .attr to .attrs on mapper, instance state, [ticket:2569]Mike Bayer2012-09-222-7/+7
|
* finished fixes for mxodbc; need to use at least version 3.2.1Mike Bayer2012-09-213-22/+20
|
* mapper configured docMike Bayer2012-09-211-2/+10
|
* - [feature] New session events after_transaction_createMike Bayer2012-09-202-1/+29
| | | | | | | | and after_transaction_end allows tracking of new SessionTransaction objects. If the object is inspected, can be used to determine when a session first becomes active and when it deactivates.
* - repair bool() for instance level event listener where events are ↵Mike Bayer2012-09-201-1/+1
| | | | classlevel, continuing [ticket:2516]
* - [bug] Adjusted a very old bugfix which attemptedMike Bayer2012-09-191-4/+6
| | | | | | | | | | | | | | to work around a SQLite issue that itself was "fixed" as of sqlite 3.6.14, regarding quotes surrounding a table name when using the "foreign_key_list" pragma. The fix has been adjusted to not interfere with quotes that are *actually in the name* of a column or table, to as much a degree as possible; sqlite still doesn't return the correct result for foreign_key_list() if the target table actually has quotes surrounding its name, as *part* of its name (i.e. """mytable"""). [ticket:2568]
* Merged in millerdev/sqlalchemy (pull request #20)Mike Bayer2012-09-161-1/+1
|\
| * Added test and fix for version_id_col bug.Daniel Miller2012-09-121-1/+1
| |
* | - genericize the test for ischema_namesMike Bayer2012-09-161-4/+4
| | | | | | | | | | - some fixes to the patch to handle empty args, whitespace - changelog clarifies where this API fits at the moment
* | Merged in erilem/sqlalchemy (pull request #19)Mike Bayer2012-09-161-99/+107
|\ \