Commit Graph

1015 Commits

Author SHA1 Message Date
Mike Bayer 207be52ec7 - repair "map to selectable" example, place a caveat that this isn't
something people should be pursuing
2013-02-24 14:06:35 -05:00
Mike Bayer ea80857e56 - fix to PDF generation failing totally, latex tools here
are broken but will see if RTD produces a pdf
2013-02-14 15:58:11 -05:00
Mike Bayer 573cda9704 0.7.10 2013-02-07 19:13:32 -05:00
Mike Bayer 3b483dac2e Added a conditional import to the ``gaerdbms`` dialect which attempts
to import rdbms_apiproxy vs. rdbms_googleapi to work
on both dev and production platforms.  Also now honors the
``instance`` attribute.  Courtesy Sean Lynch.  Also backported
enhancements to allow username/password as well as
fixing error code interpretation from 0.8.
[ticket:2649]
2013-02-02 21:03:57 -05:00
Mike Bayer b517e974e0 Backported adjustment to ``__repr__`` for
:class:`.TypeDecorator` to 0.7, allows :class:`.PickleType`
to produce a clean ``repr()`` to help with Alembic.
[ticket:2594] [ticket:2584]
2013-02-02 17:00:32 -05:00
Mike Bayer 027eda4a34 Fixed bug where :meth:`.Table.tometadata` would fail if a
:class:`.Column` had both a foreign key as well as an
alternate ".key" name for the column.
[ticket:2643]
2013-01-27 11:24:45 -05:00
Mike Bayer 397ff3c84d Added a py3K conditional around unnecessary .decode()
call in mssql information schema, fixes reflection
in Py3K. [ticket:2638]
2013-01-12 19:52:26 -05:00
Mike Bayer 973fd4a28a Fixed potential memory leak which could occur if an
arbitrary number of :func:`.sessionmaker` objects
were created.   The anonymous subclass created by
the sessionmaker, when dereferenced, would not be garbage
collected due to remaining class-level references from the
event package.  This issue also applies to any custom system
that made use of ad-hoc subclasses in conjunction with
an event dispatcher. [ticket:2650]
2013-01-12 17:32:32 -05:00
Mike Bayer 9f72910c7c :meth:`.Query.merge_result` can now load rows from an outer join
where an entity may be ``None`` without throwing an error.

[ticket:2640]
2013-01-08 10:57:15 -05:00
Diana Clarke 8a99f3e13c happy new year (see #2645) 2013-01-01 18:58:03 -05:00
Diana Clarke ed1a89b299 fixing typos in the types docs (see #2639) 2012-12-23 18:18:29 -05:00
Diana Clarke 422448e254 docs - missing 'attr' in AssociationProxy join see #2636 2012-12-16 08:04:52 -05:00
Mike Bayer 3f72142df0 More adjustment to this SQLite related issue which was released in
0.7.9, to intercept legacy SQLite quoting characters when reflecting
foreign keys.  In addition to intercepting double quotes, other
quoting characters such as brackets, backticks, and single quotes
are now also intercepted. [ticket:2568]
2012-12-14 10:32:56 -05:00
Mike Bayer d64dba17bb add a doc for the [ticket:2631] quirk 2012-12-08 20:39:32 -05:00
Mike Bayer 4bfa09c16c Fixed bug where using server_onupdate=<FetchedValue|DefaultClause>
without passing the "for_update=True" flag would apply the default
object to the server_default, blowing away whatever was there.
The explicit for_update=True argument shouldn't be needed with this usage
(especially since the documentation shows an example without it being
used) so it is now arranged internally using a copy of the given default
object, if the flag isn't set to what corresponds to that argument.
[ticket:2631]
2012-12-08 20:31:06 -05:00
Mike Bayer f2909ff71b The Oracle LONG type, while an unbounded text type, does not appear
to use the cx_Oracle.LOB type when result rows are returned,
so the dialect has been repaired to exclude LONG from
having cx_Oracle.LOB filtering applied.
[ticket:2620]
2012-12-06 19:32:58 -05:00
Mike Bayer 0b0415f49b Repaired the usage of ``.prepare()`` in conjunction with
cx_Oracle so that a return value of ``False`` will result
in no call to ``connection.commit()``, hence avoiding
"no transaction" errors.   Two-phase transactions have
now been shown to work in a rudimental fashion with
SQLAlchemy and cx_oracle, however are subject to caveats
observed with the driver; check the documentation
for details. [ticket:2611]
2012-12-06 19:14:12 -05:00
Mike Bayer 84e000f076 The :class:`.MutableComposite` type did not allow for the
:meth:`.MutableBase.coerce` method to be used, even though
the code seemed to indicate this intent, so this now works
and a brief example is added.  As a side-effect,
the mechanics of this event handler have been changed so that
new :class:`.MutableComposite` types no longer add per-type
global event handlers.  Also in 0.8.0b2.
[ticket:2624]
2012-12-03 19:56:55 -05:00
Mike Bayer f309abb638 comment out PDF for now, it sucks 2012-11-18 12:36:24 -05:00
Mike Bayer bef89a2440 Fixed :meth:`.MetaData.reflect` to correctly use
the given :class:`.Connection`, if given, without
opening a second connection from that connection's
:class:`.Engine`. [ticket:2604]
2012-11-14 00:51:38 -05:00
Mike Bayer 7a03aded91 Fixed bug whereby using "key" with Column
in conjunction with "schema" for the owning
Table would fail to locate result rows due
to the MSSQL dialect's "schema rendering"
logic's failure to take .key into account.
[ticket:2607]
2012-11-13 23:45:52 -05:00
Mike Bayer 31adc09e42 remove some whitespace 2012-10-25 15:58:26 -04:00
Mike Bayer a5555c25c8 update to new doc system 2012-10-25 15:49:44 -04:00
Mike Bayer ebc9952900 0.7.9 2012-10-01 18:32:49 -04:00
Mike Bayer 46e218e5f1 add glossary, "release" term 2012-09-30 11:56:55 -04:00
Mike Bayer bbcf70019a session modernize 2012-09-30 11:31:49 -04:00
Mike Bayer a035c6b6e9 merge some version of the changes noted in [ticket:2426] 2012-09-25 17:23:13 -04:00
Mike Bayer 74ae1f7687 - improve docs for MySQL/SQLite foreign key/ON UPDATE|DELETE instructions,
[ticket:2514]
2012-09-23 12:24:24 -04:00
Mike Bayer ddb4aa2e0a add connection.close() 2012-09-11 11:02:02 -04:00
Mike Bayer 0ad6642c82 Merged in etanol/sqlalchemy/rel_0_7 (pull request #17) 2012-09-09 14:44:38 -04:00
Mike Bayer b114d5701c fix 2012-09-09 02:26:55 -04:00
Mike Bayer 7942c4b8ca more cleanup 2012-09-09 02:25:43 -04:00
Mike Bayer 8fe080fa3e almost obliterate the concept of "implicit execution" from the docs, move it only
to the "engines and connections" chapter nobody reads, put big green "note:"
boxes with the word "discouraged" in them for "bound metadata", "implicit execution",
"threadlocal strategy"
2012-09-09 02:06:32 -04:00
Isaac Jurado c9c77dce2b Add a hint on the install guide to disable C extensions with pip. 2012-09-07 13:12:26 +02:00
Mike Bayer 82000d9148 hybrids: illustrate correlated subquery 2012-08-27 12:36:00 -04:00
Mike Bayer 080d683c96 whitespace removal 2012-08-10 11:22:37 -04:00
Mike Bayer becf8ffae2 merge session edits from default 2012-08-08 11:55:52 -04:00
Mike Bayer b8883b771b - modernize some merge docs a bit 2012-08-07 20:07:58 -04:00
Mike Bayer 9f3b341723 - [bug] A warning is emitted when lazy='dynamic'
is combined with uselist=False.  This is an
    exception raise in 0.8.
2012-08-05 22:56:13 -04:00
Mike Bayer b9843dce0b genindex is 100% valid 2012-07-16 11:07:54 -04:00
Mike Bayer 1937bb976c except the example was wrong. 2012-07-02 13:56:28 -04:00
Mike Bayer 1e8b5eb47d - add a nice example about begin_nested as context manager. 2012-07-02 13:08:09 -04:00
Mike Bayer ddf58363c8 add a section on many-to-many deletes 2012-06-25 16:42:39 -04:00
Mike Bayer 37b807cd04 0.7.8 prep 2012-06-16 20:58:00 -04:00
Mike Bayer 787be72617 some doc fixes 2012-06-16 20:54:19 -04:00
Mike Bayer c8e847811f Add some `Sphinx` related version informations paragraph-level markups,
such as ``.. versionaddedd::``, ``.. versionchanged::`` and ``.. deprecated::``.
2012-06-08 15:59:27 -04:00
Mike Bayer 0c1bc8b54d Add some basic CSS styles for version informations paragraph markups. 2012-06-08 15:59:15 -04:00
Mike Bayer a9edddc5c3 - upgrade DBAPI index to have links to all dialect toplevel pages
- add line for google DBAPI
2012-05-26 13:11:26 -04:00
Mike Bayer c91fd10f5c 0.7.7 release prep 2012-05-05 18:48:03 -04:00
Franck Cuny 6de2aa03bd Fix a typo in the documentation
s/Attrbutes/Attributes/
2012-04-27 15:21:02 -07:00