]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years ago- invalid options sent to 'cascade' string will raise an exception [ticket:406]
Mike Bayer [Tue, 2 Jan 2007 03:39:26 +0000 (03:39 +0000)] 
- invalid options sent to 'cascade' string will raise an exception [ticket:406]

18 years ago- global "insure"->"ensure" change. in US english "insure" is actually
Mike Bayer [Mon, 1 Jan 2007 00:10:37 +0000 (00:10 +0000)] 
- global "insure"->"ensure" change.  in US english "insure" is actually
largely interchangeable with "ensure" (so says the dictionary), so I'm not
completely illiterate, but its definitely sub-optimal to "ensure" which is
non-ambiguous.

18 years ago- speed enhancements to ORM object instantiation, eager loading of rows
Mike Bayer [Thu, 28 Dec 2006 08:30:43 +0000 (08:30 +0000)] 
- speed enhancements to ORM object instantiation, eager loading of rows

18 years ago- fix to correlation of subqueries when the column list of the select statement
Mike Bayer [Thu, 28 Dec 2006 00:27:58 +0000 (00:27 +0000)] 
- fix to correlation of subqueries when the column list of the select statement
is constructed with individual calls to append_column(); this fixes an ORM
bug whereby nested select statements were not getting correlated with the
main select generated by the Query object.

18 years ago- fixes to postgres reflection to better handle when schema names are present;
Mike Bayer [Sun, 24 Dec 2006 04:45:11 +0000 (04:45 +0000)] 
- fixes to postgres reflection to better handle when schema names are present;
thanks to jason (at) ncsmags.com [ticket:402]

18 years ago- fix to MapperExtension create_instance so that entity_name properly associated
Mike Bayer [Tue, 19 Dec 2006 20:52:32 +0000 (20:52 +0000)] 
- fix to MapperExtension create_instance so that entity_name properly associated
with new instance

18 years agoreversing last commit
Rick Morrison [Mon, 18 Dec 2006 02:17:13 +0000 (02:17 +0000)] 
reversing last commit

18 years agoadded missing ref to between in sql.py __all__
Rick Morrison [Sun, 17 Dec 2006 23:14:53 +0000 (23:14 +0000)] 
added missing ref to between in sql.py __all__

18 years ago- added "BIGSERIAL" support for postgres table with PGBigInteger/autoincrement
Mike Bayer [Fri, 15 Dec 2006 16:06:14 +0000 (16:06 +0000)] 
- added "BIGSERIAL" support for postgres table with PGBigInteger/autoincrement

18 years agoPGBigInteger subclasses PGInteger so it gets used
Mike Bayer [Fri, 15 Dec 2006 16:01:24 +0000 (16:01 +0000)] 
PGBigInteger subclasses PGInteger so it gets used

18 years agoedits
Mike Bayer [Fri, 15 Dec 2006 08:06:45 +0000 (08:06 +0000)] 
edits

18 years agoformatting
Mike Bayer [Fri, 15 Dec 2006 08:01:39 +0000 (08:01 +0000)] 
formatting

18 years agofixed the raise for mysql to re-raise the error rel_0_3_3
Mike Bayer [Fri, 15 Dec 2006 07:43:42 +0000 (07:43 +0000)] 
fixed the raise for mysql to re-raise the error

18 years agofix to the fix for [ticket:396] plus a unit test
Mike Bayer [Fri, 15 Dec 2006 01:07:05 +0000 (01:07 +0000)] 
fix to the fix for [ticket:396] plus a unit test

18 years agoadded additional unit test to test that commit errors are detected, rollback occurs...
Mike Bayer [Thu, 14 Dec 2006 23:10:10 +0000 (23:10 +0000)] 
added additional unit test to test that commit errors are detected, rollback occurs in an except:

18 years agoadded InnoDB for mysql so that all tranactional tests pass for mysql
Mike Bayer [Thu, 14 Dec 2006 23:03:43 +0000 (23:03 +0000)] 
added InnoDB for mysql so that all tranactional tests pass for mysql

18 years ago- patch that makes MySQL rowcount work correctly! [ticket:396]
Mike Bayer [Wed, 13 Dec 2006 21:06:38 +0000 (21:06 +0000)] 
- patch that makes MySQL rowcount work correctly! [ticket:396]

18 years ago- fixed QueuePool bug whereby its better able to reconnect to a database
Mike Bayer [Wed, 13 Dec 2006 20:45:34 +0000 (20:45 +0000)] 
- fixed QueuePool bug whereby its better able to reconnect to a database
that was not reachable, also fixed dispose() method

18 years agonew collections example
Mike Bayer [Tue, 12 Dec 2006 21:42:13 +0000 (21:42 +0000)] 
new collections example

18 years ago- fixes to passive_deletes flag, lazy=None (noload) flag
Mike Bayer [Tue, 12 Dec 2006 19:22:28 +0000 (19:22 +0000)] 
- fixes to passive_deletes flag, lazy=None (noload) flag
- added example/docs for dealing with large collections
- added object_session() method to sqlalchemy namespace

18 years ago- string-based FROM clauses fixed, i.e. select(..., from_obj=["sometext"])
Mike Bayer [Tue, 12 Dec 2006 02:17:32 +0000 (02:17 +0000)] 
- string-based FROM clauses fixed, i.e. select(..., from_obj=["sometext"])

18 years agoadded style for page control rel_0_3_2
Mike Bayer [Sun, 10 Dec 2006 18:05:10 +0000 (18:05 +0000)] 
added style for page control

18 years agomoved page control links
Mike Bayer [Sun, 10 Dec 2006 18:04:11 +0000 (18:04 +0000)] 
moved page control links

18 years agowould help to have the files all checked in....
Mike Bayer [Sun, 10 Dec 2006 17:50:18 +0000 (17:50 +0000)] 
would help to have the files all checked in....

18 years agoremoving references to 0.2 series from docs
Mike Bayer [Sun, 10 Dec 2006 17:42:31 +0000 (17:42 +0000)] 
removing references to 0.2 series from docs
upgrade version number to 0.3.2

18 years agoclarify docs for query.instances() [ticket:386]
Mike Bayer [Sat, 9 Dec 2006 04:16:15 +0000 (04:16 +0000)] 
clarify docs for query.instances() [ticket:386]

18 years agodocstring fix for [ticket:381]
Mike Bayer [Sat, 9 Dec 2006 04:11:16 +0000 (04:11 +0000)] 
docstring fix for [ticket:381]

18 years ago- MySQL bool type fix: [ticket:307]
Mike Bayer [Sat, 9 Dec 2006 04:06:34 +0000 (04:06 +0000)] 
- MySQL bool type fix: [ticket:307]

18 years agoadded SmallInteger to __all__ list (now we have both SmallInteger/Smallinteger.....)
Mike Bayer [Sat, 9 Dec 2006 04:02:36 +0000 (04:02 +0000)] 
added SmallInteger to __all__ list (now we have both SmallInteger/Smallinteger.....)

18 years ago- added onupdate and ondelete keyword arguments to ForeignKey; propigate
Mike Bayer [Sat, 9 Dec 2006 04:00:35 +0000 (04:00 +0000)] 
- added onupdate and ondelete keyword arguments to ForeignKey; propigate
to underlying ForeignKeyConstraint if present.  (dont propigate in the
other direction, however)
- patched attribute speed enhancement [ticket:389] courtesy Sébastien Lelong

18 years ago- support for None as precision/length in numeric types for postgres, sqlite, mysql
Mike Bayer [Sat, 9 Dec 2006 03:21:18 +0000 (03:21 +0000)] 
- support for None as precision/length in numeric types for postgres, sqlite, mysql
- postgres reflection fixes: [ticket:349] [ticket:382]

18 years ago- unit test for strong refs
Mike Bayer [Sat, 9 Dec 2006 02:46:09 +0000 (02:46 +0000)] 
- unit test for strong refs
- unit test to test [ticket:354]

18 years ago- identity map in Session is by default *no longer weak referencing*.
Mike Bayer [Sat, 9 Dec 2006 01:08:25 +0000 (01:08 +0000)] 
- identity map in Session is by default *no longer weak referencing*.
to have it be weak referencing, use create_session(weak_identity_map=True)
- some fixes to OrderedProperties

18 years agopickle example for dmiller
Mike Bayer [Sat, 9 Dec 2006 00:09:14 +0000 (00:09 +0000)] 
pickle example for dmiller

18 years agofix in OrderedProperties to allow pickling
Mike Bayer [Fri, 8 Dec 2006 21:50:12 +0000 (21:50 +0000)] 
fix in OrderedProperties to allow pickling

18 years agocursors needs to be weak key
Mike Bayer [Fri, 8 Dec 2006 21:40:10 +0000 (21:40 +0000)] 
cursors needs to be weak key

18 years agodocs/examples/unittests for remote_side
Mike Bayer [Fri, 8 Dec 2006 20:50:48 +0000 (20:50 +0000)] 
docs/examples/unittests for remote_side

18 years ago the pool fix is more important
Mike Bayer [Fri, 8 Dec 2006 20:22:06 +0000 (20:22 +0000)] 
 the pool fix is more important

18 years agoassign_mapper note
Mike Bayer [Fri, 8 Dec 2006 19:16:33 +0000 (19:16 +0000)] 
assign_mapper note

18 years ago- fix to connection pool _close() to properly clean up, fixes
Mike Bayer [Fri, 8 Dec 2006 18:47:20 +0000 (18:47 +0000)] 
- fix to connection pool _close() to properly clean up, fixes
MySQL synchronization errors [ticket:387]

18 years ago- MySQL detects errors 2006 (server has gone away) and 2014
Mike Bayer [Fri, 8 Dec 2006 03:27:09 +0000 (03:27 +0000)] 
- MySQL detects errors 2006 (server has gone away) and 2014
(commands out of sync) and invalidates the connection on which it occured.

18 years agomoved _impl_dict to an external weakref so that TypeEngine objects can be pickled
Mike Bayer [Wed, 6 Dec 2006 21:37:25 +0000 (21:37 +0000)] 
moved _impl_dict to an external weakref so that TypeEngine objects can be pickled

18 years agogot a rudimentary one-page display going
Mike Bayer [Tue, 5 Dec 2006 21:42:31 +0000 (21:42 +0000)] 
got a rudimentary one-page display going

18 years agodoc adjust for "dirty" list behavior
Mike Bayer [Tue, 5 Dec 2006 18:21:27 +0000 (18:21 +0000)] 
doc adjust for "dirty" list behavior

18 years agomade backrefs aware of "post_update" and "viewonly" so it doesnt have to be explicitl...
Mike Bayer [Tue, 5 Dec 2006 03:16:35 +0000 (03:16 +0000)] 
made backrefs aware of "post_update" and "viewonly" so it doesnt have to be explicitly propigated; also backrefs shouldnt fire off in a post_update situation.

18 years agofixed up some debug logging to be conditional, adds speed. made some
Mike Bayer [Mon, 4 Dec 2006 21:17:05 +0000 (21:17 +0000)] 
fixed up some debug logging to be conditional, adds speed.  made some
attribute-related lambdas more direct.

18 years agoremoved useless line
Mike Bayer [Sun, 3 Dec 2006 18:25:05 +0000 (18:25 +0000)] 
removed useless line

18 years agoadded 'remote_side' functionality to lazy clause generation
Mike Bayer [Sat, 2 Dec 2006 23:36:59 +0000 (23:36 +0000)] 
added 'remote_side' functionality  to lazy clause generation

18 years ago- added "remote_side" argument to relation(), used only with self-referential
Mike Bayer [Sat, 2 Dec 2006 05:59:50 +0000 (05:59 +0000)] 
- added "remote_side" argument to relation(), used only with self-referential
mappers to force the direction of the parent/child relationship.  replaces
the usage of the "foreignkey" parameter for "switching" the direction;
while "foreignkey" can still be used to "switch" the direction of a parent/
child relationship, this usage is deprecated; "foreignkey" should always
indicate the actual foreign key columns from now on.

18 years agoadded mass eagerloading profile, debug log in EagerLoader conditional based on flag
Mike Bayer [Fri, 1 Dec 2006 19:45:04 +0000 (19:45 +0000)] 
added mass eagerloading profile, debug log in EagerLoader conditional based on flag

18 years agoadded conditional flag to debug log statements in mapper so that string formats dont...
Mike Bayer [Fri, 1 Dec 2006 18:41:33 +0000 (18:41 +0000)] 
added conditional flag to debug log statements in mapper so that string formats dont occur
updated massload test to work with 0.3

18 years ago- improved support for disabling save-update cascade via cascade="none" etc.
Mike Bayer [Thu, 30 Nov 2006 00:08:46 +0000 (00:08 +0000)] 
- improved support for disabling save-update cascade via cascade="none" etc.

18 years ago- sending a selectable to an IN no longer creates a "union" out of multiple
Mike Bayer [Wed, 29 Nov 2006 22:13:58 +0000 (22:13 +0000)] 
- sending a selectable to an IN no longer creates a "union" out of multiple
selects; only one selectable to an IN is allowed now (make a union yourself
if union is needed; explicit better than implicit, dont guess, etc.)

18 years ago- fix to session.update() to preserve "dirty" status of incoming object
Mike Bayer [Wed, 29 Nov 2006 21:50:45 +0000 (21:50 +0000)] 
- fix to session.update() to preserve "dirty" status of incoming object

18 years agooops, KeyError fix for [ticket:380]
Mike Bayer [Wed, 29 Nov 2006 21:43:21 +0000 (21:43 +0000)] 
oops, KeyError fix for [ticket:380]

18 years agofixed has_key exception to be KeyError [ticket:380]
Mike Bayer [Wed, 29 Nov 2006 17:25:18 +0000 (17:25 +0000)] 
fixed has_key exception to be KeyError [ticket:380]

18 years ago- added extra check to "stop" cascading on save/update/save-update if
Mike Bayer [Wed, 29 Nov 2006 17:16:41 +0000 (17:16 +0000)] 
- added extra check to "stop" cascading on save/update/save-update if
an instance is detected to be already in the session.

18 years agoadded label() function to Select class, useable only with select
Mike Bayer [Mon, 27 Nov 2006 19:42:33 +0000 (19:42 +0000)] 
added label() function to Select class, useable only with select
that has scalar=True

18 years agoremoved old function
Mike Bayer [Mon, 27 Nov 2006 01:27:10 +0000 (01:27 +0000)] 
removed old function

18 years ago- made kwargs parsing to Table strict; removed various obsoluete "redefine=True"...
Mike Bayer [Sun, 26 Nov 2006 02:36:27 +0000 (02:36 +0000)] 
- made kwargs parsing to Table strict; removed various obsoluete "redefine=True" kw's from the unit tests
- documented instance variables in ANSICompiler
- fixed [ticket:120], adds "inline_params" set to ANSICompiler which DefaultDialect picks up on when
determining defaults.  added unittests to query.py
- additionally fixed up the behavior of the "values" parameter on _Insert/_Update
- more cleanup to sql/Select - more succinct organization of FROM clauses, removed silly _process_from_dict
methods and JoinMarker object

18 years agosome clenaup on the "correlation" API on the _Select class
Mike Bayer [Sat, 25 Nov 2006 22:09:27 +0000 (22:09 +0000)] 
some clenaup on the "correlation" API on the _Select class

18 years ago- cleanup on some instance vars in Select (is_scalar, is_subquery, _froms is __froms...
Mike Bayer [Sat, 25 Nov 2006 21:32:26 +0000 (21:32 +0000)] 
- cleanup on some instance vars in Select (is_scalar, is_subquery, _froms is __froms, removed unused 'nowait', '_text', etc)
- cleaned up __repr__ on Column, AbstractTypeEngine
- added standalone intersect(_all), except(_all) functions, unit tests illustrating nesting patterns [ticket:247]

18 years agoadded mapper return value to assign_mapper
Mike Bayer [Fri, 24 Nov 2006 19:49:13 +0000 (19:49 +0000)] 
added mapper return value to assign_mapper

18 years agofix to oracle types test, added RAW type [ticket:378]
Mike Bayer [Tue, 21 Nov 2006 22:20:31 +0000 (22:20 +0000)] 
fix to oracle types test, added RAW type [ticket:378]

18 years agofix to previous checkin
Mike Bayer [Tue, 21 Nov 2006 22:10:27 +0000 (22:10 +0000)] 
fix to previous checkin

18 years ago[ticket:373]
Mike Bayer [Tue, 21 Nov 2006 22:04:31 +0000 (22:04 +0000)] 
[ticket:373]

18 years ago[ticket:366]
Mike Bayer [Tue, 21 Nov 2006 21:59:03 +0000 (21:59 +0000)] 
[ticket:366]

18 years ago[ticket:374] [ticket:377] [ticket:375], small fix to mutable types unit test
Mike Bayer [Tue, 21 Nov 2006 21:55:15 +0000 (21:55 +0000)] 
[ticket:374] [ticket:377] [ticket:375], small fix to mutable types unit test

18 years agocopyright date....
Mike Bayer [Tue, 21 Nov 2006 02:22:30 +0000 (02:22 +0000)] 
copyright date....

18 years agoadded extra pickle unittest to insure update occurs/doesnt occur appropriately
Mike Bayer [Fri, 17 Nov 2006 17:03:17 +0000 (17:03 +0000)] 
added extra pickle unittest to insure update occurs/doesnt occur appropriately

18 years agoreflect from table.fullname for schema support
Mike Bayer [Mon, 13 Nov 2006 18:06:35 +0000 (18:06 +0000)] 
reflect from table.fullname for schema support

18 years agoits that time rel_0_3_1
Mike Bayer [Mon, 13 Nov 2006 00:42:54 +0000 (00:42 +0000)] 
its that time

18 years agotweaks to get module functions links to work
Mike Bayer [Mon, 13 Nov 2006 00:17:43 +0000 (00:17 +0000)] 
tweaks to get module functions links to work

18 years agoedits
Mike Bayer [Mon, 13 Nov 2006 00:03:38 +0000 (00:03 +0000)] 
edits

18 years agoone of those non-2.3 generators got in there...
Mike Bayer [Sun, 12 Nov 2006 23:23:42 +0000 (23:23 +0000)] 
one of those non-2.3 generators got in there...

18 years agoedits
Mike Bayer [Sun, 12 Nov 2006 23:22:13 +0000 (23:22 +0000)] 
edits

18 years ago- create_engine() reworked to be strict about incoming **kwargs. all keyword
Mike Bayer [Sun, 12 Nov 2006 20:50:51 +0000 (20:50 +0000)] 
- create_engine() reworked to be strict about incoming **kwargs.  all keyword
arguments must be consumed by one of the dialect, connection pool, and engine
constructors, else a TypeError is thrown which describes the full set of
invalid kwargs in relation to the selected dialect/pool/engine configuration.

18 years agofurther refactoring of topological sort for clarity
Mike Bayer [Sat, 11 Nov 2006 03:03:55 +0000 (03:03 +0000)] 
further refactoring of topological sort for clarity

18 years agomore fixes to topological sort with regards to cycles, fixes [ticket:365]
Mike Bayer [Sat, 11 Nov 2006 01:34:41 +0000 (01:34 +0000)] 
more fixes to topological sort with regards to cycles, fixes [ticket:365]

18 years agopatched **kwargs enhancement for [ticket:361]
Mike Bayer [Fri, 10 Nov 2006 17:17:08 +0000 (17:17 +0000)] 
patched **kwargs enhancement for [ticket:361]

18 years agofix to query.count to use mapper-defined primary key cols instead of those of the...
Mike Bayer [Fri, 10 Nov 2006 15:57:58 +0000 (15:57 +0000)] 
fix to query.count to use mapper-defined primary key cols instead of those of the table

18 years ago- "delete-orphan" for a certain type can be set on more than one parent class;
Mike Bayer [Fri, 10 Nov 2006 00:46:57 +0000 (00:46 +0000)] 
- "delete-orphan" for a certain type can be set on more than one parent class;
the instance is an "orphan" only if its not attached to *any* of those parents
- better check for endless recursion in eagerloader.process_row

18 years agocreate_args->connect_args
Mike Bayer [Wed, 8 Nov 2006 02:22:24 +0000 (02:22 +0000)] 
create_args->connect_args

18 years agofix: auto_identity_insert was not working with non-list insert parms
Rick Morrison [Tue, 7 Nov 2006 22:50:38 +0000 (22:50 +0000)] 
fix: auto_identity_insert was not working with non-list insert parms

18 years agoremoved 'redefine' from docstring
Mike Bayer [Sun, 5 Nov 2006 16:15:04 +0000 (16:15 +0000)] 
removed 'redefine' from docstring

18 years ago- fix to subtle condition in topological sort where a node could appear twice,
Mike Bayer [Sat, 4 Nov 2006 06:11:21 +0000 (06:11 +0000)] 
- fix to subtle condition in topological sort where a node could appear twice,
for [ticket:362]

18 years ago- improvement to single table inheritance to load full hierarchies beneath
Mike Bayer [Fri, 3 Nov 2006 19:57:39 +0000 (19:57 +0000)] 
- improvement to single table inheritance to load full hierarchies beneath
the target class

18 years ago- added an assertion within the "cascade" step of ORM relationships to check
Mike Bayer [Fri, 3 Nov 2006 01:17:28 +0000 (01:17 +0000)] 
- added an assertion within the "cascade" step of ORM relationships to check
that the class of object attached to a parent object is appropriate
(i.e. if A.items stores B objects, raise an error if a C is appended to A.items)
- new extension sqlalchemy.ext.associationproxy, provides transparent "association object"
mappings.  new example examples/association/proxied_association.py illustrates.
- some example cleanup

18 years agoExtensionOption needed to extend from MapperOption
Mike Bayer [Thu, 2 Nov 2006 23:58:20 +0000 (23:58 +0000)] 
ExtensionOption needed to extend from MapperOption

18 years ago- implemented from_obj argument for query.count, improves count function
Mike Bayer [Thu, 2 Nov 2006 21:31:56 +0000 (21:31 +0000)] 
- implemented from_obj argument for query.count, improves count function
on selectresults [ticket:325]

18 years agosome example cleanup
Mike Bayer [Wed, 1 Nov 2006 17:14:50 +0000 (17:14 +0000)] 
some example cleanup

18 years agoadded graphing example
Mike Bayer [Wed, 1 Nov 2006 16:51:46 +0000 (16:51 +0000)] 
added graphing example

18 years agolink to SqlSoup docs on the wiki
Jonathan Ellis [Wed, 1 Nov 2006 05:28:43 +0000 (05:28 +0000)] 
link to SqlSoup docs on the wiki

18 years ago- fixed bug in circular dependency sorting at flush time; if object A
Mike Bayer [Wed, 1 Nov 2006 03:30:16 +0000 (03:30 +0000)] 
- fixed bug in circular dependency sorting at flush time; if object A
contained a cyclical many-to-one relationship to object B, and object B
was just attached to object A, *but* object B itself wasnt changed,
the many-to-one synchronize of B's primary key attribute to A's foreign key
attribute wouldnt occur.  [ticket:360]

18 years ago- fixed bug where eagerload() (nor lazyload()) option didn't properly
Mike Bayer [Tue, 31 Oct 2006 20:40:22 +0000 (20:40 +0000)] 
- fixed bug where eagerload() (nor lazyload()) option didn't properly
instruct the Query whether or not to use "nesting" when producing a
LIMIT query.

18 years ago- fixed direct execution of Compiled objects
Mike Bayer [Tue, 31 Oct 2006 15:58:51 +0000 (15:58 +0000)] 
- fixed direct execution of Compiled objects

18 years agoraise InvalidRequest when asked to perform DDL on non-Tables
Jonathan Ellis [Tue, 31 Oct 2006 05:33:44 +0000 (05:33 +0000)] 
raise InvalidRequest when asked to perform DDL on non-Tables

18 years agosmarter name generation (handles self-referencing Select); new example of using Soup.map
Jonathan Ellis [Tue, 31 Oct 2006 05:24:30 +0000 (05:24 +0000)] 
smarter name generation (handles self-referencing Select); new example of using Soup.map

18 years agofigured out how a Select can be in its own _froms list, changed assertion to just...
Mike Bayer [Tue, 31 Oct 2006 00:51:16 +0000 (00:51 +0000)] 
figured out how a Select can be in its own _froms list, changed assertion to just a continue

18 years ago- fix to postgres sequence quoting when using schemas
Mike Bayer [Mon, 30 Oct 2006 18:19:34 +0000 (18:19 +0000)] 
- fix to postgres sequence quoting when using schemas