]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
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

18 years agofixed binary types test to use two binary files specifically for testing, instead of
Mike Bayer [Mon, 30 Oct 2006 01:29:43 +0000 (01:29 +0000)] 
fixed binary types test to use two binary files specifically for testing, instead of
attempting to grab .pyc files

18 years agofurther fixes to sqlite booleans, weren't working as defaults
Mike Bayer [Sun, 29 Oct 2006 02:40:27 +0000 (02:40 +0000)] 
further fixes to sqlite booleans, weren't working as defaults

18 years agoadded assertion to check that mappers only inherit from a mapper with the same "prima...
Mike Bayer [Sun, 29 Oct 2006 02:12:05 +0000 (02:12 +0000)] 
added assertion to check that mappers only inherit from a mapper with the same "primary/non-primary" setting

18 years agoadded system return code to base runtest
Mike Bayer [Fri, 27 Oct 2006 03:53:39 +0000 (03:53 +0000)] 
added system return code to base runtest

18 years agoconverted imports to absolute
Mike Bayer [Thu, 26 Oct 2006 20:30:41 +0000 (20:30 +0000)] 
converted imports to absolute

18 years agoadd join explanation for myisam
Jonathan Ellis [Tue, 24 Oct 2006 23:57:53 +0000 (23:57 +0000)] 
add join explanation for myisam

18 years ago- MySQL catches exception on "describe" and reports as NoSuchTableError
Mike Bayer [Tue, 24 Oct 2006 22:53:36 +0000 (22:53 +0000)] 
- MySQL catches exception on "describe" and reports as NoSuchTableError

18 years agooops, removed pool debugging code
Mike Bayer [Tue, 24 Oct 2006 22:32:54 +0000 (22:32 +0000)] 
oops, removed pool debugging code

18 years ago- SingletonConnectionPool must use the "threadlocal" pooling behavior
Mike Bayer [Tue, 24 Oct 2006 22:19:31 +0000 (22:19 +0000)] 
- SingletonConnectionPool must use the "threadlocal" pooling behavior
- the "delete" cascade will load in all child objects, if they were not
loaded already.  this can be turned off (i.e. the old behavior) by setting
passive_deletes=True on a relation().

18 years ago- some new Pool utility classes, updated docs
Mike Bayer [Tue, 24 Oct 2006 21:32:13 +0000 (21:32 +0000)] 
- some new Pool utility classes, updated docs
- "use_threadlocal" on Pool defaults to False (same as create_engine)

18 years agolog connection closes
Mike Bayer [Tue, 24 Oct 2006 15:07:23 +0000 (15:07 +0000)] 
log connection closes

18 years ago- eager query generation adjustment, [ticket:355]
Mike Bayer [Tue, 24 Oct 2006 14:08:11 +0000 (14:08 +0000)] 
- eager query generation adjustment, [ticket:355]

18 years agofixed the example, because my brain goes blank when i work on that page,
Mike Bayer [Mon, 23 Oct 2006 23:04:55 +0000 (23:04 +0000)] 
fixed the example, because my brain goes blank when i work on that page,
and fixed exceptions raised in sync.py

18 years agoassociation mappings are now simpler, updated docs
Mike Bayer [Mon, 23 Oct 2006 22:55:41 +0000 (22:55 +0000)] 
association mappings are now simpler, updated docs

18 years agoexpired instances will get mapper extension's populate_instance behavior when reloade...
Mike Bayer [Mon, 23 Oct 2006 21:25:01 +0000 (21:25 +0000)] 
expired instances will get mapper extension's populate_instance behavior when reloaded, if present

18 years agofully reST-ify doctests
Jonathan Ellis [Mon, 23 Oct 2006 19:22:25 +0000 (19:22 +0000)] 
fully reST-ify doctests

18 years agoset global 'sqlalchemy' log level to ERROR so it is insulated from other logging...
Mike Bayer [Mon, 23 Oct 2006 18:10:10 +0000 (18:10 +0000)] 
set global 'sqlalchemy' log level to ERROR so it is insulated from other logging configs [ticket:353]

18 years agointegrated coverage.py into unittest suite
Mike Bayer [Mon, 23 Oct 2006 01:26:24 +0000 (01:26 +0000)] 
integrated coverage.py into unittest suite

18 years ago"circular mapping" is out, SA figures that stuff out for you
Mike Bayer [Sun, 22 Oct 2006 21:21:57 +0000 (21:21 +0000)] 
"circular mapping" is out, SA figures that stuff out for you

18 years agofixed some imports, transaction hanging open rel_0_3_0
Mike Bayer [Sun, 22 Oct 2006 19:10:44 +0000 (19:10 +0000)] 
fixed some imports, transaction hanging open

18 years agoadded string length to avoid LOB col type in oracle
Mike Bayer [Sun, 22 Oct 2006 05:50:03 +0000 (05:50 +0000)] 
added string length to avoid LOB col type in oracle

18 years agoupdating the cycles test
Mike Bayer [Sun, 22 Oct 2006 05:45:43 +0000 (05:45 +0000)] 
updating the cycles test

18 years agoupdates to oracle
Mike Bayer [Sun, 22 Oct 2006 05:02:11 +0000 (05:02 +0000)] 
updates to oracle
added more ordering to schema collections for better predictability

18 years agomisc
Mike Bayer [Sun, 22 Oct 2006 03:13:50 +0000 (03:13 +0000)] 
misc

18 years agodocstring
Mike Bayer [Sun, 22 Oct 2006 03:07:01 +0000 (03:07 +0000)] 
docstring

18 years ago.
Mike Bayer [Sun, 22 Oct 2006 02:06:43 +0000 (02:06 +0000)] 
.

18 years agomore on non-threadsafeness
Mike Bayer [Sun, 22 Oct 2006 02:05:14 +0000 (02:05 +0000)] 
more on non-threadsafeness

18 years agodocs about objects not being threadsafe
Mike Bayer [Sun, 22 Oct 2006 01:44:11 +0000 (01:44 +0000)] 
docs about objects not being threadsafe

18 years agorenamed Column/ColumnClause "hidden" to "_is_oid"
Mike Bayer [Sun, 22 Oct 2006 01:21:27 +0000 (01:21 +0000)] 
renamed Column/ColumnClause "hidden" to "_is_oid"

18 years agoadded __getattr__() proxy to TypeDecorator
Mike Bayer [Sun, 22 Oct 2006 00:42:43 +0000 (00:42 +0000)] 
added __getattr__() proxy to TypeDecorator

18 years ago- attributes module and test suite moves underneath 'orm' package
Mike Bayer [Sun, 22 Oct 2006 00:24:26 +0000 (00:24 +0000)] 
- attributes module and test suite moves underneath 'orm' package
- fixed table comparison example in metadata.txt
- docstrings all over the place
- renamed mapper _getattrbycolumn/_setattrbycolumn to get_attr_by_column,set_attr_by_column
- removed frommapper parameter from populate_instance().  the two operations can be performed separately
- fix to examples/adjacencytree/byroot_tree.py to fire off lazy loaders upon load, to reduce query calling
- added get(), get_by(), load() to MapperExtension
- re-implemented ExtensionOption (called by extension() function)
- redid _ExtensionCarrier to function dynamically based on __getattribute__
- added logging to attributes package, indicating the execution of a lazy callable
- going to close [ticket:329]

18 years ago- docstring on polymorphic_mapping
Mike Bayer [Sat, 21 Oct 2006 23:15:13 +0000 (23:15 +0000)] 
- docstring on polymorphic_mapping
- applied Simon Wittber's ActiveMapper version_id_col patch for [ticket:348]

18 years agore-implemented extension option
Mike Bayer [Sat, 21 Oct 2006 23:04:36 +0000 (23:04 +0000)] 
re-implemented extension option

18 years agotweak for Table.create() not having a return value
Mike Bayer [Sat, 21 Oct 2006 22:38:40 +0000 (22:38 +0000)] 
tweak for Table.create() not having a return value

18 years agough, restored brackets
Mike Bayer [Sat, 21 Oct 2006 21:56:40 +0000 (21:56 +0000)] 
ugh, restored brackets

18 years agodocstrings
Mike Bayer [Sat, 21 Oct 2006 21:55:18 +0000 (21:55 +0000)] 
docstrings

18 years agotook out unused formatting
Mike Bayer [Sat, 21 Oct 2006 21:20:01 +0000 (21:20 +0000)] 
took out unused formatting

18 years agotake those 2.4 generators out....
Mike Bayer [Sat, 21 Oct 2006 21:10:28 +0000 (21:10 +0000)] 
take those 2.4 generators out....

18 years agomerge of new documentation generation system
Mike Bayer [Sat, 21 Oct 2006 20:57:10 +0000 (20:57 +0000)] 
merge of new documentation generation system

18 years agosome docstring stuff
Mike Bayer [Fri, 20 Oct 2006 22:45:55 +0000 (22:45 +0000)] 
some docstring stuff