]>
git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
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
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
Mike Bayer [Tue, 20 Dec 2005 05:26:29 +0000 (05:26 +0000)]
added assign_mapper
Mike Bayer [Tue, 20 Dec 2005 05:26:13 +0000 (05:26 +0000)]
more complete commit when object list is specified
Mike Bayer [Tue, 20 Dec 2005 05:25:30 +0000 (05:25 +0000)]
fix to engine echo, random rundocs
Mike Bayer [Tue, 20 Dec 2005 05:24:51 +0000 (05:24 +0000)]
in_ clause uses bind params, for typing etc.
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)
Mike Bayer [Sat, 17 Dec 2005 19:43:11 +0000 (19:43 +0000)]
need to do before_insert before populating the insert row
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
Mike Bayer [Sat, 17 Dec 2005 18:50:06 +0000 (18:50 +0000)]
put an assertion in default test
Mike Bayer [Sat, 17 Dec 2005 02:49:47 +0000 (02:49 +0000)]
refactoring of execution path, defaults, and treatment of different paramstyles
Mike Bayer [Fri, 16 Dec 2005 08:26:58 +0000 (08:26 +0000)]
indent..
Mike Bayer [Fri, 16 Dec 2005 08:26:28 +0000 (08:26 +0000)]
docstrings, who knew
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
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
Mike Bayer [Fri, 16 Dec 2005 05:42:54 +0000 (05:42 +0000)]
edits
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
Mike Bayer [Thu, 15 Dec 2005 04:26:33 +0000 (04:26 +0000)]
doc edits
Mike Bayer [Thu, 15 Dec 2005 04:25:59 +0000 (04:25 +0000)]
rethinking sequences model to allow any default values
Mike Bayer [Wed, 14 Dec 2005 05:45:49 +0000 (05:45 +0000)]
added select_by, get_by, magic methods
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'.
Mike Bayer [Mon, 12 Dec 2005 01:46:39 +0000 (01:46 +0000)]
more combinations
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
Mike Bayer [Fri, 9 Dec 2005 05:08:51 +0000 (05:08 +0000)]
build in 'backref' property argument
Mike Bayer [Thu, 8 Dec 2005 03:31:07 +0000 (03:31 +0000)]
fixes to the previous checkin with distinct etc
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.
Mike Bayer [Thu, 8 Dec 2005 03:02:33 +0000 (03:02 +0000)]
more grueling unit tests involving limit, offset and distinct (and unions)
Mike Bayer [Wed, 7 Dec 2005 04:21:38 +0000 (04:21 +0000)]
wording change
Mike Bayer [Wed, 7 Dec 2005 04:21:26 +0000 (04:21 +0000)]
slight change to order by for limited eager select
Mike Bayer [Wed, 7 Dec 2005 03:05:18 +0000 (03:05 +0000)]
Mike Bayer [Wed, 7 Dec 2005 02:57:22 +0000 (02:57 +0000)]
limit and offset support for mappers, insanity with eager loading
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
Mike Bayer [Tue, 6 Dec 2005 06:45:44 +0000 (06:45 +0000)]
working the backref attributes thing. many-to-many unittest works now...
Mike Bayer [Tue, 6 Dec 2005 03:32:24 +0000 (03:32 +0000)]
first take at backreference handlers
Mike Bayer [Tue, 6 Dec 2005 03:32:02 +0000 (03:32 +0000)]
fallback on importing pysqlite2
Mike Bayer [Sun, 4 Dec 2005 20:34:21 +0000 (20:34 +0000)]
docstrings, formatting fixes
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
Mike Bayer [Sun, 4 Dec 2005 18:45:58 +0000 (18:45 +0000)]
fixed up paramstyle translation
Mike Bayer [Sun, 4 Dec 2005 18:27:52 +0000 (18:27 +0000)]
more consistent treatment of columns, differentiation of selectable/non-selectable,
docstrings
Mike Bayer [Sun, 4 Dec 2005 18:26:31 +0000 (18:26 +0000)]
testing functions, operators, better textual stuff
Mike Bayer [Sun, 4 Dec 2005 18:26:00 +0000 (18:26 +0000)]
moved to test framework
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
Mike Bayer [Sun, 4 Dec 2005 02:13:55 +0000 (02:13 +0000)]
dev
Mike Bayer [Sun, 4 Dec 2005 00:30:44 +0000 (00:30 +0000)]
dev
Mike Bayer [Sun, 4 Dec 2005 00:19:07 +0000 (00:19 +0000)]
dev
Mike Bayer [Sun, 4 Dec 2005 00:18:51 +0000 (00:18 +0000)]
primary_keys => primary_key
Mike Bayer [Sun, 4 Dec 2005 00:18:38 +0000 (00:18 +0000)]
fixed orderby for eager load with selectalias
Mike Bayer [Sat, 3 Dec 2005 09:00:26 +0000 (09:00 +0000)]
better check for circular eager loaders
Mike Bayer [Sat, 3 Dec 2005 08:41:18 +0000 (08:41 +0000)]
refactorings to sql generation, unions, engine location
Mike Bayer [Sat, 3 Dec 2005 06:27:40 +0000 (06:27 +0000)]
tweek
Mike Bayer [Sat, 3 Dec 2005 06:18:55 +0000 (06:18 +0000)]
fixed tree examples import scheme, tweak to properties import
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
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
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
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
Mike Bayer [Sat, 3 Dec 2005 05:12:56 +0000 (05:12 +0000)]
added string-based URLS to create connections
Mike Bayer [Sat, 3 Dec 2005 04:56:59 +0000 (04:56 +0000)]
name change!
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
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.
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
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).
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:.
Mike Bayer [Wed, 30 Nov 2005 06:01:18 +0000 (06:01 +0000)]
more tweaks to import scheme
Mike Bayer [Wed, 30 Nov 2005 06:00:41 +0000 (06:00 +0000)]
adjusted docs to account for import convention, proper sqlite calling convention
Mike Bayer [Wed, 30 Nov 2005 05:39:11 +0000 (05:39 +0000)]
migrated __ALL__ to __all__, oops, and reworked module
import scheme
Mike Bayer [Tue, 29 Nov 2005 06:52:16 +0000 (06:52 +0000)]
fix to result processing of date types
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
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
Mike Bayer [Mon, 28 Nov 2005 05:11:17 +0000 (05:11 +0000)]
mysql default password
Mike Bayer [Sun, 27 Nov 2005 06:36:55 +0000 (06:36 +0000)]
Mike Bayer [Sun, 27 Nov 2005 06:19:34 +0000 (06:19 +0000)]
added mysql to module list
Mike Bayer [Sun, 27 Nov 2005 05:44:20 +0000 (05:44 +0000)]
mysql engine comment..
Mike Bayer [Sun, 27 Nov 2005 05:32:13 +0000 (05:32 +0000)]
rowcount doesnt work on MySQL, so disabled concurrency check with mysql
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
Mike Bayer [Sun, 27 Nov 2005 05:29:56 +0000 (05:29 +0000)]
some cleanup to tests, adjustments to support mysql quirks
Mike Bayer [Sun, 27 Nov 2005 01:40:18 +0000 (01:40 +0000)]
mysql somewhat present
Mike Bayer [Sun, 27 Nov 2005 01:40:03 +0000 (01:40 +0000)]
supports positional params for mysql - needs to be generalized
Robert Leftwich [Sat, 26 Nov 2005 23:15:43 +0000 (23:15 +0000)]
Added some error checking to the command line processing in testbase
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
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
Mike Bayer [Sat, 26 Nov 2005 19:54:32 +0000 (19:54 +0000)]
cleaning up more with command-line args
Mike Bayer [Sat, 26 Nov 2005 19:26:30 +0000 (19:26 +0000)]
refactoring test to be more consistent, added multipk test to engine
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
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
Mike Bayer [Sat, 26 Nov 2005 01:07:06 +0000 (01:07 +0000)]
added page title via attributes to each document
Mike Bayer [Mon, 21 Nov 2005 03:14:40 +0000 (03:14 +0000)]
fixes to "AS" on aliases, paramstyle default on ansisql
Mike Bayer [Sat, 19 Nov 2005 05:29:13 +0000 (05:29 +0000)]
Mike Bayer [Sat, 19 Nov 2005 02:30:13 +0000 (02:30 +0000)]
Mike Bayer [Fri, 18 Nov 2005 07:50:05 +0000 (07:50 +0000)]
Mike Bayer [Fri, 18 Nov 2005 06:50:19 +0000 (06:50 +0000)]
Mike Bayer [Fri, 18 Nov 2005 06:38:07 +0000 (06:38 +0000)]
Mike Bayer [Fri, 18 Nov 2005 04:40:06 +0000 (04:40 +0000)]
Mike Bayer [Fri, 18 Nov 2005 03:42:20 +0000 (03:42 +0000)]
Mike Bayer [Fri, 18 Nov 2005 02:45:19 +0000 (02:45 +0000)]
Mike Bayer [Fri, 18 Nov 2005 00:52:05 +0000 (00:52 +0000)]
Mike Bayer [Fri, 18 Nov 2005 00:13:46 +0000 (00:13 +0000)]
Mike Bayer [Thu, 17 Nov 2005 07:28:29 +0000 (07:28 +0000)]
Mike Bayer [Thu, 17 Nov 2005 07:12:11 +0000 (07:12 +0000)]
Mike Bayer [Thu, 17 Nov 2005 06:51:51 +0000 (06:51 +0000)]
brand new topological sort library. woop.
Mike Bayer [Thu, 17 Nov 2005 06:06:14 +0000 (06:06 +0000)]
brand new topological sort library. woop.