Commit Graph

  • 29dd591649 more insure->ensure. this is going to be a hard habit to break... Mike Bayer 2007-01-12 03:07:08 +00:00
  • bd70cdb5fd - mysql is inconsistent with what kinds of quotes it uses in foreign keys during a SHOW CREATE TABLE, reflection updated to accomodate for all three styles [ticket:420] Mike Bayer 2007-01-12 01:57:41 +00:00
  • 4e7c3d50de - added "fetchmany()" support to ResultProxy Mike Bayer 2007-01-11 00:27:45 +00:00
  • ba3ebe44de - postgres no longer uses client-side cursors, uses more efficient server side cursors via apparently undocumented psycopg2 behavior recently discovered on the mailing list. disable it via create_engine('postgres://', client_side_cursors=True) Mike Bayer 2007-01-10 07:49:37 +00:00
  • cd2fe94b14 add test for max_order non_primary mapper from the list today Jonathan Ellis 2007-01-09 07:07:55 +00:00
  • a4c73cc8ae - the "op()" function is now treated as an "operation", rather than a "comparison". the difference is, an operation produces a BinaryExpression from which further operations can occur whereas comparison produces the more restrictive BooleanExpression Mike Bayer 2007-01-08 19:09:02 +00:00
  • c691513dc8 brief mention of defer, undefer Jonathan Ellis 2007-01-07 20:52:32 +00:00
  • 47b95e421c added SVN link to setup.py description Mike Bayer 2007-01-06 22:26:37 +00:00
  • 6d278f307e typo fix (thanks Paul J) Rick Morrison 2007-01-06 21:46:44 +00:00
  • 1a5ba21076 - added a mutex to the mapper compilation step. ive been reluctant to add any kind of threading anything to SA but this is one spot that its its really needed since mappers are typically "global", and while their state does not change during normal operation, the initial compilation step does modify internal state significantly, and this step usually occurs not at module-level initialization time (unless you call compile()) but at first-request time - added "compile_mappers()" function as a shortcut to compiling all mappers Mike Bayer 2007-01-06 20:32:47 +00:00
  • 4add9d3a0d tweak to support reflecting eqlite columns that didnt specify a type Mike Bayer 2007-01-06 19:28:21 +00:00
  • e1ceee15cd - added an error message if you actually try to modify primary key values on an entity and then flush it. Mike Bayer 2007-01-06 03:33:53 +00:00
  • 672a69a45b copyright update Mike Bayer 2007-01-05 19:26:11 +00:00
  • 1c6807b18e - default "timezone" setting is now False. this corresponds to Python's datetime behavior as well as Postgres' timestamp/time types (which is the only timezone-sensitive dialect at the moment) [ticket:414] Mike Bayer 2007-01-05 18:51:23 +00:00
  • 4771a156a3 - fix to post_update to insure rows are updated even for non insert/delete scenarios [ticket:413] Mike Bayer 2007-01-05 04:56:57 +00:00
  • 649e4cfa17 Removed "burned-in" schema name of "dbo". Suggested by janezj Rick Morrison 2007-01-04 04:25:47 +00:00
  • 93755db2d4 Patch from Paul Johnston that refactors adodbapi vs. pymssql a bit, fixes broken COMMITS in adodbapi Rick Morrison 2007-01-04 04:12:36 +00:00
  • 0467034981 - Firebird fix to autoload multifield foreign keys [ticket:409] - Firebird NUMERIC type properly handles a type without precision [ticket:409] Mike Bayer 2007-01-03 02:25:02 +00:00
  • b6fc094c2c - order of constraint creation puts primary key first before all other constraints; required for firebird, not a bad idea for others [ticket:408] Mike Bayer 2007-01-03 02:19:57 +00:00
  • 6f131f00c6 - fixed bug in mapper refresh/expire whereby eager loaders didnt properly re-populate item lists [ticket:407] Mike Bayer 2007-01-02 19:33:41 +00:00
  • 7d2f2ec33b - added "none" to the list of cascades, although im not sure if we should really allow "none" since it currently doesnt do anything (what should it do, cancel out the other cascades?) Mike Bayer 2007-01-02 03:43:09 +00:00
  • 6bc79c98b7 - invalid options sent to 'cascade' string will raise an exception [ticket:406] Mike Bayer 2007-01-02 03:39:26 +00:00
  • 3d10187bd3 - global "insure"->"ensure" change. in US english "insure" is actually largely interchangeable with "ensure" (so says the dictionary), so I'm not completely illiterate, but its definitely sub-optimal to "ensure" which is non-ambiguous. Mike Bayer 2007-01-01 00:10:37 +00:00
  • 34b3bbd034 - speed enhancements to ORM object instantiation, eager loading of rows Mike Bayer 2006-12-28 08:30:43 +00:00
  • 5369b3df8c - fix to correlation of subqueries when the column list of the select statement is constructed with individual calls to append_column(); this fixes an ORM bug whereby nested select statements were not getting correlated with the main select generated by the Query object. Mike Bayer 2006-12-28 00:27:58 +00:00
  • 8d81a40589 - fixes to postgres reflection to better handle when schema names are present; thanks to jason (at) ncsmags.com [ticket:402] Mike Bayer 2006-12-24 04:45:11 +00:00
  • dadf1c3792 - fix to MapperExtension create_instance so that entity_name properly associated with new instance Mike Bayer 2006-12-19 20:52:32 +00:00
  • b171465356 reversing last commit Rick Morrison 2006-12-18 02:17:13 +00:00
  • e0896904db added missing ref to between in sql.py __all__ Rick Morrison 2006-12-17 23:14:53 +00:00
  • 3d8b9ca8cb - added "BIGSERIAL" support for postgres table with PGBigInteger/autoincrement Mike Bayer 2006-12-15 16:06:14 +00:00
  • 9a80dfd8a2 PGBigInteger subclasses PGInteger so it gets used Mike Bayer 2006-12-15 16:01:24 +00:00
  • ca4fc24cec edits Mike Bayer 2006-12-15 08:06:45 +00:00
  • 1303061294 formatting Mike Bayer 2006-12-15 08:01:39 +00:00
  • f5b5696afd fixed the raise for mysql to re-raise the error rel_0_3_3 Mike Bayer 2006-12-15 07:43:42 +00:00
  • 422558bc5d fix to the fix for [ticket:396] plus a unit test Mike Bayer 2006-12-15 01:07:05 +00:00
  • 8a59bbed49 added additional unit test to test that commit errors are detected, rollback occurs in an except: Mike Bayer 2006-12-14 23:10:10 +00:00
  • 6dd59b1994 added InnoDB for mysql so that all tranactional tests pass for mysql Mike Bayer 2006-12-14 23:03:43 +00:00
  • e1a52eb7df - patch that makes MySQL rowcount work correctly! [ticket:396] Mike Bayer 2006-12-13 21:06:38 +00:00
  • 8061aaaed9 - fixed QueuePool bug whereby its better able to reconnect to a database that was not reachable, also fixed dispose() method Mike Bayer 2006-12-13 20:45:34 +00:00
  • ee99f8d58c new collections example Mike Bayer 2006-12-12 21:42:13 +00:00
  • 51ece86c13 - fixes to passive_deletes flag, lazy=None (noload) flag - added example/docs for dealing with large collections - added object_session() method to sqlalchemy namespace Mike Bayer 2006-12-12 19:22:28 +00:00
  • 7f6dc880b7 - string-based FROM clauses fixed, i.e. select(..., from_obj=["sometext"]) Mike Bayer 2006-12-12 02:17:32 +00:00
  • ae3f1bc240 added style for page control rel_0_3_2 Mike Bayer 2006-12-10 18:05:10 +00:00
  • 013aa0ea23 moved page control links Mike Bayer 2006-12-10 18:04:11 +00:00
  • 203853eddc would help to have the files all checked in.... Mike Bayer 2006-12-10 17:50:18 +00:00
  • 0dff7f4ed2 removing references to 0.2 series from docs upgrade version number to 0.3.2 Mike Bayer 2006-12-10 17:42:31 +00:00
  • 9fa58e7c30 clarify docs for query.instances() [ticket:386] Mike Bayer 2006-12-09 04:16:15 +00:00
  • a685f5d078 docstring fix for [ticket:381] Mike Bayer 2006-12-09 04:11:16 +00:00
  • f37207271a - MySQL bool type fix: [ticket:307] Mike Bayer 2006-12-09 04:06:34 +00:00
  • 499e07991e added SmallInteger to __all__ list (now we have both SmallInteger/Smallinteger.....) Mike Bayer 2006-12-09 04:02:36 +00:00
  • f279e2b1f2 - added onupdate and ondelete keyword arguments to ForeignKey; propigate to underlying ForeignKeyConstraint if present. (dont propigate in the other direction, however) - patched attribute speed enhancement [ticket:389] courtesy Sébastien Lelong Mike Bayer 2006-12-09 04:00:35 +00:00
  • d56a50eb70 - support for None as precision/length in numeric types for postgres, sqlite, mysql - postgres reflection fixes: [ticket:349] [ticket:382] Mike Bayer 2006-12-09 03:21:18 +00:00
  • 307726dfd9 - unit test for strong refs - unit test to test [ticket:354] Mike Bayer 2006-12-09 02:46:09 +00:00
  • 3d45d2195b - identity map in Session is by default *no longer weak referencing*. to have it be weak referencing, use create_session(weak_identity_map=True) - some fixes to OrderedProperties Mike Bayer 2006-12-09 01:08:25 +00:00
  • 226baafe60 pickle example for dmiller Mike Bayer 2006-12-09 00:09:14 +00:00
  • 34268e5684 fix in OrderedProperties to allow pickling Mike Bayer 2006-12-08 21:50:12 +00:00
  • 33620a16fd cursors needs to be weak key Mike Bayer 2006-12-08 21:40:10 +00:00
  • 6d5786c1c2 docs/examples/unittests for remote_side Mike Bayer 2006-12-08 20:50:48 +00:00
  • 1ed9d0bc54 the pool fix is more important Mike Bayer 2006-12-08 20:22:06 +00:00
  • ccee96f10e assign_mapper note Mike Bayer 2006-12-08 19:16:33 +00:00
  • e249e56cb9 - fix to connection pool _close() to properly clean up, fixes MySQL synchronization errors [ticket:387] Mike Bayer 2006-12-08 18:47:20 +00:00
  • c6538b6b34 - MySQL detects errors 2006 (server has gone away) and 2014 (commands out of sync) and invalidates the connection on which it occured. Mike Bayer 2006-12-08 03:27:09 +00:00
  • 21d4e2a96e moved _impl_dict to an external weakref so that TypeEngine objects can be pickled Mike Bayer 2006-12-06 21:37:25 +00:00
  • 309c332f1f got a rudimentary one-page display going Mike Bayer 2006-12-05 21:42:31 +00:00
  • 34b3f9ba0d doc adjust for "dirty" list behavior Mike Bayer 2006-12-05 18:21:27 +00:00
  • 054713d644 made backrefs aware of "post_update" and "viewonly" so it doesnt have to be explicitly propigated; also backrefs shouldnt fire off in a post_update situation. Mike Bayer 2006-12-05 03:16:35 +00:00
  • 76772de158 fixed up some debug logging to be conditional, adds speed. made some attribute-related lambdas more direct. Mike Bayer 2006-12-04 21:17:05 +00:00
  • 941726c59f removed useless line Mike Bayer 2006-12-03 18:25:05 +00:00
  • 18ff5f572f added 'remote_side' functionality to lazy clause generation Mike Bayer 2006-12-02 23:36:59 +00:00
  • a97a1fcad4 - added "remote_side" argument to relation(), used only with self-referential mappers to force the direction of the parent/child relationship. replaces the usage of the "foreignkey" parameter for "switching" the direction; while "foreignkey" can still be used to "switch" the direction of a parent/ child relationship, this usage is deprecated; "foreignkey" should always indicate the actual foreign key columns from now on. Mike Bayer 2006-12-02 05:59:50 +00:00
  • 0ab287b039 added mass eagerloading profile, debug log in EagerLoader conditional based on flag Mike Bayer 2006-12-01 19:45:04 +00:00
  • 8f8afe9259 added conditional flag to debug log statements in mapper so that string formats dont occur updated massload test to work with 0.3 Mike Bayer 2006-12-01 18:41:33 +00:00
  • 117d6eb521 - improved support for disabling save-update cascade via cascade="none" etc. Mike Bayer 2006-11-30 00:08:46 +00:00
  • 13d989b2d0 - sending a selectable to an IN no longer creates a "union" out of multiple selects; only one selectable to an IN is allowed now (make a union yourself if union is needed; explicit better than implicit, dont guess, etc.) Mike Bayer 2006-11-29 22:13:58 +00:00
  • 6bba73a9f3 - fix to session.update() to preserve "dirty" status of incoming object Mike Bayer 2006-11-29 21:50:45 +00:00
  • 3f280c3f71 oops, KeyError fix for [ticket:380] Mike Bayer 2006-11-29 21:43:21 +00:00
  • c067cbfd1b fixed has_key exception to be KeyError [ticket:380] Mike Bayer 2006-11-29 17:25:18 +00:00
  • 00da425b07 - added extra check to "stop" cascading on save/update/save-update if an instance is detected to be already in the session. Mike Bayer 2006-11-29 17:16:41 +00:00
  • 95dc215913 added label() function to Select class, useable only with select that has scalar=True Mike Bayer 2006-11-27 19:42:33 +00:00
  • db2a8e8fb3 removed old function Mike Bayer 2006-11-27 01:27:10 +00:00
  • b6b0130646 - made kwargs parsing to Table strict; removed various obsoluete "redefine=True" kw's from the unit tests - documented instance variables in ANSICompiler - fixed [ticket:120], adds "inline_params" set to ANSICompiler which DefaultDialect picks up on when determining defaults. added unittests to query.py - additionally fixed up the behavior of the "values" parameter on _Insert/_Update - more cleanup to sql/Select - more succinct organization of FROM clauses, removed silly _process_from_dict methods and JoinMarker object Mike Bayer 2006-11-26 02:36:27 +00:00
  • d9f3b2a063 some clenaup on the "correlation" API on the _Select class Mike Bayer 2006-11-25 22:09:27 +00:00
  • 19fcb943c4 - cleanup on some instance vars in Select (is_scalar, is_subquery, _froms is __froms, removed unused 'nowait', '_text', etc) - cleaned up __repr__ on Column, AbstractTypeEngine - added standalone intersect(_all), except(_all) functions, unit tests illustrating nesting patterns [ticket:247] Mike Bayer 2006-11-25 21:32:26 +00:00
  • bf86de347d added mapper return value to assign_mapper Mike Bayer 2006-11-24 19:49:13 +00:00
  • 8a2ed6de4f fix to oracle types test, added RAW type [ticket:378] Mike Bayer 2006-11-21 22:20:31 +00:00
  • 039d9c30ea fix to previous checkin Mike Bayer 2006-11-21 22:10:27 +00:00
  • 9f4f68afd2 [ticket:373] Mike Bayer 2006-11-21 22:04:31 +00:00
  • ca0c7821e0 [ticket:366] Mike Bayer 2006-11-21 21:59:03 +00:00
  • cf8e9d1db3 [ticket:374] [ticket:377] [ticket:375], small fix to mutable types unit test Mike Bayer 2006-11-21 21:55:15 +00:00
  • 68a1bec937 copyright date.... Mike Bayer 2006-11-21 02:22:30 +00:00
  • 4ae341fc94 added extra pickle unittest to insure update occurs/doesnt occur appropriately Mike Bayer 2006-11-17 17:03:17 +00:00
  • 6b0e697a89 reflect from table.fullname for schema support Mike Bayer 2006-11-13 18:06:35 +00:00
  • cb8737e6f8 its that time rel_0_3_1 Mike Bayer 2006-11-13 00:42:54 +00:00
  • 0c9d783b80 tweaks to get module functions links to work Mike Bayer 2006-11-13 00:17:43 +00:00
  • a81787851f edits Mike Bayer 2006-11-13 00:03:38 +00:00
  • 508e5b1a57 one of those non-2.3 generators got in there... Mike Bayer 2006-11-12 23:23:42 +00:00
  • 1f3ce258ec edits Mike Bayer 2006-11-12 23:22:13 +00:00
  • ecee1fb16c - create_engine() reworked to be strict about incoming **kwargs. all keyword arguments must be consumed by one of the dialect, connection pool, and engine constructors, else a TypeError is thrown which describes the full set of invalid kwargs in relation to the selected dialect/pool/engine configuration. Mike Bayer 2006-11-12 20:50:51 +00:00
  • 2d4e0d27dc further refactoring of topological sort for clarity Mike Bayer 2006-11-11 03:03:55 +00:00
  • b547f30d28 more fixes to topological sort with regards to cycles, fixes [ticket:365] Mike Bayer 2006-11-11 01:34:41 +00:00