]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
18 years agoremoved assertion for "no tables in db" rel_0_4beta2
Mike Bayer [Tue, 14 Aug 2007 14:32:50 +0000 (14:32 +0000)] 
removed assertion for "no tables in db"

18 years agocommented out unicode foriegn keys for now, not working on mysql or postgres
Mike Bayer [Tue, 14 Aug 2007 04:17:44 +0000 (04:17 +0000)] 
commented out unicode foriegn keys for now, not working on mysql or postgres

18 years agoattempt to get SessionTest to close transactions better
Mike Bayer [Tue, 14 Aug 2007 03:47:15 +0000 (03:47 +0000)] 
attempt to get SessionTest to close transactions better

18 years ago- fixed endless loop
Mike Bayer [Tue, 14 Aug 2007 03:34:38 +0000 (03:34 +0000)] 
- fixed endless loop
- fixed perf imports in masseagerload

18 years ago- base_mapper() becomes a plain attribute
Mike Bayer [Tue, 14 Aug 2007 03:19:46 +0000 (03:19 +0000)] 
- base_mapper() becomes a plain attribute
- session.execute() and scalar() can search for a Table with which to bind
from using the given ClauseElement
- session automatically extrapolates tables from mappers with binds,
also uses base_mapper so that inheritance hierarchies bind automatically
- moved ClauseVisitor traversal back to inlined non-recursive

18 years agoadded engine_from_config() function for helping to create_engine()
Mike Bayer [Tue, 14 Aug 2007 00:40:23 +0000 (00:40 +0000)] 
added engine_from_config() function for helping to create_engine()
from an .ini style config

18 years agodocstirng...
Mike Bayer [Mon, 13 Aug 2007 20:52:33 +0000 (20:52 +0000)] 
docstirng...

18 years agoadded scoped session test independent of Session.mapper test
Mike Bayer [Mon, 13 Aug 2007 20:48:46 +0000 (20:48 +0000)] 
added scoped session test independent of Session.mapper test

18 years ago- a rudimental SessionExtension class has been added, allowing user-defined
Mike Bayer [Mon, 13 Aug 2007 20:14:04 +0000 (20:14 +0000)] 
- a rudimental SessionExtension class has been added, allowing user-defined
  functionality to take place at flush(), commit(), and rollback() boundaries.

18 years ago- generalized a SQLCompileTest out of select.py, installed
Mike Bayer [Mon, 13 Aug 2007 20:00:38 +0000 (20:00 +0000)] 
- generalized a SQLCompileTest out of select.py, installed
into dialect/mssql.py, dialect/oracle.py, sql/generative.py
- fixed oracle issues [ticket:732], [ticket:733], [ticket:734]

18 years agoadjusted mysql autoload from a named schema, esp. for windows
Jason Kirtland [Mon, 13 Aug 2007 18:57:05 +0000 (18:57 +0000)] 
adjusted mysql autoload from a named schema, esp. for windows

18 years agoRemoved unused imports, other import adjustments per pyflakes
Jason Kirtland [Mon, 13 Aug 2007 07:09:56 +0000 (07:09 +0000)] 
Removed unused imports, other import adjustments per pyflakes

18 years agoCentralized some `try: import foo except: import other as foo` imports in util
Jason Kirtland [Mon, 13 Aug 2007 06:35:32 +0000 (06:35 +0000)] 
Centralized some `try: import foo except: import other as foo` imports in util

18 years agoAdded more unicode foreign key tests for [ticket:729]
Jason Kirtland [Sun, 12 Aug 2007 23:43:49 +0000 (23:43 +0000)] 
Added more unicode foreign key tests for [ticket:729]

18 years agoauto-commit after LOAD DATA INFILE for mysql
Jason Kirtland [Sun, 12 Aug 2007 22:05:30 +0000 (22:05 +0000)] 
auto-commit after LOAD DATA INFILE for mysql
caught a couple more uncompiled regexps

18 years ago- got is_subquery() working in the case of compound selects, test for ms-sql
Mike Bayer [Sun, 12 Aug 2007 22:01:30 +0000 (22:01 +0000)] 
- got is_subquery() working in the case of compound selects, test for ms-sql

18 years agoremoved ms-sql unsupporteds
Mike Bayer [Sun, 12 Aug 2007 21:42:07 +0000 (21:42 +0000)] 
removed ms-sql unsupporteds

18 years ago- fixed compiler bug in mssql
Mike Bayer [Sun, 12 Aug 2007 21:36:33 +0000 (21:36 +0000)] 
- fixed compiler bug in mssql
- marked as unsupported for mssql all two-phase and nested transcation tests
- marked as unsupported for mssql various transactional/session tests which require two connections looking at uncommitted/external data at the same time (ms-sql cant handle it)
- put better explicit closeout step in unitofwork.py tests to appease ms-sqls hard locking

18 years agoClose SQLite databases before deleting file, so the lock is released, important on...
Paul Johnston [Sun, 12 Aug 2007 21:24:27 +0000 (21:24 +0000)] 
Close SQLite databases before deleting file, so the lock is released, important on Windows

18 years agoMSSQL: disable new 0.4 tests that cause hangs
Paul Johnston [Sun, 12 Aug 2007 20:52:07 +0000 (20:52 +0000)] 
MSSQL: disable new 0.4 tests that cause hangs

18 years agoedits
Mike Bayer [Sun, 12 Aug 2007 20:43:21 +0000 (20:43 +0000)] 
edits

18 years ago- scoped_session docs
Mike Bayer [Sun, 12 Aug 2007 20:34:38 +0000 (20:34 +0000)] 
- scoped_session docs
- added remove() method to scoped_session

18 years agoFix missing import of 'operator'
Paul Johnston [Sun, 12 Aug 2007 20:18:04 +0000 (20:18 +0000)] 
Fix missing import of 'operator'

18 years agoadded "should_commit()" hook to ExecutionContext. dialects can override with specifi...
Mike Bayer [Sun, 12 Aug 2007 19:37:47 +0000 (19:37 +0000)] 
added "should_commit()" hook to ExecutionContext.  dialects can override with specific tests

18 years agoBump.
Jason Kirtland [Sun, 12 Aug 2007 19:30:49 +0000 (19:30 +0000)] 
Bump.

18 years agotypos
Mike Bayer [Sun, 12 Aug 2007 16:37:07 +0000 (16:37 +0000)] 
typos

18 years agoadded a brief migration guide rel_0_4beta1
Mike Bayer [Sun, 12 Aug 2007 16:19:52 +0000 (16:19 +0000)] 
added a brief migration guide

18 years agotwo tests which assumed autoincrement=False for integer PK columns now require it
Mike Bayer [Sun, 12 Aug 2007 15:58:11 +0000 (15:58 +0000)] 
two tests which assumed autoincrement=False for integer PK columns now require it
to be explicit due to r3255.

18 years agoDocs.
Jason Kirtland [Sun, 12 Aug 2007 04:51:21 +0000 (04:51 +0000)] 
Docs.

18 years agoAllow auto_increment on any pk column, not just the first.
Jason Kirtland [Sun, 12 Aug 2007 01:11:44 +0000 (01:11 +0000)] 
Allow auto_increment on any pk column, not just the first.

18 years agoAdded an exception hierarchy shadowing DB-API exc types
Jason Kirtland [Sat, 11 Aug 2007 23:15:32 +0000 (23:15 +0000)] 
Added an exception hierarchy shadowing DB-API exc types
No more generic SQLErrors wrappers- the shadow type matching the DB-API error is raised. [ticket:706]
SQLError is now (also) DBAPIError.
DBAPIError and subtype constructors will refuse to wrap a SystemExit or KeyboardInterrupt, returningthe original interrupt exception instead of a new instance. [ticket:689]
Added a passthroughs for SE/KI exceptions in a couple except-and-discard situations

18 years agoinlined encoding of result column names
Mike Bayer [Sat, 11 Aug 2007 16:30:30 +0000 (16:30 +0000)] 
inlined encoding of result column names

18 years ago- precompiled regexp for anonymous labels
Mike Bayer [Sat, 11 Aug 2007 16:25:30 +0000 (16:25 +0000)] 
- precompiled regexp for anonymous labels
- has_key()->__contains__()

18 years agoBake the version number into the source during packaging.
Jason Kirtland [Sat, 11 Aug 2007 16:05:27 +0000 (16:05 +0000)] 
Bake the version number into the source during packaging.

18 years ago- removed _calculate_correlations() methods, removed correlation_stack, select_stack;
Mike Bayer [Sat, 11 Aug 2007 16:04:38 +0000 (16:04 +0000)] 
- removed _calculate_correlations() methods, removed correlation_stack, select_stack;
all are merged into a single stack thats all within ansicompiler.  clause visiting cut down
significantly.

18 years ago - case_sensitive=(True|False) setting removed from schema items, since
Mike Bayer [Sat, 11 Aug 2007 14:03:23 +0000 (14:03 +0000)] 
  - case_sensitive=(True|False) setting removed from schema items, since
    checking this state added a lot of method call overhead and there was
    no decent reason to ever set it to False.  Table and column names which are
    all lower case will be treated as case-insenstive (yes we adjust for
    Oracle's UPPERCASE style too).

18 years agoattempting to get oracle XID to work. not there yet.
Mike Bayer [Sat, 11 Aug 2007 01:08:42 +0000 (01:08 +0000)] 
attempting to get oracle XID to work.  not there yet.

18 years agoby popular demand, mysql reflection is now a single round-trip and uses a parse of...
Jason Kirtland [Sat, 11 Aug 2007 01:03:37 +0000 (01:03 +0000)] 
by popular demand, mysql reflection is now a single round-trip and uses a parse of SHOW CREATE TABLE ddl [ticket:612]
the ANSI_QUOTES mode is now supported
halfway there for auto_increment on secondary columns [ticket:649]
indexes are now reflected [ticket:663]

18 years agorepaired oracle savepoint implementation
Mike Bayer [Sat, 11 Aug 2007 00:03:26 +0000 (00:03 +0000)] 
repaired oracle savepoint implementation

18 years ago- oracle reflection of case-sensitive names all fixed up
Mike Bayer [Fri, 10 Aug 2007 23:24:06 +0000 (23:24 +0000)] 
- oracle reflection of case-sensitive names all fixed up
- other unit tests corrected for oracle

18 years ago#725 add query arg to id_chooser()
Mike Bayer [Fri, 10 Aug 2007 21:18:01 +0000 (21:18 +0000)] 
#725 add query arg to id_chooser()

18 years agoCorrect docstring.
Jason Kirtland [Fri, 10 Aug 2007 19:41:04 +0000 (19:41 +0000)] 
Correct docstring.

18 years ago--dropfirst option added, defaults to False. pre-drops tables when set to True,...
Mike Bayer [Fri, 10 Aug 2007 18:12:30 +0000 (18:12 +0000)] 
--dropfirst option added, defaults to False.  pre-drops tables when set to True, reportedly mis-behaves on Oracle, MS-SQL.

18 years ago- fixes to PG unicode table/sequence reflection/create/drops
Mike Bayer [Fri, 10 Aug 2007 18:07:46 +0000 (18:07 +0000)] 
- fixes to PG unicode table/sequence reflection/create/drops

18 years ago- merged mapper has_pks fix from r3239 0.3 branch
Mike Bayer [Fri, 10 Aug 2007 15:54:10 +0000 (15:54 +0000)] 
- merged mapper has_pks fix from r3239 0.3 branch

18 years agoformatting tweaks
Mike Bayer [Thu, 9 Aug 2007 22:56:23 +0000 (22:56 +0000)] 
formatting tweaks

18 years agomoved old plugins to "deprecated" subheading, took out SessionContext/assignmapper...
Mike Bayer [Thu, 9 Aug 2007 22:42:16 +0000 (22:42 +0000)] 
moved old plugins to "deprecated" subheading, took out SessionContext/assignmapper docs (references 0.3 docs)

18 years agoAllow '$' in bind param detection [ticket:719], added test suite & fixed an edge...
Jason Kirtland [Thu, 9 Aug 2007 22:10:16 +0000 (22:10 +0000)] 
Allow '$' in bind param detection [ticket:719], added test suite & fixed an edge case

18 years agoremoved unused method from last checkin
Mike Bayer [Thu, 9 Aug 2007 22:03:34 +0000 (22:03 +0000)] 
removed unused method from last checkin

18 years agosome edits
Mike Bayer [Thu, 9 Aug 2007 21:54:04 +0000 (21:54 +0000)] 
some edits

18 years ago- decoupled all ColumnElements from also being Selectables. this means
Mike Bayer [Thu, 9 Aug 2007 21:50:23 +0000 (21:50 +0000)] 
- decoupled all ColumnElements from also being Selectables.  this means
that anything which is a column expression does not have a "c" or a
"columns" attribute.  Also works for select().as_scalar(); _ScalarSelect
is a columnelement, so you can't say select().as_scalar().c.foo, which is
a pretty confusing mistake to make.  in the case of _ScalarSelect made
an explicit raise if you try to access 'c'.

18 years agoAdded 'unformat_identifiers', produces a list of unquoted identifiers from an identif...
Jason Kirtland [Thu, 9 Aug 2007 21:01:50 +0000 (21:01 +0000)] 
Added 'unformat_identifiers', produces a list of unquoted identifiers from an identifier or a fully qualified identifier string.

18 years ago- added 'object_session' as classlevel method to Session
Mike Bayer [Thu, 9 Aug 2007 19:51:36 +0000 (19:51 +0000)] 
- added 'object_session' as classlevel method to Session
- moved 'identity_key' to be a classmethod on Session
- some docstrings
- merged r3229 from 0.3 branch to unconditonally quote schemaname in PG-reflected default
- name fixes in dynamic unit test

18 years agorestore clipping value for YEAR DDL
Jason Kirtland [Thu, 9 Aug 2007 19:03:42 +0000 (19:03 +0000)] 
restore clipping value for YEAR DDL

18 years agosession docs, CHANGES updates
Mike Bayer [Thu, 9 Aug 2007 17:35:00 +0000 (17:35 +0000)] 
session docs, CHANGES updates

18 years agoedits
Mike Bayer [Thu, 9 Aug 2007 04:06:51 +0000 (04:06 +0000)] 
edits

18 years agoadded section on SQL-embedded attributes
Mike Bayer [Thu, 9 Aug 2007 03:42:31 +0000 (03:42 +0000)] 
added section on SQL-embedded attributes

18 years agotweak
Mike Bayer [Thu, 9 Aug 2007 02:15:43 +0000 (02:15 +0000)] 
tweak

18 years agonew session doc
Mike Bayer [Thu, 9 Aug 2007 02:14:48 +0000 (02:14 +0000)] 
new session doc

18 years agowarning: may not be true. (GIS types)
Jason Kirtland [Thu, 9 Aug 2007 01:42:30 +0000 (01:42 +0000)] 
warning: may not be true.  (GIS types)

18 years ago^C ^C ^C! (revert r3218 in pooling.txt)
Jason Kirtland [Wed, 8 Aug 2007 23:48:49 +0000 (23:48 +0000)] 
^C ^C ^C! (revert r3218 in pooling.txt)

18 years agoAdded `set_types` to util, a tuple of available set implementations.
Jason Kirtland [Wed, 8 Aug 2007 23:45:26 +0000 (23:45 +0000)] 
Added `set_types` to util, a tuple of available set implementations.
Added BIT and SET ([ticket:674])- all mysql data types are now covered!
Fix for YEAR DDL generation, also no longer a concatenable type.
Expanded docs for some mysql column esoterica.

18 years ago- fix mssql compiling explicitly added alias twice
Ants Aasma [Wed, 8 Aug 2007 22:35:05 +0000 (22:35 +0000)] 
- fix mssql compiling explicitly added alias twice
- add is_select to mssql dialect. currently adds only sp_columns, someone familiar with mssql should update this
- update mssql get_default_schema_name api
- remove commented code from Query.filter_by

18 years agomerge [3215] into trunk
Paul Johnston [Wed, 8 Aug 2007 20:45:25 +0000 (20:45 +0000)] 
merge [3215] into trunk

18 years agoImprove utf8 engine handling during test setup and in test suites.
Jason Kirtland [Wed, 8 Aug 2007 20:19:23 +0000 (20:19 +0000)] 
Improve utf8 engine handling during test setup and in test suites.

18 years agoAddded 're' import
Jason Kirtland [Wed, 8 Aug 2007 19:57:18 +0000 (19:57 +0000)] 
Addded 're' import

18 years agoadded missing methods/props to ScopedSession
Mike Bayer [Wed, 8 Aug 2007 18:51:13 +0000 (18:51 +0000)] 
added missing methods/props to ScopedSession

18 years agofix url for 04 docs
Jonathan Ellis [Wed, 8 Aug 2007 04:11:32 +0000 (04:11 +0000)] 
fix url for 04 docs

18 years agoupdate SS docs to 0.4
Jonathan Ellis [Wed, 8 Aug 2007 03:52:07 +0000 (03:52 +0000)] 
update SS docs to 0.4

18 years agoput implicit examples as part of test suite
Mike Bayer [Wed, 8 Aug 2007 00:47:15 +0000 (00:47 +0000)] 
put implicit examples as part of test suite

18 years agoadded link to implicit execution section
Mike Bayer [Wed, 8 Aug 2007 00:27:40 +0000 (00:27 +0000)] 
added link to implicit execution section

18 years agoadded docs on connectionless/implicit
Mike Bayer [Wed, 8 Aug 2007 00:17:29 +0000 (00:17 +0000)] 
added docs on connectionless/implicit

18 years agoAdded 'SET' to reserved words, plus gratuitous reindenting.
Jason Kirtland [Tue, 7 Aug 2007 23:58:43 +0000 (23:58 +0000)] 
Added 'SET' to reserved words, plus gratuitous reindenting.

18 years ago- moved extension class init around so query() is available
Mike Bayer [Tue, 7 Aug 2007 17:29:03 +0000 (17:29 +0000)] 
- moved extension class init around so query() is available

18 years ago- migrated 'desc', 'asc', and 'distinct' to be in the Operators framework
Mike Bayer [Tue, 7 Aug 2007 17:12:35 +0000 (17:12 +0000)] 
- migrated 'desc', 'asc', and 'distinct' to be in the Operators framework
- fixes to operator() method signature/calling

18 years agoedits
Mike Bayer [Tue, 7 Aug 2007 04:40:37 +0000 (04:40 +0000)] 
edits

18 years ago'condition' misspelled
Mike Bayer [Tue, 7 Aug 2007 04:12:29 +0000 (04:12 +0000)] 
'condition' misspelled

18 years agoadded 'asc' and 'desc' to PropComparator....this should be placed at a lower level...
Mike Bayer [Mon, 6 Aug 2007 23:23:03 +0000 (23:23 +0000)] 
added 'asc' and 'desc' to PropComparator....this should be placed at a lower level somehow, such
as real ASC and DESC operators

18 years ago- 'comparator' argument to composite() is a class
Mike Bayer [Mon, 6 Aug 2007 23:14:37 +0000 (23:14 +0000)] 
- 'comparator' argument to composite() is a class
- added composite types doc, other edits

18 years ago- added desc() and asc() directly to CompareMixin
Mike Bayer [Mon, 6 Aug 2007 21:52:24 +0000 (21:52 +0000)] 
- added desc() and asc() directly to CompareMixin

18 years ago- docs
Mike Bayer [Mon, 6 Aug 2007 21:32:37 +0000 (21:32 +0000)] 
- docs
- added some convenience functions to selects, clauseelements
- fixed distinct()

18 years agoedits
Mike Bayer [Mon, 6 Aug 2007 19:16:55 +0000 (19:16 +0000)] 
edits

18 years agoclean up some dead code in Query.filter_by
Ants Aasma [Mon, 6 Aug 2007 19:12:31 +0000 (19:12 +0000)] 
clean up some dead code in Query.filter_by

18 years agoedits
Mike Bayer [Mon, 6 Aug 2007 16:23:03 +0000 (16:23 +0000)] 
edits

18 years agogenerated markup fixes
Jason Kirtland [Mon, 6 Aug 2007 02:02:00 +0000 (02:02 +0000)] 
generated markup fixes

18 years ago- edits
Mike Bayer [Mon, 6 Aug 2007 01:51:54 +0000 (01:51 +0000)] 
- edits
- added "params" to ansisql compiler

18 years agoedit
Mike Bayer [Mon, 6 Aug 2007 01:06:22 +0000 (01:06 +0000)] 
edit

18 years agoremoving Query from __all__ was a little premature
Mike Bayer [Mon, 6 Aug 2007 01:03:40 +0000 (01:03 +0000)] 
removing Query from __all__ was a little premature

18 years ago- draft sqlexpression tutorial
Mike Bayer [Mon, 6 Aug 2007 00:59:09 +0000 (00:59 +0000)] 
- draft sqlexpression tutorial
- added some generative methods to exists()
- got clause adapter to work with join()

18 years agoAdd initial version of MS Access support
Paul Johnston [Sun, 5 Aug 2007 23:13:25 +0000 (23:13 +0000)] 
Add initial version of MS Access support

18 years agowork in progress
Mike Bayer [Sun, 5 Aug 2007 22:21:16 +0000 (22:21 +0000)] 
work in progress

18 years agodocstring stuff
Mike Bayer [Sun, 5 Aug 2007 20:19:26 +0000 (20:19 +0000)] 
docstring stuff

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 19:52:56 +0000 (19:52 +0000)] 
edits

18 years agoa more friendly name
Jason Kirtland [Sun, 5 Aug 2007 19:40:52 +0000 (19:40 +0000)] 
a more friendly name

18 years agoAdded test coverage for freeform collection decorators
Jason Kirtland [Sun, 5 Aug 2007 19:21:32 +0000 (19:21 +0000)] 
Added test coverage for freeform collection decorators
Decorators with positional arg specs can be called with named args too...

18 years agoedits, css
Mike Bayer [Sun, 5 Aug 2007 18:55:54 +0000 (18:55 +0000)] 
edits, css

18 years agoeager/lazyloading section
Mike Bayer [Sun, 5 Aug 2007 18:38:50 +0000 (18:38 +0000)] 
eager/lazyloading section

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 17:54:10 +0000 (17:54 +0000)] 
edits

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 17:31:07 +0000 (17:31 +0000)] 
edits

18 years agoedits
Mike Bayer [Sun, 5 Aug 2007 02:33:41 +0000 (02:33 +0000)] 
edits