]>
git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
Jason Kirtland [Thu, 9 Aug 2007 19:03:42 +0000 (19:03 +0000)]
restore clipping value for YEAR DDL
Mike Bayer [Thu, 9 Aug 2007 17:35:00 +0000 (17:35 +0000)]
session docs, CHANGES updates
Mike Bayer [Thu, 9 Aug 2007 04:06:51 +0000 (04:06 +0000)]
edits
Mike Bayer [Thu, 9 Aug 2007 03:42:31 +0000 (03:42 +0000)]
added section on SQL-embedded attributes
Mike Bayer [Thu, 9 Aug 2007 02:15:43 +0000 (02:15 +0000)]
tweak
Mike Bayer [Thu, 9 Aug 2007 02:14:48 +0000 (02:14 +0000)]
new session doc
Jason Kirtland [Thu, 9 Aug 2007 01:42:30 +0000 (01:42 +0000)]
warning: may not be true. (GIS types)
Jason Kirtland [Wed, 8 Aug 2007 23:48:49 +0000 (23:48 +0000)]
^C ^C ^C! (revert r3218 in pooling.txt)
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.
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
Paul Johnston [Wed, 8 Aug 2007 20:45:25 +0000 (20:45 +0000)]
merge [3215] into trunk
Jason Kirtland [Wed, 8 Aug 2007 20:19:23 +0000 (20:19 +0000)]
Improve utf8 engine handling during test setup and in test suites.
Jason Kirtland [Wed, 8 Aug 2007 19:57:18 +0000 (19:57 +0000)]
Addded 're' import
Mike Bayer [Wed, 8 Aug 2007 18:51:13 +0000 (18:51 +0000)]
added missing methods/props to ScopedSession
Jonathan Ellis [Wed, 8 Aug 2007 04:11:32 +0000 (04:11 +0000)]
fix url for 04 docs
Jonathan Ellis [Wed, 8 Aug 2007 03:52:07 +0000 (03:52 +0000)]
update SS docs to 0.4
Mike Bayer [Wed, 8 Aug 2007 00:47:15 +0000 (00:47 +0000)]
put implicit examples as part of test suite
Mike Bayer [Wed, 8 Aug 2007 00:27:40 +0000 (00:27 +0000)]
added link to implicit execution section
Mike Bayer [Wed, 8 Aug 2007 00:17:29 +0000 (00:17 +0000)]
added docs on connectionless/implicit
Jason Kirtland [Tue, 7 Aug 2007 23:58:43 +0000 (23:58 +0000)]
Added 'SET' to reserved words, plus gratuitous reindenting.
Mike Bayer [Tue, 7 Aug 2007 17:29:03 +0000 (17:29 +0000)]
- moved extension class init around so query() is available
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
Mike Bayer [Tue, 7 Aug 2007 04:40:37 +0000 (04:40 +0000)]
edits
Mike Bayer [Tue, 7 Aug 2007 04:12:29 +0000 (04:12 +0000)]
'condition' misspelled
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
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
Mike Bayer [Mon, 6 Aug 2007 21:52:24 +0000 (21:52 +0000)]
- added desc() and asc() directly to CompareMixin
Mike Bayer [Mon, 6 Aug 2007 21:32:37 +0000 (21:32 +0000)]
- docs
- added some convenience functions to selects, clauseelements
- fixed distinct()
Mike Bayer [Mon, 6 Aug 2007 19:16:55 +0000 (19:16 +0000)]
edits
Ants Aasma [Mon, 6 Aug 2007 19:12:31 +0000 (19:12 +0000)]
clean up some dead code in Query.filter_by
Mike Bayer [Mon, 6 Aug 2007 16:23:03 +0000 (16:23 +0000)]
edits
Jason Kirtland [Mon, 6 Aug 2007 02:02:00 +0000 (02:02 +0000)]
generated markup fixes
Mike Bayer [Mon, 6 Aug 2007 01:51:54 +0000 (01:51 +0000)]
- edits
- added "params" to ansisql compiler
Mike Bayer [Mon, 6 Aug 2007 01:06:22 +0000 (01:06 +0000)]
edit
Mike Bayer [Mon, 6 Aug 2007 01:03:40 +0000 (01:03 +0000)]
removing Query from __all__ was a little premature
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()
Paul Johnston [Sun, 5 Aug 2007 23:13:25 +0000 (23:13 +0000)]
Add initial version of MS Access support
Mike Bayer [Sun, 5 Aug 2007 22:21:16 +0000 (22:21 +0000)]
work in progress
Mike Bayer [Sun, 5 Aug 2007 20:19:26 +0000 (20:19 +0000)]
docstring stuff
Mike Bayer [Sun, 5 Aug 2007 19:52:56 +0000 (19:52 +0000)]
edits
Jason Kirtland [Sun, 5 Aug 2007 19:40:52 +0000 (19:40 +0000)]
a more friendly name
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...
Mike Bayer [Sun, 5 Aug 2007 18:55:54 +0000 (18:55 +0000)]
edits, css
Mike Bayer [Sun, 5 Aug 2007 18:38:50 +0000 (18:38 +0000)]
eager/lazyloading section
Mike Bayer [Sun, 5 Aug 2007 17:54:10 +0000 (17:54 +0000)]
edits
Mike Bayer [Sun, 5 Aug 2007 17:31:07 +0000 (17:31 +0000)]
edits
Mike Bayer [Sun, 5 Aug 2007 02:33:41 +0000 (02:33 +0000)]
edits
Mike Bayer [Sun, 5 Aug 2007 01:23:59 +0000 (01:23 +0000)]
edit
Jason Kirtland [Sun, 5 Aug 2007 01:21:10 +0000 (01:21 +0000)]
doc tweaks
Jason Kirtland [Sat, 4 Aug 2007 21:53:41 +0000 (21:53 +0000)]
Pedantic tweak to coltype swappage...
Jason Kirtland [Sat, 4 Aug 2007 21:43:42 +0000 (21:43 +0000)]
Further tweaks for lc strategies
Ensure that the recently added first-class tinyint plays nicely with boolean reflection
Jason Kirtland [Sat, 4 Aug 2007 21:25:29 +0000 (21:25 +0000)]
Added explicit Unicode table_names test
Jason Kirtland [Sat, 4 Aug 2007 19:34:30 +0000 (19:34 +0000)]
Revert r3169 and r3148 changes to unicode schema reflection test, will add an explicit engine/reflection test to cover.
Jason Kirtland [Sat, 4 Aug 2007 19:29:54 +0000 (19:29 +0000)]
More robust droppage of table detritus, also respect --quiet
Jason Kirtland [Sat, 4 Aug 2007 16:55:08 +0000 (16:55 +0000)]
Update for osx
Mike Bayer [Sat, 4 Aug 2007 06:15:25 +0000 (06:15 +0000)]
edits
Mike Bayer [Sat, 4 Aug 2007 06:00:45 +0000 (06:00 +0000)]
- fix for [ticket:712], more unit tests
Mike Bayer [Sat, 4 Aug 2007 00:11:35 +0000 (00:11 +0000)]
inheritance docs
Jason Kirtland [Fri, 3 Aug 2007 20:08:26 +0000 (20:08 +0000)]
Rearranged engine initialization, its now easy to make ad-hoc testing engines that preserve all of the --options requested
Promoted the 'utf8 bind' logic for tests needing utf8 connections into testlib
Added a pause before issuing DROPs to rid the testing db of clutter
Mike Bayer [Fri, 3 Aug 2007 20:04:41 +0000 (20:04 +0000)]
- fixed table_names for postgres to return as dialect.encoding-decoded unicode strings
Mike Bayer [Fri, 3 Aug 2007 19:54:16 +0000 (19:54 +0000)]
- added hooks for alternate session classes into sessionmaker
- moved shard example/unittest over to sessionmaker
Mike Bayer [Fri, 3 Aug 2007 19:31:38 +0000 (19:31 +0000)]
- removed enhance_classes from scoped_session, replaced with
scoped_session(...).mapper. 'mapper' essentially does the same
thing as assign_mapper less verbosely.
- adapted assignmapper unit tests into scoped_session tests
Mike Bayer [Fri, 3 Aug 2007 18:56:23 +0000 (18:56 +0000)]
changed to use class attributes
Mike Bayer [Fri, 3 Aug 2007 18:47:35 +0000 (18:47 +0000)]
small fix for filter() aliasing, upgraded elementtree examples to use 0.4 style queries
Jonathan Ellis [Fri, 3 Aug 2007 18:35:30 +0000 (18:35 +0000)]
stupid svn:ignore isn't recursive? who thought THAT was a bright idea? find test lib -type d |grep -v svn |xargs -n 1 svn propset svn:ignore '*.pyc'
Jonathan Ellis [Fri, 3 Aug 2007 18:29:21 +0000 (18:29 +0000)]
add pyc to svnignore
Jonathan Ellis [Fri, 3 Aug 2007 18:28:11 +0000 (18:28 +0000)]
switch "if not len(x)" to "if not x"
Mike Bayer [Fri, 3 Aug 2007 17:19:03 +0000 (17:19 +0000)]
edits
Mike Bayer [Fri, 3 Aug 2007 16:56:43 +0000 (16:56 +0000)]
more edits
Mike Bayer [Fri, 3 Aug 2007 16:52:24 +0000 (16:52 +0000)]
edits, html escaping
Jason Kirtland [Fri, 3 Aug 2007 14:43:28 +0000 (14:43 +0000)]
Oops.
Jonathan Ellis [Fri, 3 Aug 2007 14:02:28 +0000 (14:02 +0000)]
only one instance of while len(...)
Jonathan Ellis [Fri, 3 Aug 2007 13:57:40 +0000 (13:57 +0000)]
switch (simple) occurences of 'if len(x)' to 'if x': find . -name '*.py' |xargs perl -pi.bak -e 's/if len\((\S+)\):/if $1:/' && find . -name '*.bak' |xargs rm
Jonathan Ellis [Fri, 3 Aug 2007 04:49:34 +0000 (04:49 +0000)]
add comment, intermediate var for readability
Jonathan Ellis [Fri, 3 Aug 2007 04:01:41 +0000 (04:01 +0000)]
table_names shouldn't include system tables. (if user wants that they should poke around in catalog manually.)
Jason Kirtland [Fri, 3 Aug 2007 02:38:00 +0000 (02:38 +0000)]
- Dialects can be queried for the server version (sqlite and mysql only with this commit)
- Mark everything in a test suite as failed when setUpAll fails.
- Added test coverage for Unicode table names in metadata.reflect()
- @testing.exclude() filters out tests by server version
- Applied exclude to the test suite, MySQL 4.1 passes again (no XA or SAVEPOINT)
- Removed MySQL charset-setting pool hook- charset=utf8&use_unicode=0 works just as well. (Am I nuts? I'd swear this didn't work before.)
- Finally migrated some old MySQL-tests into the dialect test module
- Corrected 'commit' and 'rollback' logic (and comment) for ancient MySQL versions lacking transactions entirely
- Deprecated the MySQL get_version_info in favor of server_version_info
- Added a big hunk-o-doc for MySQL.
Mike Bayer [Thu, 2 Aug 2007 23:44:50 +0000 (23:44 +0000)]
docs
Mike Bayer [Thu, 2 Aug 2007 15:45:04 +0000 (15:45 +0000)]
- fixed autoflush with count(), aggregates
- doc formatting bonanza
- delete() section to orm tutorial
Mike Bayer [Thu, 2 Aug 2007 05:42:49 +0000 (05:42 +0000)]
- sessionmaker module is out, replaced with simple function in session.py
- scoping/class instrumenting behavior of sessionmaker moved into new scoping module
which implements scoped_session() (subject to potential name change)
- SessionContext / assignmapper are deprecated, replaced with scoped_session()
Mike Bayer [Thu, 2 Aug 2007 04:24:02 +0000 (04:24 +0000)]
- added inline UPDATE/INSERT clauses, settable as regular object attributes.
the clause gets executed inline during a flush().
Mike Bayer [Thu, 2 Aug 2007 03:13:02 +0000 (03:13 +0000)]
added values() generative method to Insert/Update
Mike Bayer [Thu, 2 Aug 2007 01:31:28 +0000 (01:31 +0000)]
replaced metaclass/__new__ insanity with a __call__()
Mike Bayer [Thu, 2 Aug 2007 01:18:42 +0000 (01:18 +0000)]
- used a metaclass trick to get Session.bind / Session.<someprop> to work
Mike Bayer [Thu, 2 Aug 2007 00:02:16 +0000 (00:02 +0000)]
-merged 0.3 pool threadlocal fix from r3139
Mike Bayer [Wed, 1 Aug 2007 20:52:26 +0000 (20:52 +0000)]
- SessionContext and assignmapper are deprecated
- Session function is removed
- all replaced with new sessionmaker() function. description at:
http://www.sqlalchemy.org/trac/wiki/WhatsNewIn04#create_sessionSessionContextassignmapperDeprecated
Jason Kirtland [Wed, 1 Aug 2007 20:07:46 +0000 (20:07 +0000)]
Remove unused mxDateTime
Jason Kirtland [Wed, 1 Aug 2007 20:07:07 +0000 (20:07 +0000)]
Stopgap for post- #646 and r3030, wedge in 0.3 Decimals-are-floats behavior for vanilla 2.3 Python.
Jason Kirtland [Wed, 1 Aug 2007 19:27:58 +0000 (19:27 +0000)]
Don't set __name__ on py 2.3
Jason Kirtland [Wed, 1 Aug 2007 17:52:34 +0000 (17:52 +0000)]
ThreadLocalMetaData ought not .dispose() a Connection
More docstring changes
Jason Kirtland [Wed, 1 Aug 2007 17:51:10 +0000 (17:51 +0000)]
Sort methods by __init__, name, __names__
Supply a little default docstring for __init__
Don't document __repr__, __str__, __getstate__, ...
Jason Kirtland [Wed, 1 Aug 2007 15:33:55 +0000 (15:33 +0000)]
Make {include,exclude}_properties membership tests ignore column_prefix
Jason Kirtland [Wed, 1 Aug 2007 08:09:47 +0000 (08:09 +0000)]
Tweak 'poolclass' default arg processing [ticket:437]
Jason Kirtland [Wed, 1 Aug 2007 07:18:50 +0000 (07:18 +0000)]
Added EXT_CONTINUE and EXT_STOP for MapperExtensions; EXT_PASS is a synonym for EXT_CONTINUE.
Repointed docs and examples to EXT_CONTINUE
Jason Kirtland [Wed, 1 Aug 2007 06:27:31 +0000 (06:27 +0000)]
Little docstring tweaks
Jason Kirtland [Wed, 1 Aug 2007 06:15:16 +0000 (06:15 +0000)]
Expanded docstring docs for pool hooks.
Jason Kirtland [Wed, 1 Aug 2007 06:14:26 +0000 (06:14 +0000)]
Ignore __weakref__ methods. Not sure why they're bubbling up here- a Python 2.5 artifact?
Jason Kirtland [Wed, 1 Aug 2007 01:44:24 +0000 (01:44 +0000)]
It's now possible to map only a subset of available selectable columns onto mapper properties [ticket:696].
Jason Kirtland [Wed, 1 Aug 2007 00:22:51 +0000 (00:22 +0000)]
Removed trailing slash from sys.path manipulation [ticket:700]
Jason Kirtland [Wed, 1 Aug 2007 00:18:38 +0000 (00:18 +0000)]
Tweak ([ticket:673])
Jason Kirtland [Wed, 1 Aug 2007 00:12:42 +0000 (00:12 +0000)]
Promoted format_table_seq from mysql to ansisql. Formats a fully qualified table reference as a quoted sequence, suitable for '.'.joining or whatever. [ticket:666]