Commit Graph

  • 9d3c5ce66e added between(), column.label() Mike Bayer 2006-02-05 23:45:26 +00:00
  • 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 Mike Bayer 2006-02-05 23:45:07 +00:00
  • 8cfa5b788a added is_dirty method at module level and within UnitOfWork Mike Bayer 2006-02-05 23:27:25 +00:00
  • a31a7d0dc0 __init__ monkeypatch looks for __init__ in the class' dict rather than via getattr(), to bypass inheritance lookups Mike Bayer 2006-02-05 19:16:34 +00:00
  • fd61189aa8 writes foreign keys as individual FOREIGN KEY objects, syntax seems to work better Mike Bayer 2006-02-05 18:28:02 +00:00
  • 1e1eea0553 got oracle LIMIT/OFFSET to use row_number() syntax sql: ColumnClause will use the given name when proxying itself (used for the "ora_rn" label) ansisql: When adding on ORDER_BY, GROUP_BY, etc. clauses, if there is no string for the column list, then dont add the clause (this allows oracle to strip out the ORDER BY) Oracle is modifying the select statement, which is not ideal - should fix that Mike Bayer 2006-02-05 17:04:37 +00:00
  • a9fb2f3e6f more Sequences needed for oracle Mike Bayer 2006-02-05 17:02:18 +00:00
  • c32615690a ordering of queries can be different based on platform dictionary ordering Mike Bayer 2006-02-05 16:25:27 +00:00
  • 7065eb46c5 now lets do that properly Mike Bayer 2006-02-05 16:20:16 +00:00
  • 0f37df7c83 error message if pysqlite2 couldnt be imported Mike Bayer 2006-02-05 16:17:23 +00:00
  • 25e62798d0 needed optional sequence for oracle support Mike Bayer 2006-02-05 16:10:28 +00:00
  • 88ce7c8941 dont mask engine compilation error Mike Bayer 2006-02-05 16:09:50 +00:00
  • 6f11c56230 Provisional fix for #51, very slightly adapted from the patch posted in the ticket. Tests added to verify fix. Jason Pellerin 2006-02-05 14:43:10 +00:00
  • 1d20ecbb6d started PassiveDefault, which is a "database-side" default. mapper will go fetch the most recently inserted row if a table has PassiveDefault's set on it Mike Bayer 2006-02-05 00:19:14 +00:00
  • f0aa20cab0 columns can be specified to override those from autoload=True Mike Bayer 2006-02-04 23:41:07 +00:00
  • 59a5298b3a is_unicode propigated into String subclasses Mike Bayer 2006-02-04 23:38:38 +00:00
  • 0bbb2c584e added BETWEEN, courtesy Rick Morrison. go Rick ! Mike Bayer 2006-02-04 21:51:46 +00:00
  • 5acfc56151 fixes involving when child object from list items is None - onetoone must pass, objectstore.testbackwardsmanipulations with postgres passes Mike Bayer 2006-02-04 17:31:38 +00:00
  • 385cf6e7b6 added ISchema object to engine/information_schema, provides somewhat generic information_schema access for db's that support it, i.e. postgres, mysql 5 Mike Bayer 2006-02-04 17:24:12 +00:00
  • f9cea03401 a future unit-test for testing one-to-one relationships Mike Bayer 2006-02-04 17:07:49 +00:00
  • 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 Mike Bayer 2006-02-04 17:05:09 +00:00
  • 5fcc683e16 added DATE, TIME, SMALLINT to __all__ Mike Bayer 2006-02-04 16:47:12 +00:00
  • e416129179 Rick Morrison's patch adding Smallint, Date, and Time support ! Mike Bayer 2006-02-04 16:44:00 +00:00
  • 0324af702a beginnings of a "multilple relations to the same table" test Mike Bayer 2006-02-04 16:43:36 +00:00
  • 07717f403d verbiage edits Mike Bayer 2006-02-04 06:57:49 +00:00
  • 47fac5873b attempting to get MTOBackrefExtension to handle many-to-one, one-to-one equally Mike Bayer 2006-02-03 01:15:06 +00:00
  • 38eea593ed fixed set() to not re-set the same value Mike Bayer 2006-02-03 01:03:00 +00:00
  • faeeb99a21 switched objectstore begin/commit behavior to do "reentrant counter" Mike Bayer 2006-02-03 00:42:22 +00:00
  • 3227aefc71 deprecated relation(class, table) changed unit tests/examples to not do it Mike Bayer 2006-02-02 23:28:23 +00:00
  • e6a5ac68f5 self->compare_self() Mike Bayer 2006-02-02 23:27:44 +00:00
  • 6f7bd488b6 added doc for ProxyEngine Mike Bayer 2006-02-01 23:31:15 +00:00
  • 581d1dbdef unit tests for proxy engine Mike Bayer 2006-02-01 23:27:36 +00:00
  • 43f620cda1 init Mike Bayer 2006-02-01 23:27:24 +00:00
  • b3a610dbc0 might add scalar() to select which does limit=1 Mike Bayer 2006-02-01 23:26:18 +00:00
  • fd9c860700 new ProxyEngine dispatches to multiple engines; contributed by jason pellerin Mike Bayer 2006-02-01 23:23:37 +00:00
  • e0d2cc3fdb unit tests for merged cylical code Mike Bayer 2006-02-01 23:21:57 +00:00
  • d3bc393c43 merged new cyclical dependency code EagerRelation gets a fix w/ regards to selectalias Mike Bayer 2006-02-01 23:21:36 +00:00
  • 42cea08d88 moved dict init to setattr for auto-__init__ thing Mike Bayer 2006-02-01 23:20:40 +00:00
  • 76bfc68872 dev on uow docs Mike Bayer 2006-02-01 23:20:01 +00:00
  • 543c227408 merged fix that insures unrealized connections dont fill up the pool Mike Bayer 2006-01-31 05:20:19 +00:00
  • 865d947dc5 fixed code error Mike Bayer 2006-01-31 02:15:16 +00:00
  • f0078b7103 added to trunk Mike Bayer 2006-01-29 21:51:59 +00:00
  • a656016586 Tabs to spaces Robert Leftwich 2006-01-29 12:35:27 +00:00
  • 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. Robert Leftwich 2006-01-29 12:30:32 +00:00
  • 9db98d2dee Added __len__ to RowProxy to allow len(r) and test for same. Robert Leftwich 2006-01-29 04:04:17 +00:00
  • 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(). Robert Leftwich 2006-01-28 22:24:16 +00:00
  • e1c9c54af8 took out print statement Mike Bayer 2006-01-28 18:05:45 +00:00
  • 8d1d7ec031 topological sort can detect cycles, and assemble them into a "big node" with all the nodes in the cycle aggregated into one node Mike Bayer 2006-01-28 18:02:42 +00:00
  • f05b29eb09 working on representing longer circular relationships Mike Bayer 2006-01-28 06:18:08 +00:00
  • 58447f6af6 2nd scalar fix Mike Bayer 2006-01-27 23:59:12 +00:00
  • d917119235 scalar() returns None if no rows Mike Bayer 2006-01-27 23:56:13 +00:00
  • 3a5409780d starting uow doc.... Mike Bayer 2006-01-27 00:34:38 +00:00
  • 164f5053fb converted LEFT,RIGHT, CENTER to more reasonable names Mike Bayer 2006-01-27 00:34:18 +00:00
  • 0a9c99e00e task dump checks for None Mike Bayer 2006-01-27 00:33:54 +00:00
  • 4f8f7ecd9e refactoring to allow column.label() to work in selects, etc. fixed superfluous codeline in ForeignKey Mike Bayer 2006-01-27 00:33:15 +00:00
  • 01f9705a80 test for inheritance, tests objectstore post_exec works fully Mike Bayer 2006-01-26 00:28:10 +00:00
  • edff2240fb refactoring of objectstore to handle cleaning up after itself with less instruction from properties/mapper objectstore gets an assertion for appending a deleted item mapper has fix for inheritance mapper selectone() etc. set "limit=1" Mike Bayer 2006-01-26 00:27:14 +00:00
  • ffcd60ac6e ai more reasonable hash_key that works across serializations might want to get the DB password out of it tho.... Mike Bayer 2006-01-26 00:25:36 +00:00
  • 159ef4ccf3 added __repr__ to HashSet Mike Bayer 2006-01-26 00:24:54 +00:00
  • e3bc2296a6 fix to inheritance example Mike Bayer 2006-01-26 00:23:43 +00:00
  • d986449ee4 Added column accessor to RowProxy, tests and note in documentation for same. Robert Leftwich 2006-01-25 01:07:26 +00:00
  • 1acda91a12 adds a traversed list to the list of things to clean up Mike Bayer 2006-01-24 04:20:11 +00:00
  • 841fc3b72f postgres checks for string/int port ID, converts to int for pg2 and string for pg1 Mike Bayer 2006-01-22 23:18:22 +00:00
  • 2d31b8fd60 order_by and group_by being output in wrong order. Added tests for same. Robert Leftwich 2006-01-22 12:08:10 +00:00
  • 82883285bc added some echo arguments for uow, pool, propigated from the engine Mike Bayer 2006-01-21 06:33:33 +00:00
  • d7ae018fbe adjustment to dependencies+childtasks attached to circular task - they go on just the lead task instead of each per-object task. more tweaks to dumper output Mike Bayer 2006-01-21 05:41:16 +00:00
  • 920e3ac52f rewrote objectstore logging Mike Bayer 2006-01-21 01:24:36 +00:00
  • 1d4341b8a5 comment out dump, reverse check for self-ref task/delete-matchup Mike Bayer 2006-01-20 04:06:51 +00:00
  • 03045c3b00 when breaking a circular task into child tasks, propigate the child tasks and the non-self-referring dependencies of the lead task to each child task...else they dont happen ! Mike Bayer 2006-01-20 03:49:35 +00:00
  • 8adb3f1dc8 formatting? Mike Bayer 2006-01-20 01:05:39 +00:00
  • b44ece0789 some docstrings Mike Bayer 2006-01-20 01:03:55 +00:00
  • 8a01ba0425 unset attributes on an object instance just return None instead of raising attributeerror Mike Bayer 2006-01-20 00:53:47 +00:00
  • 2808d04dd8 added explicit bind parameters and column type maps to text type text type also parses :<string> into bind param objects bind parameters convert their incoming type using engine.type_descriptor() methods types.adapt_type() adjusted to not do extra work with incoming types, since the bind param change will cause it to be called a lot more added tests to new text type stuff, bind params, fixed some type tests added basic docs for using text with binde params Mike Bayer 2006-01-20 00:42:07 +00:00
  • c9e7e698e6 implemented better hash_key on select allowing proper comparisons, implemented hash_key on all clause objects added hash_key test to select util gets extra threadlocal functions and the recursionstack object Mike Bayer 2006-01-19 01:43:26 +00:00
  • e5dbc8118c tabbing fix Mike Bayer 2006-01-19 00:28:57 +00:00
  • 4fc53bfa41 more whitespace Mike Bayer 2006-01-18 06:56:23 +00:00
  • 22789f24b1 whitespace wrangling Mike Bayer 2006-01-18 06:50:16 +00:00
  • 6e50667c01 fix Mike Bayer 2006-01-18 06:13:31 +00:00
  • 1c9c5d9e76 dispose() added to pool/engine to allow engines to fall out of scope Mike Bayer 2006-01-18 05:49:01 +00:00
  • 1615f7ca65 changes to support docs in IE, adds a lot of whitespace.... Mike Bayer 2006-01-18 00:30:32 +00:00
  • f70f641dd6 Formatting fix. Robert Leftwich 2006-01-16 06:34:10 +00:00
  • c4085b0fbf Fixed problem in Column.copy(), _make_proxy() with nullable and hidden not being reflected into new Column. Added test for same. Removed reference to non-existant columns test from list of tests in alltests. Robert Leftwich 2006-01-16 06:22:52 +00:00
  • 8757832f4e assign_mapper will create a default __init__ method if one doesnt exist Mike Bayer 2006-01-16 04:46:37 +00:00
  • 038c496aae fullname for table used when generating REFERENCES Mike Bayer 2006-01-16 03:57:29 +00:00
  • 113f647cc6 column arguments converted to integer Mike Bayer 2006-01-13 01:43:23 +00:00
  • 1117b0bf81 mysql table introspection uses 'describe' to work with 3/4/5 no foreign key introspection available, sorry ! Mike Bayer 2006-01-13 01:23:55 +00:00
  • f9f8021591 on foreign key default schema is that of the parent column Mike Bayer 2006-01-13 01:14:52 +00:00
  • 95a05e5cd9 tests mapper column/property check Mike Bayer 2006-01-13 01:13:15 +00:00
  • ff5076c97d checks for relations that override columns and raises an error if override_columns_ok not set Mike Bayer 2006-01-13 01:12:48 +00:00
  • 3075174c49 r818@lightspeed: robert | 2006-01-12 18:32:38 +1100 Added class name to the TypeError string to make it easier to find constructor problems when mapper is constructing complex mappings Robert Leftwich 2006-01-12 07:33:28 +00:00
  • c862954c17 id key uses hash_key off of table now that its a short string Mike Bayer 2006-01-11 02:52:30 +00:00
  • 1a59bf9db1 indent fix Mike Bayer 2006-01-11 02:51:42 +00:00
  • c9b594ebce fixes Mike Bayer 2006-01-11 02:50:22 +00:00
  • a6e7c0d084 does pydoc for properties too Mike Bayer 2006-01-11 02:44:47 +00:00
  • 8fd5f6369b r815@lightspeed: robert | 2006-01-11 10:15:14 +1100 Replaced use of repr() with custom identifiers in identity related areas to improve performance Robert Leftwich 2006-01-10 23:15:54 +00:00
  • d8c8240f2d tabs->spaces ! (also relies upon '2' being present in version id) Mike Bayer 2006-01-10 02:30:54 +00:00
  • ac5e13ef2d identity map->weakvaluedictionary Mike Bayer 2006-01-10 02:26:57 +00:00
  • 060b8f0478 r810@lightspeed: robert | 2006-01-10 11:49:18 +1100 Added check for __version__ to determine if pyscopg is v1 or v2 Robert Leftwich 2006-01-10 00:49:47 +00:00
  • 4f50c6d6b6 ColumnClause needed optional foreign_key parameter Mike Bayer 2006-01-09 01:05:26 +00:00
  • c81eb1ca28 typos Mike Bayer 2006-01-08 19:05:53 +00:00