Commit Graph

2307 Commits

Author SHA1 Message Date
Ants Aasma 6bbc7dd157 change the in_ API to accept a sequence or a selectable [ticket:750] 2007-10-16 22:57:05 +00:00
Jason Kirtland a54deba01d Typo fix (thanks Ben!) 2007-10-16 21:11:39 +00:00
Gaëtan de Menten dac7ab4a0f fix typo in examples 2007-10-15 08:51:23 +00:00
Mike Bayer f64768658d - much more query verbiage
- contains() operator doesn't need to generate negation criterion unless
many-to-many
2007-10-15 01:54:04 +00:00
Mike Bayer e57c94c64f documenting PropComparator behavior in orm tutorial 2007-10-14 20:34:39 +00:00
Jason Kirtland 224ff658e0 set svn:eol-style native 2007-10-13 20:35:42 +00:00
Mike Bayer e4d7b12c41 - doc updates. generated sql docs are against sql.expression now.
- added SessionExtension docs.
- removed old sqlconstruction doc.
- changed 'copy_collections' flag in Select to '_copy_collections'; its
not really "public".
2007-09-28 16:37:52 +00:00
Mike Bayer 475bfc04ac bump to beta7, but might become 0.4.0 2007-09-27 17:30:52 +00:00
Mike Bayer 5d93c8256b - some docstrings for select()
- fixed tutorial doctests to adjust for execution changes, session being weak-referencing
(reloads objects more frequently which get u'' applied to their __repr__())
2007-09-26 23:47:55 +00:00
Mike Bayer 32ee73460d add micro-doc for sequence standalone execution 2007-09-26 23:29:11 +00:00
Mike Bayer 6b0a907fbd - merged sa_entity branch. the big change here is the attributes system
deals primarily with the InstanceState and almost never with the instrumented object
directly.  This reduces lookups and complexity since we need the state for just about
everything, now its the one place for everything internally.
we also merged the new weak referencing identity map, which will go out in beta6 and
we'll see how that goes !
2007-09-22 16:55:36 +00:00
Mike Bayer da8d7c730c entity refs 2007-09-01 23:08:30 +00:00
Mike Bayer f6819fa9ae edits 2007-09-01 23:07:46 +00:00
Mike Bayer 5df1759e15 - got all examples working
- inline default execution occurs for *all* non-PK columns
unconditionally - preexecute only for non-executemany PK cols on
PG, Oracle, etc.
- new default docs
2007-09-01 21:21:29 +00:00
Mike Bayer 69f7084c9b - merged inline inserts branch
- all executemany() style calls put all sequences and SQL defaults inline into a single SQL statement
and don't do any pre-execution
- regular Insert and Update objects can have inline=True, forcing all executions to be inlined.
- no last_inserted_ids(), lastrow_has_defaults() available with inline execution
- calculation of pre/post execute pushed into compiler; DefaultExecutionContext greatly simplified
- fixed postgres reflection of primary key columns with no sequence/default generator, sets autoincrement=False
- fixed postgres executemany() behavior regarding sequences present, not present, passivedefaults, etc.
- all tests pass for sqlite, mysql, postgres; oracle tests pass as well as they did previously including all
insert/update/default functionality
2007-09-01 19:49:26 +00:00
Gaëtan de Menten c64e0e6be3 fix typos in assoc_proxy doc 2007-08-27 10:15:36 +00:00
Mike Bayer 56f0fe1b46 docstring compile fixup 2007-08-18 22:07:33 +00:00
Mike Bayer 970ecb31c5 edits 2007-08-12 20:43:21 +00:00
Mike Bayer 2bc1608641 - scoped_session docs
- added remove() method to scoped_session
2007-08-12 20:34:38 +00:00
Mike Bayer 0d2189a993 typos 2007-08-12 16:37:07 +00:00
Mike Bayer cce281e056 added a brief migration guide 2007-08-12 16:19:52 +00:00
Mike Bayer bd68dcfde8 formatting tweaks 2007-08-09 22:56:23 +00:00
Mike Bayer 5f094f9ec7 moved old plugins to "deprecated" subheading, took out SessionContext/assignmapper docs (references 0.3 docs) 2007-08-09 22:42:16 +00:00
Mike Bayer be6e0d6063 some edits 2007-08-09 21:54:04 +00:00
Mike Bayer 578efcfeb3 - decoupled all ColumnElements from also being Selectables. this means
that anything which is a column expression does not have a "c" or a
"columns" attribute.  Also works for select().as_scalar(); _ScalarSelect
is a columnelement, so you can't say select().as_scalar().c.foo, which is
a pretty confusing mistake to make.  in the case of _ScalarSelect made
an explicit raise if you try to access 'c'.
2007-08-09 21:50:23 +00:00
Mike Bayer b0253eb9b5 - added 'object_session' as classlevel method to Session
- moved 'identity_key' to be a classmethod on Session
- some docstrings
- merged r3229 from 0.3 branch to unconditonally quote schemaname in PG-reflected default
- name fixes in dynamic unit test
2007-08-09 19:51:36 +00:00
Mike Bayer 7c9d8d81ae session docs, CHANGES updates 2007-08-09 17:35:00 +00:00
Mike Bayer 45dd443732 edits 2007-08-09 04:06:51 +00:00
Mike Bayer 095ddfe8e9 added section on SQL-embedded attributes 2007-08-09 03:42:31 +00:00
Mike Bayer 5462e4aabc tweak 2007-08-09 02:15:43 +00:00
Mike Bayer aa43ae09cb new session doc 2007-08-09 02:14:48 +00:00
Jason Kirtland 8e026e5267 ^C ^C ^C! (revert r3218 in pooling.txt) 2007-08-08 23:48:49 +00:00
Jason Kirtland 4e7dec51e1 Added set_types to util, a tuple of available set implementations.
Added BIT and SET ([ticket:674])- all mysql data types are now covered!
Fix for YEAR DDL generation, also no longer a concatenable type.
Expanded docs for some mysql column esoterica.
2007-08-08 23:45:26 +00:00
Mike Bayer 1a225180b5 put implicit examples as part of test suite 2007-08-08 00:47:15 +00:00
Mike Bayer 32c44ee4ca added link to implicit execution section 2007-08-08 00:27:40 +00:00
Mike Bayer 6899c0dc1b added docs on connectionless/implicit 2007-08-08 00:17:29 +00:00
Mike Bayer 2babbe7843 edits 2007-08-07 04:40:37 +00:00
Mike Bayer cadc8c6d38 - 'comparator' argument to composite() is a class
- added composite types doc, other edits
2007-08-06 23:14:37 +00:00
Mike Bayer 8446b80533 - added desc() and asc() directly to CompareMixin 2007-08-06 21:52:24 +00:00
Mike Bayer 2dde45881b - docs
- added some convenience functions to selects, clauseelements
- fixed distinct()
2007-08-06 21:32:37 +00:00
Mike Bayer a94f587b67 edits 2007-08-06 19:16:55 +00:00
Mike Bayer ba701cde75 edits 2007-08-06 16:23:03 +00:00
Jason Kirtland cf9549854f generated markup fixes 2007-08-06 02:02:00 +00:00
Mike Bayer 68fd1be8d2 - edits
- added "params" to ansisql compiler
2007-08-06 01:51:54 +00:00
Mike Bayer d4102a21f4 edit 2007-08-06 01:06:22 +00:00
Mike Bayer b73b14f070 - draft sqlexpression tutorial
- added some generative methods to exists()
- got clause adapter to work with join()
2007-08-06 00:59:09 +00:00
Mike Bayer baedc0f795 work in progress 2007-08-05 22:21:16 +00:00
Mike Bayer 942cba7208 docstring stuff 2007-08-05 20:19:26 +00:00
Mike Bayer 0d7bce40f8 edits 2007-08-05 19:52:56 +00:00
Jason Kirtland 6de4fec5c4 a more friendly name 2007-08-05 19:40:52 +00:00