Mike Bayer
d953de35d6
base begin method returns transaciton object
2006-02-18 22:31:47 +00:00
Mike Bayer
0ba8530370
added new style of begin/commit which returns a tranactional object
2006-02-18 21:11:20 +00:00
Mike Bayer
55ce6851e0
added indexes to schema/ansisql/engine
...
slightly different index syntax for mysql
fixed mysql Time type to convert from a timedelta to time
tweaks to date unit tests for mysql
2006-02-18 20:33:20 +00:00
Mike Bayer
38dfca8c7f
comment verbiage
2006-02-18 16:37:35 +00:00
Mike Bayer
bc784f9556
postgres needs to explicitly pre-execute PassiveDefaults on primary key columns, test added
2006-02-18 16:32:33 +00:00
Mike Bayer
edb8f67111
bind params upon insert are totally column "name" based, so in process_defaults set newly acquired parameter by name also
2006-02-17 22:10:14 +00:00
Robert Leftwich
8fe4b45359
Modified objectstore to look for primary key param values by column name not key name. Added test for same.
2006-02-17 12:35:52 +00:00
Mike Bayer
87507a3c1b
tweak to get tables to show up
2006-02-17 05:32:30 +00:00
Mike Bayer
f249438be4
added another multi-pk test
2006-02-17 05:29:16 +00:00
Mike Bayer
c6ccddde21
fix to types test, postgres time types descend from Time type
2006-02-17 04:49:04 +00:00
Mike Bayer
664d4625e1
got inheritance into alltest
2006-02-16 06:40:20 +00:00
Mike Bayer
76681751cd
ok now they worked...
2006-02-16 06:38:49 +00:00
Mike Bayer
435d2355c9
inheritance test
...
tweaking to try to get alltests to work, unsuccessful
2006-02-16 06:37:41 +00:00
Mike Bayer
f036a2e285
fix
2006-02-14 01:18:46 +00:00
Mike Bayer
5df5cdba29
tweaks for order_by
2006-02-14 01:15:53 +00:00
Mike Bayer
14dbac4600
fixes mostly to get the important unit tests to run for Oracle, boxesw without wsgi_utils
2006-02-14 01:02:50 +00:00
Mike Bayer
7fb79e516d
oracle likes to use VARCHAR isntead of CLOB so put limits on String
2006-02-14 00:50:02 +00:00
Mike Bayer
791e2f7f7d
latest reorgnanization of the objectstore, the Session is a simpler object that just maintains begin/commit state
2006-02-14 00:30:30 +00:00
Mike Bayer
388cb2db38
some tweaks to options, use_alias, live removed
2006-02-12 21:26:24 +00:00
Mike Bayer
a41b19a3d7
some comments for default test
2006-02-12 06:28:10 +00:00
Mike Bayer
adbd3ae29e
more hammering of defaults. ORM will properly execute defaults and post-fetch rows that contain passive defaults
2006-02-11 23:29:02 +00:00
Mike Bayer
e7a7708b43
integrating Jonathan LaCour's declarative layer
2006-02-11 21:24:54 +00:00
Mike Bayer
86c0504fa6
tableimpl and columnimpl proxy to actual impl objects per engine
2006-02-11 21:04:48 +00:00
Mike Bayer
2802748122
streamlined engine.schemagenerator and engine.schemadropper methodology
...
added support for creating PassiveDefault (i.e. regular DEFAULT) on table columns
postgres can reflect default values via information_schema
added unittests for PassiveDefault values getting created, inserted, coming back in result sets
2006-02-11 20:50:41 +00:00
Mike Bayer
349c00c97a
crazy postgres and its foreign key constraints
2006-02-11 19:43:06 +00:00
Mike Bayer
3c73d40fd3
fixes to TypeDecorator, including A. Houghton's patch
2006-02-11 19:35:50 +00:00
Mike Bayer
0b05f1453a
beefed up type adaptation methodology, got Unicode to do encode/decode + test case
2006-02-11 18:54:51 +00:00
Mike Bayer
6bf949d3f4
somewhat of an overhaul, got alltests to work again
2006-02-09 00:34:07 +00:00
Mike Bayer
63472a96e2
took mysql foriegn key thing out
2006-02-06 01:23:51 +00:00
Mike Bayer
3e23358d6f
table supports per-engine-type options, ansisql allows engines
...
to add a "post table create" string
mysql gets mysql_engine argument
InnoDB set as default in engines test
2006-02-05 23:45:07 +00:00
Mike Bayer
a9fb2f3e6f
more Sequences needed for oracle
2006-02-05 17:02:18 +00:00
Mike Bayer
c32615690a
ordering of queries can be different based on platform dictionary ordering
2006-02-05 16:25:27 +00:00
Mike Bayer
25e62798d0
needed optional sequence for oracle support
2006-02-05 16:10:28 +00:00
Mike Bayer
88ce7c8941
dont mask engine compilation error
2006-02-05 16:09:50 +00:00
Jason Pellerin
6f11c56230
Provisional fix for #51 , very slightly adapted from the patch posted in the ticket. Tests added to verify fix.
2006-02-05 14:43:10 +00:00
Mike Bayer
f0aa20cab0
columns can be specified to override those from autoload=True
2006-02-04 23:41:07 +00:00
Mike Bayer
f9cea03401
a future unit-test for testing one-to-one relationships
2006-02-04 17:07:49 +00:00
Mike Bayer
fe49ba2f8c
one-to-one support:
...
rolled the BackrefExtensions into a single GenericBackrefExtension to handle
all combinations of list/nonlist properties (such as one-to-one)
tweak to properties.py which may receive "None" as "added_items()", in the case of a scalar property
instead of a list
PropHistory masquerades as a List on the setattr/append delattr/remove side to make one-to-one's automatically
work
2006-02-04 17:05:09 +00:00
Mike Bayer
e416129179
Rick Morrison's patch adding Smallint, Date, and Time support !
2006-02-04 16:44:00 +00:00
Mike Bayer
0324af702a
beginnings of a "multilple relations to the same table" test
2006-02-04 16:43:36 +00:00
Mike Bayer
3227aefc71
deprecated relation(class, table)
...
changed unit tests/examples to not do it
2006-02-02 23:28:23 +00:00
Mike Bayer
581d1dbdef
unit tests for proxy engine
2006-02-01 23:27:36 +00:00
Mike Bayer
e0d2cc3fdb
unit tests for merged cylical code
2006-02-01 23:21:57 +00:00
Mike Bayer
f0078b7103
added to trunk
2006-01-29 21:51:59 +00:00
Robert Leftwich
d2a548d331
Reworked RowProxy to restore column order preservation and to remove some dictionary-like behaviour that was unnecessary and caused breakage in existing code. Added tests for column preservation.
2006-01-29 12:30:32 +00:00
Robert Leftwich
9db98d2dee
Added __len__ to RowProxy to allow len(r) and test for same.
2006-01-29 04:04:17 +00:00
Robert Leftwich
6d7e11829f
RowProxy changes - added keys(), used keys() to add more dictionary-like behaviour (values(), iteritems(), iterkeys(), etc). Made parent and row private. Modified tests that used RowProxy.row to use values().
2006-01-28 22:24:16 +00:00
Mike Bayer
8d1d7ec031
topological sort can detect cycles, and assemble them into a "big node" with all
...
the nodes in the cycle aggregated into one node
2006-01-28 18:02:42 +00:00
Mike Bayer
f05b29eb09
working on representing longer circular relationships
2006-01-28 06:18:08 +00:00
Mike Bayer
4f8f7ecd9e
refactoring to allow column.label() to work in selects, etc.
...
fixed superfluous codeline in ForeignKey
2006-01-27 00:33:15 +00:00