Commit Graph

2307 Commits

Author SHA1 Message Date
Mike Bayer dc989a483e more green sections. fun ! 2011-08-07 16:47:58 -04:00
Mike Bayer da3ff6096c update address_count property 2011-08-07 14:05:00 -04:00
Mike Bayer b2e0fdf6b8 fix composite example 2011-08-07 13:50:52 -04:00
Mike Bayer b1b6fa66b8 drat 2011-08-07 13:37:40 -04:00
Mike Bayer 84298f7cf9 - rework collections docs, talk about the simple stuff some more.
Scare away the user from custom !  scary !  boo !
2011-08-07 13:34:41 -04:00
Mike Bayer 37e74c181f declarify the mapper config docs 2011-08-07 12:33:03 -04:00
Mike Bayer 021720413f typo 2011-08-07 01:38:18 -04:00
Mike Bayer c4e3cb2bf5 - classical mappings
- break out eager loads add contains eager again
- edits
2011-08-07 01:13:29 -04:00
Mike Bayer 6920205d1e edit 2011-08-06 20:31:16 -04:00
Mike Bayer f420a29e9e tutorial content finished, needs fresh proofread as well as corrections
to the SQL for all the counts
2011-08-06 20:01:25 -04:00
Mike Bayer e548b7f8ff - Repaired edge case where mapper would fail
to fully update internal state when a relationship
on a new mapper would establish a backref on the
first mapper.
- continuing with tutorial, moving eager loading into its
own place and describing more fully
2011-08-06 19:30:34 -04:00
Mike Bayer 4abcc0da83 - rework tutorial to be all declarative, all the time
- add detail to declarative docs about base classes
2011-08-06 18:29:37 -04:00
Mike Bayer 669d0c47f8 - second pass through association proxy docs, some more links on any()/has(), MapperProperty 2011-08-06 12:43:09 -04:00
Mike Bayer 4fe4590a45 - rewrite the docs for association proxy using declarative, add new examples, querying,
etc., part of [ticket:2246]
- add some accessors to AssociationProxy for attributes, test in join(), [ticket:2236]
- update relationship docs to talk about callables, part of [ticket:2246]
2011-08-05 21:29:21 -04:00
Mike Bayer 32035d3c5d - epic rewrite of Query.join documentation
- remove cruft from tutorial regarding obsolete orm.join, old calling forms
2011-08-03 19:44:40 -04:00
Mike Bayer 195a26e2fb - Added after_soft_rollback() Session event. This
event fires unconditionally whenever rollback()
     is called, regardless of if an actual DBAPI
     level rollback occurred.  This event
    is specifically designed to allow operations
     with the Session to proceed after a rollback
     when the Session.is_active is True.
     [ticket:2241]
- SessionTransaction is mentioned in public docs, many
more docstrings for events etc. otherwise
2011-08-01 14:16:46 -04:00
Mike Bayer b088914265 0.7.2 + release date 2011-07-31 19:12:31 -04:00
Mike Bayer 53cbbaa838 - add CoerceUTF8 example
- New feature: with_variant() method on
all types.  Produces an instance of Variant(),
a special TypeDecorator which will select
the usage of a different type based on the
dialect in use. [ticket:2187]
2011-07-30 13:53:41 -04:00
Mike Bayer a3705cd17b - document query.get(), ObjectDeletedError fully, [ticket:2146] 2011-07-23 12:27:09 -04:00
Mike Bayer 06e84d5bcc fix some more typos 2011-07-20 19:42:06 -04:00
Mike Bayer a7a895efd4 put a really explicit note about joinedload vs. join, everywhere joinedload() is mentioned 2011-07-20 19:32:30 -04:00
Mike Bayer b2d50f2807 - Added new "postgresql_ops" argument to
Index, allows specification of PostgreSQL
    operator classes for indexed columns.
    [ticket:2198]  Courtesy Filip Zyzniewski.
2011-07-20 10:49:36 -04:00
Mike Bayer f5023ceef3 - add a latex Makefile to texinputs that gets copied on latex build,
ensures pdflatex/latex errors are totally ignored
- fix all SQL/code examples in the inherits doc to be within 79 chars.
will need to do this for all the docs to get pdf to not look crappy.
- add an abspath to the "templates" dir, not sure of the rationale
here but is harmless, [ticket:2211]
- integrate pdf build with site-mako build
2011-07-07 11:34:59 -04:00
Mike Bayer b370de69eb another typo 2011-07-05 19:33:05 -04:00
Mike Bayer 7f59f051f9 - fix typo in session section
- rework aliases section
- simplify "transformations", make it separate, dont need to spend time here
- improve linkage
2011-07-05 19:28:05 -04:00
Mike Bayer 7c21b81cf8 - fix pypostgresql typo, [ticket:2185]
- rewrite "getting a session" docs to delineate
all sessionmaker() use cases distinctly
- rewrite "Managing Transactions" doc to spell out
each specific step completely, [ticket:2204]
- add to create_engine() and main "engine" doc
an unambiguous statement that the create_engine()
does not create a connection
- other link fixes
- rewrite "deleting" section so that "deleting from collections"
is separate, well-described, [ticket:2202]
- rephrase "autocommit mode" into its own section, move it down,
put some bold text that you shouldn't be using it.
- simplify the "subtransactions" section and make it local to
"autocommit" since it is utterly unneeded by anybody.
- oracle is not doing 2-phase anytime soon
2011-07-04 16:31:58 -04:00
Mike Bayer c0ffa33b2f - fix documentation versions in conf.py, other changes to site layout 2011-07-01 22:38:11 -04:00
Mike Bayer ed633ffce1 - add doc to schema docs linking to declarative usage of __table__
- add more examples to __table__ such as that asked on a recent
stackoverflow question.
2011-07-01 17:09:57 -04:00
Mike Bayer aaa3cebe72 - add a mention of attributeevents in the validates doc 2011-06-30 10:18:37 -04:00
Mike Bayer 48769a6a10 time for a better arch diagram 2011-06-26 13:19:03 -04:00
Mike Bayer dc5d56d219 - new section on backrefs
- new section on m2m self referential
- start illustrating things more in terms of declarative primarily
2011-06-25 15:48:57 -04:00
Mike Bayer 037db4cf9a - the "cascade" section of the session doc was totally screwed up, mappings
used the wrong form, example for cascade_backref used the wrong names.
- rewrite relationship cascade_backrefs doc
2011-06-23 19:54:50 -04:00
Mike Bayer 670b640c88 - add doc example for column_property() on an association table per [ticket:1481] 2011-06-22 17:18:41 -04:00
Mike Bayer bf0890c669 alleviate transaction confusion which may occur from reading just the "commit" doc 2011-06-02 12:20:24 -04:00
Mike Bayer df21626ef0 - Deprecate schema/SQL-oriented methods on
Connection/Engine that were never well known
and are redundant:  reflecttable(), create(),
drop(), text(), engine.func
- lots of docstrings in engine
2011-06-02 02:52:40 -04:00
Mike Bayer 73a4ca0286 - move Operators and ColumnOperators into sqlalchemy.sql.operators - since this
is strictly a system of routing Python operators into functions.  Keep the
references available in expression.py for the near future.
2011-05-28 20:24:57 -04:00
Mike Bayer ba299476b8 - get all comparison operators to document with sphinx - column based, relationship based.
Should fix misunderstandings like [ticket:2177]
2011-05-26 13:30:26 -04:00
Mike Bayer 74a6cb17c8 - add some docs to hybrid comparators, operators/comparator logic at the base 2011-05-22 15:54:17 -04:00
Mike Bayer 46daefe5b0 update docs for generic associations 2011-04-28 12:33:30 -04:00
Mike Bayer 214efa53a0 css fix 2011-04-17 21:33:44 -04:00
Mike Bayer 69dcd805d2 - Added explicit true()/false() constructs to expression
lib - coercion rules will intercept "False"/"True"
into these constructs.  In 0.6, the constructs were
typically converted straight to string, which was
no longer accepted in 0.7.  [ticket:2117]
2011-04-17 15:37:12 -04:00
Mike Bayer fcded554df - rework setup.py script to work with:
- Python 3
   - Python 3 builds if Distribute isn't installed
- rework install documentation again
- raise if doc build with mako < 0.4.1
- Python 3.1 builds force doctest parse but then fails due to distribute bug,
  so remove usage of backslash \\ in hybrid.py docstring
- put in the latest ez_setup.py
2011-04-17 13:22:33 -04:00
Mike Bayer 4f6f0edd78 a crapload of doc tweaks including [ticket:1666], thanks Toby ! 2011-04-16 12:04:54 -04:00
Mike Bayer 33e906638a some font changes to match the site style 2011-04-15 20:41:13 -04:00
Mike Bayer 7cd4ccabaf fix for pdf 2011-04-14 21:08:54 -04:00
Mike Bayer 3f06806cff - add a new "documentation overview" page. rip off a project widely known
to start with "Dj".
2011-04-14 20:50:52 -04:00
Mike Bayer 3b22a2ac97 - adjust this to work normally with current logging approach 2011-04-09 14:56:23 -04:00
Mike Bayer 898e347143 - callcounts
- clean out pool._refs in the test_pool perf tests, make things simple
2011-04-08 16:21:09 -04:00
Mike Bayer 86bbef51d7 - add link to concrete base declarative recipe 2011-04-05 15:10:22 -04:00
Mike Bayer b462373b46 - REAL has been added to the core types. Supported
by Postgresql, SQL Server, MySQL, SQLite.  Note
that the SQL Server and MySQL versions, which
add extra arguments, are also still available
from those dialects.  [ticket:2081]
2011-04-05 12:40:55 -04:00