Commit Graph

717 Commits

Author SHA1 Message Date
Mike Bayer 199fb1dd38 document the crap out of text(), Session.execute() 2010-07-20 11:54:58 -04:00
Mike Bayer f92cfd0681 - PG doc updates
- pypostgresql has 15 errors, 3 failures, this probably
puts it in the "yes" as opposed to the "partial" support
category.  [ticket:1850]
2010-07-13 21:30:55 -04:00
Mike Bayer 63249b6560 biginteger 2010-07-10 12:04:17 -04:00
Mike Bayer ce9ba7fdd3 - more 78 chars
- BIGINT doc
- clean up docs in schema.py
2010-07-10 11:47:30 -04:00
Mike Bayer 145a3c627c some prep for the 'viewcode' plugin, which works, though not sure if its helpful 2010-07-04 18:52:34 -04:00
Mike Bayer 55ae7d7842 - Added support for @classproperty to provide
any kind of schema/mapping construct from a
declarative mixin, including columns with foreign
keys, relationships, column_property, deferred.
This solves all such issues on declarative mixins.
An error is raised if any MapperProperty subclass
is specified on a mixin without using @classproperty.
[ticket:1751] [ticket:1796] [ticket:1805]

- un-anglicized the declarative docs
2010-07-03 14:53:37 -04:00
Mike Bayer 5a58907c99 replace all occurences of "closes the connection" "closes the transaction"
with explicit verbiage regarding "returns the connection to the connection
pool", "rolls back the transaction"
2010-06-29 19:02:49 -04:00
Mike Bayer 8895922b57 add make_transient 2010-06-29 11:24:15 -04:00
Mike Bayer 50420bf731 fix accessors, [ticket:1816] 2010-06-19 13:29:16 -04:00
Mike Bayer 7378611832 - added documentation for Inspector [ticket:1820]
- fixed "toplevel" regexp to include tokens of the form foo-bar-toplevel (i.e. multiple dashes)
- some CSS adjustment so that all API headings are in gray.
2010-06-13 15:49:27 -04:00
Mike Bayer 145e3bc584 - tweak to work with sphinx 1.0b2
- more open ended language for bound metadata
2010-06-08 15:53:13 -04:00
Mike Bayer b086f9a815 - Re-established support for Oracle 8 with cx_oracle,
including that use_ansi is set to False automatically,
NVARCHAR2 and NCLOB are not rendered for Unicode,
"native unicode" check doesn't fail, cx_oracle
"native unicode" mode is disabled, VARCHAR() is emitted
with bytes count instead of char count. [ticket:1808]
2010-05-27 13:02:17 -04:00
Mike Bayer 726f7a9f59 new link for pymssql #1810 2010-05-21 17:05:06 -04:00
Mike Bayer 28aa32a20d docs on dispose 2010-05-15 16:12:14 -04:00
Mike Bayer d997bbaea8 add more insert examples #1791 2010-05-03 22:18:27 -04:00
Mike Bayer 591a049cd3 update language regarding the behavior of expire/refresh with regards to relationships, [ticket:1762] 2010-04-14 17:58:08 -04:00
Chris Withers 5114807408 docs for new mixin class control abilities 2010-04-13 16:46:07 +01:00
Chris Withers 6fa48a7db1 wire in utility docs 2010-04-13 12:47:37 +01:00
Chris Withers ae16d89f7c add utility docs 2010-04-13 12:47:12 +01:00
Chris Withers 22be31ec3a stop Sphinx whining about this file, I believe it's used direct from a template 2010-04-13 12:05:45 +01:00
Chris Withers 36c05de373 made this easier to read 2010-04-09 18:02:06 +01:00
Mike Bayer 543b9837b3 spacing 2010-03-28 13:37:08 -04:00
Mike Bayer 0e6d10806a add doc for shard 2010-03-28 13:17:26 -04:00
Mike Bayer 51fd344737 - The sqlalchemy.orm.shard module now becomes an extension,
sqlalchemy.ext.horizontal_shard.   The old import
works with a deprecation warning.
2010-03-28 13:12:38 -04:00
Mike Bayer 8f11ca9a6a documentation updates 2010-03-28 11:20:22 -04:00
Mike Bayer 3cd2c4661f - 0.6beta3 version
- remove redundant orderinglist docs, use just module docs
- add warning for primary keys/unique colummns, [ticket:1669]
2010-03-27 15:20:03 -04:00
Mike Bayer a0af13067d clarify cascade docstring, [ticket:1716] 2010-03-26 13:09:17 -04:00
Mike Bayer 3f0bd7269b - The psycopg2 dialect will log NOTICE messages via the
"sqlalchemy.dialects.postgresql" logger name.
[ticket:877]
2010-03-25 17:02:50 -04:00
Mike Bayer a977894c84 - fix some final pathing stuff, we weren't getting all the loads in the
inheritance examples, now its improved !
- final doc pass
2010-03-24 23:51:49 -04:00
Mike Bayer 1675811029 - To accomodate the fact that there are now two kinds of eager
loading available, the new names for eagerload() and
eagerload_all() are joinedload() and joinedload_all().  The
old names will remain as synonyms for the foreseeable future.

- The "lazy" flag on the relationship() function now accepts
a string argument for all kinds of loading: "select", "joined",
"subquery", "noload" and "dynamic", where the default is now
"select".  The old values of True/
False/None still retain their usual meanings and will remain
as synonyms for the foreseeable future.

- Added documentation to tutorial,mapper doc, api docs
for subqueryload, subqueryload_all, and other options.
2010-03-24 19:11:01 -04:00
Mike Bayer d6edf5557f revert the newline workaround, fix the regexp that was consuming 2010-03-20 13:41:18 -04:00
Mike Bayer 03e637b6c1 huge sphinx bug. need to put all :ref:s on a newline, or preceding :class:/:func: constructs get lost as well as all text in between. 2010-03-20 13:21:54 -04:00
Mike Bayer eb72838953 - pymssql now works again, expecting at least the 1.0 series. 2010-03-20 11:50:39 -04:00
Mike Bayer 60c9d3daae added some more detail to update doc per [ticket:1346] 2010-03-19 21:26:03 -04:00
Mike Bayer e5a0104531 latex can't handle the rowspans. pdf still cuts off the table and looks like
crap but at least it builds.
2010-03-17 21:17:51 -04:00
Mike Bayer 50bea2e0e8 if anybody complains that they didn't know it was called "relation" in 0.5, why..I'll eat my hat ! 2010-03-17 20:49:41 -04:00
Mike Bayer 065fcbd9d2 - The official name for the relation() function is now
relationship(), to eliminate confusion over the relational
algebra term.  relation() however will remain available
in equal capacity for the foreseeable future.  [ticket:1740]
2010-03-17 17:48:29 -04:00
Mike Bayer 214ed6239e - pyodbc can do *some* unicode with sybase, python-sybase not at all.
Since python-sybase source code seems to be all from 2001 with no updates,
making pyodbc the default driver.
2010-03-17 16:01:29 -04:00
Mike Bayer 318f47dc80 - added pyodbc for sybase driver.
- generalized the "freetds" / "unicode statements" behavior of MS-SQL/pyodbc
into the base Pyodbc connector, as this seems to apply to Sybase as well.
- generalized the python-sybase "use autocommit for DDL" into the pyodbc
connector.  With pyodbc, the "autocommit" flag on connection is used,
as Pyodbc seems to have more database conversation than python-sybase that
can't otherwise be suppressed.
- Some platforms will now interpret certain literal values
as non-bind parameters, rendered literally into the SQL
statement.   This to support strict SQL-92 rules that are
enforced by some platforms including MS-SQL and Sybase.
In this model, bind parameters aren't allowed in the
columns clause of a SELECT, nor are certain ambiguous
expressions like "?=?".  When this mode is enabled, the base
compiler will render the binds as inline literals, but only across
strings and numeric values.  Other types such as dates
will raise an error, unless the dialect subclass defines
a literal rendering function for those.  The bind parameter
must have an embedded literal value already or an error
is raised (i.e. won't work with straight bindparam('x')).
Dialects can also expand upon the areas where binds are not
accepted, such as within argument lists of functions
(which don't work on MS-SQL when native SQL binding is used).
2010-03-17 15:15:44 -04:00
Mike Bayer b3ba365eea fix failing test due to sybase paramstyle 2010-03-14 19:50:50 -04:00
Mike Bayer 9b597425c9 - name all the "sub" dialect components <DB><component>_<dialectname>, [ticket:1738] 2010-03-14 19:31:30 -04:00
Mike Bayer 9b9a252f00 ongoing typos 2010-03-13 18:17:26 -05:00
Mike Bayer e4b4f9a99b gr and pysqlite 2010-03-13 18:13:41 -05:00
Mike Bayer c982c7026d update link for sqlite3 2010-03-13 18:10:31 -05:00
Mike Bayer 6708330b8c the big table of all the DBAPIs 2010-03-13 18:04:39 -05:00
Mike Bayer 69aece5def working dialect support into a chart 2010-03-13 17:20:37 -05:00
Mike Bayer 5f1fbf5759 - Added "logging_name" argument to create_engine(), Pool() constructor
as well as "pool_logging_name" argument to create_engine() which
filters down to that of Pool.   Issues the given string name
within the "name" field of logging messages instead of the default
hex identifier string.  [ticket:1555]
2010-03-13 13:53:31 -05:00
Mike Bayer 875487b8b7 formatting 2010-03-11 18:46:21 -05:00
Mike Bayer 9520c878b6 - emphasized query.join() in ORM tutorial as per [ticket:1708]
- cleaned up tutorial w.r.t. eagerload, added a section for contains_eager as this function
is equally important
- added better linkages in sqlalchemy.orm reference documentation, updated antiquated
docs for contains_eager(), got aliased()/AliasedClass documented as well as Sphinx will
allow us
2010-03-10 18:29:32 -05:00
Mike Bayer 969c04860f almost there, some tests failing still. 2010-03-09 13:41:43 -05:00