]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
19 years agoadded "late WHERE" compilation to SELECT, adds where criterion based on extra bind...
Mike Bayer [Wed, 21 Dec 2005 02:36:54 +0000 (02:36 +0000)] 
added "late WHERE" compilation to SELECT, adds where criterion based on extra bind parameters specified
at compilation/execution time

19 years agofix to parameter thing in insert
Mike Bayer [Tue, 20 Dec 2005 05:27:13 +0000 (05:27 +0000)] 
fix to parameter thing in insert
added unicodetype to __all__ for types

19 years agoadded assign_mapper
Mike Bayer [Tue, 20 Dec 2005 05:26:29 +0000 (05:26 +0000)] 
added assign_mapper

19 years agomore complete commit when object list is specified
Mike Bayer [Tue, 20 Dec 2005 05:26:13 +0000 (05:26 +0000)] 
more complete commit when object list is specified

19 years agofix to engine echo, random rundocs
Mike Bayer [Tue, 20 Dec 2005 05:25:30 +0000 (05:25 +0000)] 
fix to engine echo, random rundocs

19 years agoin_ clause uses bind params, for typing etc.
Mike Bayer [Tue, 20 Dec 2005 05:24:51 +0000 (05:24 +0000)] 
in_ clause uses bind params, for typing etc.

19 years agotypemap needs lower case keys since result set metadata is not always case-sensitive...
Mike Bayer [Mon, 19 Dec 2005 08:32:49 +0000 (08:32 +0000)] 
typemap needs lower case keys since result set metadata is not always case-sensitive (like in oracle)

19 years agoneed to do before_insert before populating the insert row
Mike Bayer [Sat, 17 Dec 2005 19:43:11 +0000 (19:43 +0000)] 
need to do before_insert before populating the insert row

19 years agofix to oracle function select, users table in test should be non-sequence
Mike Bayer [Sat, 17 Dec 2005 19:35:00 +0000 (19:35 +0000)] 
fix to oracle function select, users table in test should be non-sequence

19 years agoput an assertion in default test
Mike Bayer [Sat, 17 Dec 2005 18:50:06 +0000 (18:50 +0000)] 
put an assertion in default test

19 years agorefactoring of execution path, defaults, and treatment of different paramstyles
Mike Bayer [Sat, 17 Dec 2005 02:49:47 +0000 (02:49 +0000)] 
refactoring of execution path, defaults, and treatment of different paramstyles

19 years agoindent..
Mike Bayer [Fri, 16 Dec 2005 08:26:58 +0000 (08:26 +0000)] 
indent..

19 years agodocstrings, who knew
Mike Bayer [Fri, 16 Dec 2005 08:26:28 +0000 (08:26 +0000)] 
docstrings, who knew

19 years agomanytomany test shows that mysql needs column lengths on string to be used as a prima...
Mike Bayer [Fri, 16 Dec 2005 07:19:29 +0000 (07:19 +0000)] 
manytomany test shows that mysql needs column lengths on string to be used as a primary key
testbase simplified slightly, allowed by reorganiztion of engine's execution of compiled objects

19 years agofactored "sequence" execution in postgres in oracle to be generalized to the SQLEngin...
Mike Bayer [Fri, 16 Dec 2005 07:18:27 +0000 (07:18 +0000)] 
factored "sequence" execution in postgres in oracle to be generalized to the SQLEngine, to also allow space for "defaults" that may be constants, python functions, or SQL functions/statements
Sequence schema object extends from a more generic "Default" object
ANSICompiled can convert positinal params back to a dictionary, but the whole issue of parameters and how the engine executes compiled objects with parameters should be revisited
mysql has fixes for its "rowid_column" being hidden else it screws up some query construction, also will not use AUTOINCREMENT unless the column is Integer

19 years agoedits
Mike Bayer [Fri, 16 Dec 2005 05:42:54 +0000 (05:42 +0000)] 
edits

19 years agosmall tweak to HistoryList to properly report "delete" success, new unit test added...
Mike Bayer [Thu, 15 Dec 2005 05:09:44 +0000 (05:09 +0000)] 
small tweak to HistoryList to properly report "delete" success, new unit test added to manytomany

19 years agodoc edits
Mike Bayer [Thu, 15 Dec 2005 04:26:33 +0000 (04:26 +0000)] 
doc edits

19 years agorethinking sequences model to allow any default values
Mike Bayer [Thu, 15 Dec 2005 04:25:59 +0000 (04:25 +0000)] 
rethinking sequences model to allow any default values

19 years agoadded select_by, get_by, magic methods
Mike Bayer [Wed, 14 Dec 2005 05:45:49 +0000 (05:45 +0000)] 
added select_by, get_by, magic methods

19 years agoecho can now be False, True or 'debug'. result sets are printed only if echo is ...
Mike Bayer [Mon, 12 Dec 2005 01:56:42 +0000 (01:56 +0000)] 
echo can now be False, True or 'debug'. result sets are printed only if echo is 'debug'.

19 years agomore combinations
Mike Bayer [Mon, 12 Dec 2005 01:46:39 +0000 (01:46 +0000)] 
more combinations

19 years agoadded 'order_by' property to mapper constructor
Mike Bayer [Mon, 12 Dec 2005 01:44:58 +0000 (01:44 +0000)] 
added 'order_by' property to mapper constructor
added 'no_sort' property to mapper _compile method to disable all ordering
mapper _compile will not use its internal order_by if the given statement has an orderby
lazyloader order_by used standalone when loading via mapper

19 years agobuild in 'backref' property argument
Mike Bayer [Fri, 9 Dec 2005 05:08:51 +0000 (05:08 +0000)] 
build in 'backref' property argument

19 years agofixes to the previous checkin with distinct etc
Mike Bayer [Thu, 8 Dec 2005 03:31:07 +0000 (03:31 +0000)] 
fixes to the previous checkin with distinct etc

19 years agosome enhancemnets to unions, unions and selects need to be more commonly derived,
Mike Bayer [Thu, 8 Dec 2005 03:03:29 +0000 (03:03 +0000)] 
some enhancemnets to unions, unions and selects need to be more commonly derived,
also more tweaks to mapper eager query compilation involving distinct etc.

19 years agomore grueling unit tests involving limit, offset and distinct (and unions)
Mike Bayer [Thu, 8 Dec 2005 03:02:33 +0000 (03:02 +0000)] 
more grueling unit tests involving limit, offset and distinct (and unions)

19 years agowording change
Mike Bayer [Wed, 7 Dec 2005 04:21:38 +0000 (04:21 +0000)] 
wording change

19 years agoslight change to order by for limited eager select
Mike Bayer [Wed, 7 Dec 2005 04:21:26 +0000 (04:21 +0000)] 
slight change to order by for limited eager select

19 years ago(no commit message)
Mike Bayer [Wed, 7 Dec 2005 03:05:18 +0000 (03:05 +0000)] 

19 years agolimit and offset support for mappers, insanity with eager loading
Mike Bayer [Wed, 7 Dec 2005 02:57:22 +0000 (02:57 +0000)] 
limit and offset support for mappers, insanity with eager loading

19 years agoadded rudimentary support for limit and offset (with the hack version in oracle)
Mike Bayer [Wed, 7 Dec 2005 01:37:55 +0000 (01:37 +0000)] 
added rudimentary support for limit and offset (with the hack version in oracle)
fixed up order_by to support a list/scalar of columns or asc/desc
fixed up query.py unit test

19 years agoworking the backref attributes thing. many-to-many unittest works now...
Mike Bayer [Tue, 6 Dec 2005 06:45:44 +0000 (06:45 +0000)] 
working the backref attributes thing.  many-to-many unittest works now...

19 years agofirst take at backreference handlers
Mike Bayer [Tue, 6 Dec 2005 03:32:24 +0000 (03:32 +0000)] 
first take at backreference handlers

19 years agofallback on importing pysqlite2
Mike Bayer [Tue, 6 Dec 2005 03:32:02 +0000 (03:32 +0000)] 
fallback on importing pysqlite2

19 years agodocstrings, formatting fixes
Mike Bayer [Sun, 4 Dec 2005 20:34:21 +0000 (20:34 +0000)] 
docstrings, formatting fixes

19 years agoadded order_by to EagerLoader, LazyLoader
Mike Bayer [Sun, 4 Dec 2005 19:41:57 +0000 (19:41 +0000)] 
added order_by to EagerLoader, LazyLoader
removed "scope" parameter from Mapper until we need to revisit that idea

19 years agofixed up paramstyle translation
Mike Bayer [Sun, 4 Dec 2005 18:45:58 +0000 (18:45 +0000)] 
fixed up paramstyle translation

19 years agomore consistent treatment of columns, differentiation of selectable/non-selectable,
Mike Bayer [Sun, 4 Dec 2005 18:27:52 +0000 (18:27 +0000)] 
more consistent treatment of columns, differentiation of selectable/non-selectable,
docstrings

19 years agotesting functions, operators, better textual stuff
Mike Bayer [Sun, 4 Dec 2005 18:26:31 +0000 (18:26 +0000)] 
testing functions, operators, better textual stuff

19 years agomoved to test framework
Mike Bayer [Sun, 4 Dec 2005 18:26:00 +0000 (18:26 +0000)] 
moved to test framework

19 years agomath operators
Mike Bayer [Sun, 4 Dec 2005 02:15:06 +0000 (02:15 +0000)] 
math operators
&|~ boolean operators
added 'literal' keyword
working on column clauses being more flexible

19 years agodev
Mike Bayer [Sun, 4 Dec 2005 02:13:55 +0000 (02:13 +0000)] 
dev

19 years agodev
Mike Bayer [Sun, 4 Dec 2005 00:30:44 +0000 (00:30 +0000)] 
dev

19 years agodev
Mike Bayer [Sun, 4 Dec 2005 00:19:07 +0000 (00:19 +0000)] 
dev

19 years agoprimary_keys => primary_key
Mike Bayer [Sun, 4 Dec 2005 00:18:51 +0000 (00:18 +0000)] 
primary_keys => primary_key

19 years agofixed orderby for eager load with selectalias
Mike Bayer [Sun, 4 Dec 2005 00:18:38 +0000 (00:18 +0000)] 
fixed orderby for eager load with selectalias

19 years agobetter check for circular eager loaders
Mike Bayer [Sat, 3 Dec 2005 09:00:26 +0000 (09:00 +0000)] 
better check for circular eager loaders

19 years agorefactorings to sql generation, unions, engine location
Mike Bayer [Sat, 3 Dec 2005 08:41:18 +0000 (08:41 +0000)] 
refactorings to sql generation, unions, engine location

19 years agotweek
Mike Bayer [Sat, 3 Dec 2005 06:27:40 +0000 (06:27 +0000)] 
tweek

19 years agofixed tree examples import scheme, tweak to properties import
Mike Bayer [Sat, 3 Dec 2005 06:18:55 +0000 (06:18 +0000)] 
fixed tree examples import scheme, tweak to properties import

19 years agorearranging mapper/objectstore into a subdirectory, breaking up files since they...
Mike Bayer [Sat, 3 Dec 2005 06:13:09 +0000 (06:13 +0000)] 
rearranging mapper/objectstore into a subdirectory, breaking up files since they are huge

19 years agomoved eagermapper creation up to insure theres no mapper conflicts when creating...
Mike Bayer [Sat, 3 Dec 2005 05:29:12 +0000 (05:29 +0000)] 
moved eagermapper creation up to insure theres no mapper conflicts when creating/saving

19 years agomany-to-many mechanism changed the ordering of the three queries involved
Mike Bayer [Sat, 3 Dec 2005 05:19:22 +0000 (05:19 +0000)] 
many-to-many mechanism changed the ordering of the three queries involved

19 years agoadded manytomany to alltests
Mike Bayer [Sat, 3 Dec 2005 05:16:25 +0000 (05:16 +0000)] 
added manytomany to alltests
name stuff in manytomany
columns test works against generic Types instead of ANSI-named types

19 years agoadded string-based URLS to create connections
Mike Bayer [Sat, 3 Dec 2005 05:12:56 +0000 (05:12 +0000)] 
added string-based URLS to create connections

19 years agoname change!
Mike Bayer [Sat, 3 Dec 2005 04:56:59 +0000 (04:56 +0000)] 
name change!

19 years agoadded a third "mapper" to a many-to-many relationship that becomes the dependency...
Mike Bayer [Sat, 3 Dec 2005 04:34:12 +0000 (04:34 +0000)] 
added a third "mapper" to a many-to-many relationship that becomes the dependency in the "middle", thus allowing circular many-to-many relationships
added testcase to the 'double' test suite (whose name will change...)
small fix to table.get_col_by_original
added **kwargs to EagerLazyOption so other property options can be sent through

19 years agoadded functionality to map columns to their aliased versions.
Mike Bayer [Fri, 2 Dec 2005 08:49:45 +0000 (08:49 +0000)] 
added functionality to map columns to their aliased versions.
added support for specifying an alias in a relation.
added a new relation flag 'selectalias' which causes eagerloader to use a local alias name for its target table, translating columns back to the original non-aliased name as result rows come in.

19 years agonew test to check a new eager loader feature that loads against aliased names
Mike Bayer [Fri, 2 Dec 2005 08:45:38 +0000 (08:45 +0000)] 
new test to check a new eager loader feature that loads against aliased names

19 years agoAdded float type to support real/double precision/float8/etc sql data types. Added...
Robert Leftwich [Thu, 1 Dec 2005 12:51:38 +0000 (12:51 +0000)] 
Added float type to support real/double precision/float8/etc sql data types. Added columns.py as unit test. Modified sqlite.py, postgres.py and mysql.py to use the new type where appropriate (note -Oracle is unchanged at present).

19 years agotable reflection will default to SLString. default filename added to be :memory:.
Mike Bayer [Thu, 1 Dec 2005 05:19:10 +0000 (05:19 +0000)] 
table reflection will default to SLString.  default filename added to be :memory:.

19 years agomore tweaks to import scheme
Mike Bayer [Wed, 30 Nov 2005 06:01:18 +0000 (06:01 +0000)] 
more tweaks to import scheme

19 years agoadjusted docs to account for import convention, proper sqlite calling convention
Mike Bayer [Wed, 30 Nov 2005 06:00:41 +0000 (06:00 +0000)] 
adjusted docs to account for import convention, proper sqlite calling convention

19 years agomigrated __ALL__ to __all__, oops, and reworked module
Mike Bayer [Wed, 30 Nov 2005 05:39:11 +0000 (05:39 +0000)] 
migrated __ALL__ to __all__, oops, and reworked module
import scheme

19 years agofix to result processing of date types
Mike Bayer [Tue, 29 Nov 2005 06:52:16 +0000 (06:52 +0000)] 
fix to result processing of date types

19 years agoadded group_by, having to select. added func.foo(a, b) keyword to express functions...
Mike Bayer [Tue, 29 Nov 2005 06:43:23 +0000 (06:43 +0000)] 
added group_by, having to select. added func.foo(a, b) keyword to express functions within column lists and criterion lists

19 years agostrips possible schema/table info from a column name returned in cursor metadata
Mike Bayer [Mon, 28 Nov 2005 05:11:53 +0000 (05:11 +0000)] 
strips possible schema/table info from a column name returned in cursor metadata

19 years agomysql default password
Mike Bayer [Mon, 28 Nov 2005 05:11:17 +0000 (05:11 +0000)] 
mysql default password

19 years ago(no commit message)
Mike Bayer [Sun, 27 Nov 2005 06:36:55 +0000 (06:36 +0000)] 

19 years agoadded mysql to module list
Mike Bayer [Sun, 27 Nov 2005 06:19:34 +0000 (06:19 +0000)] 
added mysql to module list

19 years agomysql engine comment..
Mike Bayer [Sun, 27 Nov 2005 05:44:20 +0000 (05:44 +0000)] 
mysql engine comment..

19 years agorowcount doesnt work on MySQL, so disabled concurrency check with mysql
Mike Bayer [Sun, 27 Nov 2005 05:32:13 +0000 (05:32 +0000)] 
rowcount doesnt work on MySQL, so disabled concurrency check with mysql

19 years agosome fixes to IN clauses, literal text clauses displaying text/numeric properly including
Mike Bayer [Sun, 27 Nov 2005 05:31:22 +0000 (05:31 +0000)] 
some fixes to IN clauses, literal text clauses displaying text/numeric properly including
longs

19 years agosome cleanup to tests, adjustments to support mysql quirks
Mike Bayer [Sun, 27 Nov 2005 05:29:56 +0000 (05:29 +0000)] 
some cleanup to tests, adjustments to support mysql quirks

19 years agomysql somewhat present
Mike Bayer [Sun, 27 Nov 2005 01:40:18 +0000 (01:40 +0000)] 
mysql somewhat present

19 years agosupports positional params for mysql - needs to be generalized
Mike Bayer [Sun, 27 Nov 2005 01:40:03 +0000 (01:40 +0000)] 
supports positional params for mysql - needs to be generalized

19 years agoAdded some error checking to the command line processing in testbase
Robert Leftwich [Sat, 26 Nov 2005 23:15:43 +0000 (23:15 +0000)] 
Added some error checking to the command line processing in testbase

19 years agogot round trip for multiple priamry keys to work with table create/reflection (postgr...
Mike Bayer [Sat, 26 Nov 2005 20:14:03 +0000 (20:14 +0000)] 
got round trip for multiple priamry keys to work with table create/reflection (postgres, sqlite)
small fix to ORM get with multiple primary keys

19 years agomore fixes to schema constructor, test suites not conflicting with each other
Mike Bayer [Sat, 26 Nov 2005 20:12:40 +0000 (20:12 +0000)] 
more fixes to schema constructor, test suites not conflicting with each other

19 years agocleaning up more with command-line args
Mike Bayer [Sat, 26 Nov 2005 19:54:32 +0000 (19:54 +0000)] 
cleaning up more with command-line args

19 years agorefactoring test to be more consistent, added multipk test to engine
Mike Bayer [Sat, 26 Nov 2005 19:26:30 +0000 (19:26 +0000)] 
refactoring test to be more consistent, added multipk test to engine

19 years ago**kwargs to table, column are checked, fixed propigation of foreignkey/sequence to...
Mike Bayer [Sat, 26 Nov 2005 18:05:57 +0000 (18:05 +0000)] 
**kwargs to table, column are checked, fixed propigation of foreignkey/sequence to copied columns

19 years agobroke out coltypes across psycopg1/2, placed TODO for ps1 date adjustment
Mike Bayer [Sat, 26 Nov 2005 01:38:00 +0000 (01:38 +0000)] 
broke out coltypes across psycopg1/2, placed TODO for ps1 date adjustment

19 years agoadded page title via attributes to each document
Mike Bayer [Sat, 26 Nov 2005 01:07:06 +0000 (01:07 +0000)] 
added page title via attributes to each document

19 years agofixes to "AS" on aliases, paramstyle default on ansisql
Mike Bayer [Mon, 21 Nov 2005 03:14:40 +0000 (03:14 +0000)] 
fixes to "AS" on aliases, paramstyle default on ansisql

19 years ago(no commit message)
Mike Bayer [Sat, 19 Nov 2005 05:29:13 +0000 (05:29 +0000)] 

19 years ago(no commit message)
Mike Bayer [Sat, 19 Nov 2005 02:30:13 +0000 (02:30 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 07:50:05 +0000 (07:50 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 06:50:19 +0000 (06:50 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 06:38:07 +0000 (06:38 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 04:40:06 +0000 (04:40 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 03:42:20 +0000 (03:42 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 02:45:19 +0000 (02:45 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 00:52:05 +0000 (00:52 +0000)] 

19 years ago(no commit message)
Mike Bayer [Fri, 18 Nov 2005 00:13:46 +0000 (00:13 +0000)] 

19 years ago(no commit message)
Mike Bayer [Thu, 17 Nov 2005 07:28:29 +0000 (07:28 +0000)] 

19 years ago(no commit message)
Mike Bayer [Thu, 17 Nov 2005 07:12:11 +0000 (07:12 +0000)] 

19 years agobrand new topological sort library. woop.
Mike Bayer [Thu, 17 Nov 2005 06:51:51 +0000 (06:51 +0000)] 
brand new topological sort library. woop.

19 years agobrand new topological sort library. woop.
Mike Bayer [Thu, 17 Nov 2005 06:06:14 +0000 (06:06 +0000)] 
brand new topological sort library. woop.