Commit Graph

  • 56737d4682 slight change to order by for limited eager select Mike Bayer 2005-12-07 04:21:26 +00:00
  • 331b22509b Mike Bayer 2005-12-07 03:05:18 +00:00
  • c9bfe70961 limit and offset support for mappers, insanity with eager loading Mike Bayer 2005-12-07 02:57:22 +00:00
  • 44abaa9e56 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 2005-12-07 01:37:55 +00:00
  • 478b0e15ed working the backref attributes thing. many-to-many unittest works now... Mike Bayer 2005-12-06 06:45:44 +00:00
  • 19aae75e6a first take at backreference handlers Mike Bayer 2005-12-06 03:32:24 +00:00
  • 2e1bda393c fallback on importing pysqlite2 Mike Bayer 2005-12-06 03:32:02 +00:00
  • 33aeec5d7f docstrings, formatting fixes Mike Bayer 2005-12-04 20:34:21 +00:00
  • 2e9e246034 added order_by to EagerLoader, LazyLoader removed "scope" parameter from Mapper until we need to revisit that idea Mike Bayer 2005-12-04 19:41:57 +00:00
  • c305d6e698 fixed up paramstyle translation Mike Bayer 2005-12-04 18:45:58 +00:00
  • 1cf745d30e more consistent treatment of columns, differentiation of selectable/non-selectable, docstrings Mike Bayer 2005-12-04 18:27:52 +00:00
  • 3be64752c3 testing functions, operators, better textual stuff Mike Bayer 2005-12-04 18:26:31 +00:00
  • dc4c062434 moved to test framework Mike Bayer 2005-12-04 18:26:00 +00:00
  • 20e7f815b1 math operators &|~ boolean operators added 'literal' keyword working on column clauses being more flexible Mike Bayer 2005-12-04 02:15:06 +00:00
  • dd269785a9 dev Mike Bayer 2005-12-04 02:13:55 +00:00
  • 4629f79c4a dev Mike Bayer 2005-12-04 00:30:44 +00:00
  • 67203d8d43 dev Mike Bayer 2005-12-04 00:19:07 +00:00
  • cec72fe1cc primary_keys => primary_key Mike Bayer 2005-12-04 00:18:51 +00:00
  • 5e79213422 fixed orderby for eager load with selectalias Mike Bayer 2005-12-04 00:18:38 +00:00
  • 77e9b5bd68 better check for circular eager loaders Mike Bayer 2005-12-03 09:00:26 +00:00
  • 1702222e2b refactorings to sql generation, unions, engine location Mike Bayer 2005-12-03 08:41:18 +00:00
  • ef14dac589 tweek Mike Bayer 2005-12-03 06:27:40 +00:00
  • c02e113df3 fixed tree examples import scheme, tweak to properties import Mike Bayer 2005-12-03 06:18:55 +00:00
  • 906af22a56 rearranging mapper/objectstore into a subdirectory, breaking up files since they are huge Mike Bayer 2005-12-03 06:13:09 +00:00
  • 6d0bf6de0a moved eagermapper creation up to insure theres no mapper conflicts when creating/saving Mike Bayer 2005-12-03 05:29:12 +00:00
  • 6beabdce07 many-to-many mechanism changed the ordering of the three queries involved Mike Bayer 2005-12-03 05:19:22 +00:00
  • 6f7ae3c8b6 added manytomany to alltests name stuff in manytomany columns test works against generic Types instead of ANSI-named types Mike Bayer 2005-12-03 05:16:25 +00:00
  • 0f42441edd added string-based URLS to create connections Mike Bayer 2005-12-03 05:12:56 +00:00
  • 07d4a9cd92 name change! Mike Bayer 2005-12-03 04:56:59 +00:00
  • decc3247b4 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 2005-12-03 04:34:12 +00:00
  • 9a205e891d 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 2005-12-02 08:49:45 +00:00
  • 4b70825ae1 new test to check a new eager loader feature that loads against aliased names Mike Bayer 2005-12-02 08:45:38 +00:00
  • 9ec6a9b8e3 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). Robert Leftwich 2005-12-01 12:51:38 +00:00
  • 2a1098f831 table reflection will default to SLString. default filename added to be :memory:. Mike Bayer 2005-12-01 05:19:10 +00:00
  • 8e18f3e77c more tweaks to import scheme Mike Bayer 2005-11-30 06:01:18 +00:00
  • fbc4c81faa adjusted docs to account for import convention, proper sqlite calling convention Mike Bayer 2005-11-30 06:00:41 +00:00
  • 75b2745528 migrated __ALL__ to __all__, oops, and reworked module import scheme Mike Bayer 2005-11-30 05:39:11 +00:00
  • 93398271ed fix to result processing of date types Mike Bayer 2005-11-29 06:52:16 +00:00
  • 92dc0d0dbd added group_by, having to select. added func.foo(a, b) keyword to express functions within column lists and criterion lists Mike Bayer 2005-11-29 06:43:23 +00:00
  • ee665372f6 strips possible schema/table info from a column name returned in cursor metadata Mike Bayer 2005-11-28 05:11:53 +00:00
  • 69303e16b4 mysql default password Mike Bayer 2005-11-28 05:11:17 +00:00
  • 0d8f69d5dc Mike Bayer 2005-11-27 06:36:55 +00:00
  • 709b525a3f added mysql to module list Mike Bayer 2005-11-27 06:19:34 +00:00
  • 1c26c02a9c mysql engine comment.. Mike Bayer 2005-11-27 05:44:20 +00:00
  • 2452cebc23 rowcount doesnt work on MySQL, so disabled concurrency check with mysql Mike Bayer 2005-11-27 05:32:13 +00:00
  • cdcd74cb39 some fixes to IN clauses, literal text clauses displaying text/numeric properly including longs Mike Bayer 2005-11-27 05:31:22 +00:00
  • c67359157e some cleanup to tests, adjustments to support mysql quirks Mike Bayer 2005-11-27 05:29:56 +00:00
  • aecce34797 mysql somewhat present Mike Bayer 2005-11-27 01:40:18 +00:00
  • a284d1e860 supports positional params for mysql - needs to be generalized Mike Bayer 2005-11-27 01:40:03 +00:00
  • 72858e4747 Added some error checking to the command line processing in testbase Robert Leftwich 2005-11-26 23:15:43 +00:00
  • f81f3f8bd4 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 2005-11-26 20:14:03 +00:00
  • bc2ca671a3 more fixes to schema constructor, test suites not conflicting with each other Mike Bayer 2005-11-26 20:12:40 +00:00
  • ce4c1064ed cleaning up more with command-line args Mike Bayer 2005-11-26 19:54:32 +00:00
  • 3a0cee2a24 refactoring test to be more consistent, added multipk test to engine Mike Bayer 2005-11-26 19:26:30 +00:00
  • ba1e7878ec **kwargs to table, column are checked, fixed propigation of foreignkey/sequence to copied columns Mike Bayer 2005-11-26 18:05:57 +00:00
  • 6d45ea0636 broke out coltypes across psycopg1/2, placed TODO for ps1 date adjustment Mike Bayer 2005-11-26 01:38:00 +00:00
  • e319b2a288 added page title via attributes to each document Mike Bayer 2005-11-26 01:07:06 +00:00
  • ccd5914a9c fixes to "AS" on aliases, paramstyle default on ansisql Mike Bayer 2005-11-21 03:14:40 +00:00
  • 501575f571 Mike Bayer 2005-11-19 05:29:13 +00:00
  • d4ece6ccb8 Mike Bayer 2005-11-19 02:30:13 +00:00
  • 2aaf902f99 Mike Bayer 2005-11-18 07:50:05 +00:00
  • 9ded0e86b5 Mike Bayer 2005-11-18 06:50:19 +00:00
  • e60aaa763d Mike Bayer 2005-11-18 06:38:07 +00:00
  • 65d15d0863 Mike Bayer 2005-11-18 04:40:06 +00:00
  • 80713def30 Mike Bayer 2005-11-18 03:42:20 +00:00
  • bb43ddb07e Mike Bayer 2005-11-18 02:45:19 +00:00
  • fd4da2390a Mike Bayer 2005-11-18 00:52:05 +00:00
  • 5f1c47d683 Mike Bayer 2005-11-18 00:13:46 +00:00
  • e856754781 Mike Bayer 2005-11-17 07:28:29 +00:00
  • 87d280c0a1 Mike Bayer 2005-11-17 07:12:11 +00:00
  • ec57b8e620 brand new topological sort library. woop. Mike Bayer 2005-11-17 06:51:51 +00:00
  • 0ee2da5f1f brand new topological sort library. woop. Mike Bayer 2005-11-17 06:06:14 +00:00
  • 82ef9efc42 brand new topological sort library. woop. Mike Bayer 2005-11-17 05:58:14 +00:00
  • 336ac36980 Mike Bayer 2005-11-17 05:33:15 +00:00
  • 6f4d8e7e0a workin out the lazy/eager thing Mike Bayer 2005-11-17 05:13:23 +00:00
  • ef328d7e18 workin out the lazy/eager thing Mike Bayer 2005-11-17 05:05:23 +00:00
  • 0cde2409f3 Mike Bayer 2005-11-17 04:46:21 +00:00
  • b5d506a9c2 workin out the lazy/eager thing Mike Bayer 2005-11-17 04:14:23 +00:00
  • 3a7631ab1a brand new topological sort library. woop. Mike Bayer 2005-11-17 03:16:51 +00:00
  • 3f16aaed6b brand new topological sort library. woop. Mike Bayer 2005-11-17 02:08:51 +00:00
  • 61859f21eb Mike Bayer 2005-11-16 03:13:37 +00:00
  • 8d227aa032 needing to organize very clearly when attribute behavior is determined at the class level vs. the object instance level Mike Bayer 2005-11-16 01:47:06 +00:00
  • 0e9d26d263 Mike Bayer 2005-11-15 08:13:07 +00:00
  • da720e3d64 enhancements to lazyloader. now you can pickle objects with lazyload. Mike Bayer 2005-11-15 07:44:14 +00:00
  • 77a994da49 Mike Bayer 2005-11-15 06:46:31 +00:00
  • 59ea37374c added "live" option to lazyloader, makes it load from DB on every hit Mike Bayer 2005-11-15 06:08:51 +00:00
  • 675a97e1d2 Mike Bayer 2005-11-15 05:33:30 +00:00
  • 7941d11c10 enhancements to lazyloader. now you can pickle objects with lazyload. Mike Bayer 2005-11-15 05:23:43 +00:00
  • 332fa740da lazyloader re-attaches lazy load upon new object create Mike Bayer 2005-11-15 05:21:48 +00:00
  • 9817b96d5f Mike Bayer 2005-11-15 05:17:21 +00:00
  • 4215dd276e added "live" option to lazyloader, makes it load from DB on every hit Mike Bayer 2005-11-15 05:04:20 +00:00
  • d04b381eef tweak to lazy loading a right-direction Mike Bayer 2005-11-15 04:49:27 +00:00
  • f307168454 added "live" option to lazyloader, makes it load from DB on every hit Mike Bayer 2005-11-15 04:42:41 +00:00
  • ac220dd224 lazyloader re-attaches lazy load upon new object create Mike Bayer 2005-11-15 04:31:48 +00:00
  • cc6345d784 tweak to lazy loading a right-direction Mike Bayer 2005-11-15 03:53:27 +00:00
  • c541c08023 new attributes weren't propigating all arguments to the "create attribute history" callable, namely the "deleteremoved" argument Mike Bayer 2005-11-15 03:52:59 +00:00
  • 24228d3443 added "live" option to lazyloader, makes it load from DB on every hit Mike Bayer 2005-11-15 03:32:21 +00:00
  • cd363bf1e6 lazyloader re-attaches lazy load upon new object create Mike Bayer 2005-11-15 02:53:21 +00:00
  • ba38827e1d added "live" option to lazyloader, makes it load from DB on every hit Mike Bayer 2005-11-15 02:42:20 +00:00
  • 04b387bccc new attributes weren't propigating all arguments to the "create attribute history" callable, namely the "deleteremoved" argument Mike Bayer 2005-11-15 02:11:59 +00:00