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

18 years agofixed pg reflection of timezones
Mike Bayer [Fri, 20 Oct 2006 20:49:16 +0000 (20:49 +0000)] 
fixed pg reflection of timezones

18 years agogot linking of classes to work. but what a mess the doc code is now.
Mike Bayer [Fri, 20 Oct 2006 18:46:26 +0000 (18:46 +0000)] 
got linking of classes to work.  but what a mess the doc code is now.

18 years agomore doc
Mike Bayer [Fri, 20 Oct 2006 15:50:26 +0000 (15:50 +0000)] 
more doc

18 years agodev
Mike Bayer [Fri, 20 Oct 2006 15:38:31 +0000 (15:38 +0000)] 
dev

18 years agofix for sqlite refection of names with weird quotes around them in the DDL which...
Mike Bayer [Thu, 19 Oct 2006 23:01:14 +0000 (23:01 +0000)] 
fix for sqlite refection of names with weird quotes around them in the DDL which seem to hang around

18 years ago- cleanup to the last commit
Mike Bayer [Thu, 19 Oct 2006 07:20:52 +0000 (07:20 +0000)] 
- cleanup to the last commit
- added contains_eager() MapperOption, used in conjunction with
instances() to specify properties that should be eagerly loaded
from the result set, using their plain column names by default, or translated
given an custom row-translation function. [ticket:347].

18 years agoprogress on [ticket:329]
Mike Bayer [Thu, 19 Oct 2006 07:02:04 +0000 (07:02 +0000)] 
progress on [ticket:329]

18 years agovarious huge fixes from [ticket:330], thanks to Lele Gaifax
Mike Bayer [Thu, 19 Oct 2006 05:03:01 +0000 (05:03 +0000)] 
various huge fixes from [ticket:330], thanks to Lele Gaifax

18 years agofixed __repr__ style to be inline with python style guide [ticket:341]
Mike Bayer [Thu, 19 Oct 2006 04:55:34 +0000 (04:55 +0000)] 
fixed __repr__ style to be inline with python style guide [ticket:341]

18 years ago- [ticket:346], session closing the connection on flush
Mike Bayer [Thu, 19 Oct 2006 02:52:31 +0000 (02:52 +0000)] 
- [ticket:346], session closing the connection on flush
- added unicode assertion for sqlite

18 years agoif type is None it will be propigated from a ForeignKey
Mike Bayer [Tue, 17 Oct 2006 18:29:25 +0000 (18:29 +0000)] 
if type is None it will be propigated from a ForeignKey

18 years agotypo
Mike Bayer [Tue, 17 Oct 2006 18:12:00 +0000 (18:12 +0000)] 
typo

18 years agosynonym does not create the proxying behavior unless the flag 'proxy=True' is set up
Mike Bayer [Tue, 17 Oct 2006 18:11:21 +0000 (18:11 +0000)] 
synonym does not create the proxying behavior unless the flag 'proxy=True' is set up

18 years agorestored "synonym" property
Mike Bayer [Tue, 17 Oct 2006 18:05:32 +0000 (18:05 +0000)] 
restored "synonym" property

18 years agolazy clause generation can handle comparisons of column-containing expressions such...
Mike Bayer [Tue, 17 Oct 2006 11:39:53 +0000 (11:39 +0000)] 
lazy clause generation can handle comparisons of column-containing expressions such as functions, within a limited scope

18 years agook, TableClause should be public
Mike Bayer [Tue, 17 Oct 2006 02:09:31 +0000 (02:09 +0000)] 
ok, TableClause should be public

18 years agoreorganizing classnames a bit, flagging "private" classes in the sql package,
Mike Bayer [Tue, 17 Oct 2006 02:03:00 +0000 (02:03 +0000)] 
reorganizing classnames a bit, flagging "private" classes in the sql package,
getting the generated docs to look a little nicer.
fixes to extensions, sqlsoup etc. to be compatible with recent API tweaks

18 years agolatest markdown, added "bold link" style to doc generator
Mike Bayer [Tue, 17 Oct 2006 01:23:38 +0000 (01:23 +0000)] 
latest markdown, added "bold link" style to doc generator

18 years ago- added "column_prefix=None" argument to mapper; prepends the
Mike Bayer [Mon, 16 Oct 2006 23:34:23 +0000 (23:34 +0000)] 
- added "column_prefix=None" argument to mapper; prepends the
given string (typically '_') to column-based attributes automatically
set up from the mapper's Table

18 years agoquote function names
Mike Bayer [Mon, 16 Oct 2006 18:16:57 +0000 (18:16 +0000)] 
quote function names

18 years agostrings and unicodes are compared via == rather than 'is'.
Mike Bayer [Mon, 16 Oct 2006 17:20:15 +0000 (17:20 +0000)] 
strings and unicodes are compared via == rather than 'is'.
TypeDecorator uses underlying impl for mutator/comparison functions by default

18 years agodocstrings etc
Mike Bayer [Mon, 16 Oct 2006 02:26:45 +0000 (02:26 +0000)] 
docstrings etc

18 years agoapparently re.S makes things go b00m
Mike Bayer [Mon, 16 Oct 2006 01:32:50 +0000 (01:32 +0000)] 
apparently re.S makes things go b00m

18 years agotweaks...
Mike Bayer [Mon, 16 Oct 2006 00:57:29 +0000 (00:57 +0000)] 
tweaks...

18 years agode-cruftification
Mike Bayer [Mon, 16 Oct 2006 00:37:53 +0000 (00:37 +0000)] 
de-cruftification

18 years agodoc tweaks
Mike Bayer [Sun, 15 Oct 2006 23:40:33 +0000 (23:40 +0000)] 
doc tweaks

18 years agodev
Mike Bayer [Sun, 15 Oct 2006 23:10:37 +0000 (23:10 +0000)] 
dev

18 years agodoc stuff regarding engine strategies
Mike Bayer [Sun, 15 Oct 2006 23:05:07 +0000 (23:05 +0000)] 
doc stuff regarding engine strategies

18 years ago- ForeignKey(Constraint) supports "use_alter=True", to create/drop a foreign key
Mike Bayer [Sun, 15 Oct 2006 00:07:06 +0000 (00:07 +0000)] 
- ForeignKey(Constraint) supports "use_alter=True", to create/drop a foreign key
via ALTER.  this allows circular foreign key relationships to be set up.

18 years agofixup of the tutorial, doc tester with the new logging stuff
Mike Bayer [Sat, 14 Oct 2006 22:22:53 +0000 (22:22 +0000)] 
fixup of the tutorial, doc tester with the new logging stuff

18 years ago- a fair amount of cleanup to the schema package, removal of ambiguous
Mike Bayer [Sat, 14 Oct 2006 21:58:04 +0000 (21:58 +0000)] 
- a fair amount of cleanup to the schema package, removal of ambiguous
methods, methods that are no longer needed.  slightly more constrained
useage, greater emphasis on explicitness.
- table_iterator signature fixup, includes fix for [ticket:288]
- the "primary_key" attribute of Table and other selectables becomes
a setlike ColumnCollection object; is no longer ordered or numerically
indexed.  a comparison clause between two pks that are derived from the
same underlying tables (i.e. such as two Alias objects) can be generated
via table1.primary_key==table2.primary_key
- append_item() methods removed from Table and Column; preferably
construct Table/Column/related objects inline, but if needed use
append_column(), append_foreign_key(), append_constraint(), etc.
- table.create() no longer returns the Table object, instead has no
return value.  the usual case is that tables are created via metadata,
which is preferable since it will handle table dependencies.
- added UniqueConstraint (goes at Table level), CheckConstraint
(goes at Table or Column level) fixes [ticket:217]
- index=False/unique=True on Column now creates a UniqueConstraint,
index=True/unique=False creates a plain Index,
index=True/unique=True on Column creates a unique Index.  'index'
and 'unique' keyword arguments to column are now boolean only; for
explcit names and groupings of indexes or unique constraints, use the
UniqueConstraint/Index constructs explicitly.
- relationship of Metadata/Table/SchemaGenerator/Dropper has been
improved so that the schemavisitor receives the metadata object
for greater control over groupings of creates/drops.
- added "use_alter" argument to ForeignKey, ForeignKeyConstraint,
but it doesnt do anything yet.  will utilize new generator/dropper
behavior to implement.

18 years agoa simplification to syncrule generation, which also allows more flexible configuration
Mike Bayer [Sat, 14 Oct 2006 07:57:12 +0000 (07:57 +0000)] 
a simplification to syncrule generation, which also allows more flexible configuration
of which columns are to be involved in the synchronization via foreignkey property.
foreignkey param is a little more important now and should have its role clarified
particularly for self-referential mappers.

18 years agomake OrderedDict consructor, update more dict-like
Jonathan Ellis [Sat, 14 Oct 2006 03:41:36 +0000 (03:41 +0000)] 
make OrderedDict consructor, update more dict-like

18 years ago- remove spurious semicomma from Firebird SQL statement (Lele Gaifax)
Mike Bayer [Fri, 13 Oct 2006 16:58:55 +0000 (16:58 +0000)] 
- remove spurious semicomma from Firebird SQL statement (Lele Gaifax)

18 years ago- sync checks destination column for primary key status, will not set it to None...
Mike Bayer [Fri, 13 Oct 2006 16:38:21 +0000 (16:38 +0000)] 
- sync checks destination column for primary key status, will not set it to None in that case
- dependency non-passively loads child items for many-to-one post update check

18 years agoadded 'ntext' reflected type
Mike Bayer [Fri, 13 Oct 2006 02:25:45 +0000 (02:25 +0000)] 
added 'ntext' reflected type

18 years agosome cleanup submitted by Lele Galifax
Mike Bayer [Fri, 13 Oct 2006 02:02:25 +0000 (02:02 +0000)] 
some cleanup submitted by Lele Galifax

18 years agoadded docstrings for url, added to compiled documentation
Mike Bayer [Thu, 12 Oct 2006 22:12:39 +0000 (22:12 +0000)] 
added docstrings for url, added to compiled documentation

18 years agosome logging tweaks....its a little squirrely
Mike Bayer [Thu, 12 Oct 2006 18:01:11 +0000 (18:01 +0000)] 
some logging tweaks....its a little squirrely

18 years agooops, double row echo removed
Mike Bayer [Thu, 12 Oct 2006 17:06:48 +0000 (17:06 +0000)] 
oops, double row echo removed

18 years agoadded debug-level row echoing to RowProxy (moved from ResultProxy)
Mike Bayer [Thu, 12 Oct 2006 17:05:47 +0000 (17:05 +0000)] 
added debug-level row echoing to RowProxy (moved from ResultProxy)

18 years ago - ResultProxy.fetchall() internally uses DBAPI fetchall() for better efficiency,
Mike Bayer [Thu, 12 Oct 2006 17:02:12 +0000 (17:02 +0000)] 
  - ResultProxy.fetchall() internally uses DBAPI fetchall() for better efficiency,
    added to mapper iteration as well (courtesy Michael Twomey)

18 years ago- fixes to Date/Time (SLDate/SLTime) types; works as good as postgres
Mike Bayer [Thu, 12 Oct 2006 01:12:17 +0000 (01:12 +0000)] 
- fixes to Date/Time (SLDate/SLTime) types; works as good as postgres
  now [ticket:335]

18 years ago_sort_tables uses local tables [ticket:322]
Mike Bayer [Thu, 12 Oct 2006 00:57:28 +0000 (00:57 +0000)] 
_sort_tables uses local tables [ticket:322]

18 years agoadded PGBigInteger type
Mike Bayer [Wed, 11 Oct 2006 19:48:52 +0000 (19:48 +0000)] 
added PGBigInteger type