]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
17 years agoadded col with no name example
Mike Bayer [Mon, 11 Aug 2008 18:00:10 +0000 (18:00 +0000)] 
added col with no name example

17 years ago- The composite() property type now supports
Mike Bayer [Mon, 11 Aug 2008 17:18:10 +0000 (17:18 +0000)] 
- The composite() property type now supports
a __set_composite_values__() method on the composite
class which is required if the class represents
state using attribute names other than the
column's keynames; default-generated values now
get populated properly upon flush.  Also,
composites with attributes set to None compare
correctly.  [ticket:1132]

17 years agomerged r5018 from 0.4 branch, but using contextual_connect() (will fix in 0.4 too)
Mike Bayer [Sun, 10 Aug 2008 05:26:16 +0000 (05:26 +0000)] 
merged r5018 from 0.4 branch, but using contextual_connect() (will fix in 0.4 too)

17 years agocomment
Mike Bayer [Fri, 8 Aug 2008 15:50:36 +0000 (15:50 +0000)] 
comment

17 years ago- cleaned up the attributes scan for reconstitute hooks
Mike Bayer [Fri, 8 Aug 2008 15:37:41 +0000 (15:37 +0000)] 
- cleaned up the attributes scan for reconstitute hooks
- added more careful check for "_should_exclude", guard against possible heisenbug activity

17 years agoadded unit tests for [ticket:1024]
Mike Bayer [Fri, 8 Aug 2008 14:56:53 +0000 (14:56 +0000)] 
added unit tests for [ticket:1024]

17 years agoadded missing **kwargs
Mike Bayer [Fri, 8 Aug 2008 14:31:09 +0000 (14:31 +0000)] 
added missing **kwargs

17 years agoeven better...
Mike Bayer [Fri, 8 Aug 2008 05:15:18 +0000 (05:15 +0000)] 
even better...

17 years ago- Fixed @on_reconsitute hook for subclasses
Mike Bayer [Fri, 8 Aug 2008 05:13:23 +0000 (05:13 +0000)] 
- Fixed @on_reconsitute hook for subclasses
which inherit from a base class.
[ticket:1129]

17 years ago- Improved the determination of the FROM clause
Mike Bayer [Wed, 6 Aug 2008 20:58:48 +0000 (20:58 +0000)] 
- Improved the determination of the FROM clause
when placing SQL expressions in the query()
list of entities.  In particular scalar subqueries
should not "leak" their inner FROM objects out
into the enclosing query.

17 years ago- Temporarily rolled back the "ORDER BY" enhancement
Mike Bayer [Wed, 6 Aug 2008 15:46:31 +0000 (15:46 +0000)] 
- Temporarily rolled back the "ORDER BY" enhancement
from [ticket:1068].  This feature is on hold
pending further development.

17 years ago- The RowTuple object returned by Query(*cols) now
Mike Bayer [Tue, 5 Aug 2008 20:15:28 +0000 (20:15 +0000)] 
- The RowTuple object returned by Query(*cols) now
features keynames which prefer mapped attribute
names over column keys, column keys over
column names, i.e.
Query(Class.foo, Class.bar) will have names
"foo" and "bar" even if those are not the names
of the underlying Column objects.  Direct
Column objects such as Query(table.c.col) will
return the "key" attribute of the Column.

17 years agoslightly more user-friendly repr method for CascadeOptions
Gaëtan de Menten [Tue, 5 Aug 2008 09:15:31 +0000 (09:15 +0000)] 
slightly more user-friendly repr method for CascadeOptions

17 years agoCorrected problem in docstring. rel_0_5beta3
Michael Trier [Mon, 4 Aug 2008 19:53:04 +0000 (19:53 +0000)] 
Corrected problem in docstring.

17 years ago- fixed endless loop bug which could occur
Mike Bayer [Mon, 4 Aug 2008 15:21:29 +0000 (15:21 +0000)] 
- fixed endless loop bug which could occur
within a mapper's deferred load of
inherited attributes.
- declarative initialization of Columns adjusted so that
non-renamed columns initialize in the same way as a non
declarative mapper.   This allows an inheriting mapper
to set up its same-named "id" columns in particular
such that the parent "id" column is favored over the child
column, reducing database round trips when this value
is requested.

17 years agoTypo
Lele Gaifax [Mon, 4 Aug 2008 13:17:40 +0000 (13:17 +0000)] 
Typo

17 years agosome doc stuff
Mike Bayer [Mon, 4 Aug 2008 03:05:26 +0000 (03:05 +0000)] 
some doc stuff

17 years agoremoved redundant check to _enable_transaction_accounting
Mike Bayer [Sun, 3 Aug 2008 21:35:44 +0000 (21:35 +0000)] 
removed redundant check to _enable_transaction_accounting

17 years ago- compiler visit_label() checks a flag "within_order_by" and will render its own...
Mike Bayer [Sun, 3 Aug 2008 21:19:32 +0000 (21:19 +0000)] 
- compiler visit_label() checks a flag "within_order_by" and will render its own name
and not its contained expression, if the dialect reports true for supports_simple_order_by_label.
the flag is not propagated forwards, meant to closely mimic the syntax Postgres expects which is
that only a simple name can be in the ORDER BY, not a more complex expression or function call
with the label name embedded (mysql and sqlite support more complex expressions).

This further sets the standard for propigation of **kwargs within compiler, that we can't just send
**kwargs along blindly to each XXX.process() call; whenever a **kwarg needs to propagate through,
most methods will have to be aware of it and know when they should send it on forward and when not.
This was actually already the case with result_map as well.

The supports_simple_order_by dialect flag defaults to True but is conservatively explicitly set to
False on all dialects except SQLite/MySQL/Postgres to start.

[ticket:1068]

17 years agodescriptive error message raised when string-based relation() expressions inadvertent...
Mike Bayer [Sun, 3 Aug 2008 18:39:53 +0000 (18:39 +0000)] 
descriptive error message raised when string-based relation() expressions inadvertently mistake a PropertyLoader for a ColumnLoader property

17 years ago- renamed autoexpire to expire_on_commit
Mike Bayer [Sun, 3 Aug 2008 18:03:57 +0000 (18:03 +0000)] 
- renamed autoexpire to expire_on_commit
- renamed SessionTransaction autoflush to reentrant_flush to more clearly state its purpose
- added _enable_transaction_accounting, flag for Mike Bernson which disables the whole 0.5 transaction state management; the system depends on expiry on rollback in order to function.

17 years agoa correction to the recent should_exclude change. should_exclude is a little mixed
Mike Bayer [Sun, 3 Aug 2008 16:52:31 +0000 (16:52 +0000)] 
a correction to the recent should_exclude change.  should_exclude is a little mixed
up as to when it honors "column_prefix" and when it doesn't, depending on whether or not
the prop is coming from a column name or from an inherited class.  Will need more testing
to uncover potential issues here.

17 years ago- The "entity_name" feature of SQLAlchemy mappers
Mike Bayer [Sat, 2 Aug 2008 22:21:42 +0000 (22:21 +0000)] 
- The "entity_name" feature of SQLAlchemy mappers
has been removed.  For rationale, see
http://groups.google.com/group/sqlalchemy/browse_thread/thread/9e23a0641a88b96d?hl=en

17 years ago- Refactored declarative_base() as a thin wrapper over type()
Jason Kirtland [Sat, 2 Aug 2008 17:07:33 +0000 (17:07 +0000)] 
- Refactored declarative_base() as a thin wrapper over type()
- The supplied __init__ is now optional
- The name of the generated class can be specified
- Accepts multiple bases

17 years ago- declarative.declarative_base():
Jason Kirtland [Sat, 2 Aug 2008 16:32:02 +0000 (16:32 +0000)] 
- declarative.declarative_base():
  takes a 'metaclass' arg, defaulting to DeclarativeMeta
  renamed 'engine' arg to 'bind', backward compat
  documented

17 years agomake ProxyImpl a top-level class (this makes it importable by FormAlchemy, making...
Jonathan Ellis [Fri, 1 Aug 2008 23:02:02 +0000 (23:02 +0000)] 
make ProxyImpl a top-level class (this makes it importable by FormAlchemy, making reverse-engineering synonyms a bit easier)

17 years agofurther refinement to the inheritance "descriptor" detection such that
Mike Bayer [Fri, 1 Aug 2008 17:13:31 +0000 (17:13 +0000)] 
further refinement to the inheritance "descriptor" detection such that
local columns will still override superclass descriptors.

17 years agotest case to disprove [ticket:1126]
Mike Bayer [Fri, 1 Aug 2008 15:10:36 +0000 (15:10 +0000)] 
test case to disprove [ticket:1126]

17 years agoadded MutableType, Concatenable to __all__
Mike Bayer [Thu, 31 Jul 2008 16:48:32 +0000 (16:48 +0000)] 
added MutableType, Concatenable to __all__

17 years ago- Fixed bug whereby the "unsaved, pending instance"
Mike Bayer [Thu, 31 Jul 2008 16:41:41 +0000 (16:41 +0000)] 
- Fixed bug whereby the "unsaved, pending instance"
FlushError raised for a pending orphan would not take
superclass mappers into account when generating
the list of relations responsible for the error.

17 years agorelation.order_by requires _literal_as_column conversion as well
Mike Bayer [Tue, 29 Jul 2008 19:49:46 +0000 (19:49 +0000)] 
relation.order_by requires _literal_as_column conversion as well

17 years agotypo
Gaëtan de Menten [Tue, 29 Jul 2008 08:43:30 +0000 (08:43 +0000)] 
typo

17 years agoCorrects reflecttable in firebird database. Closes #1119.
Michael Trier [Tue, 29 Jul 2008 03:17:02 +0000 (03:17 +0000)] 
Corrects reflecttable in firebird database. Closes #1119.

17 years agoRaised an error when sqlite version does not support default values. Addresses ...
Michael Trier [Tue, 29 Jul 2008 03:08:38 +0000 (03:08 +0000)] 
Raised an error when sqlite version does not support default values.  Addresses #909 in a purposeful way.

17 years agoadded dummy column to correct results on sqlite
Mike Bayer [Sat, 26 Jul 2008 21:40:36 +0000 (21:40 +0000)] 
added dummy column to correct results on sqlite

17 years ago- func.count() with no argument emits COUNT(*)
Jason Kirtland [Thu, 24 Jul 2008 21:36:16 +0000 (21:36 +0000)] 
- func.count() with no argument emits COUNT(*)

17 years agoCorrected problem with detecting closed connections. Fixed issues in reflecttable...
Michael Trier [Wed, 23 Jul 2008 05:10:04 +0000 (05:10 +0000)] 
Corrected problem with detecting closed connections.  Fixed issues in reflecttable for reflecting the mssql tables. Removed unicode reflection test from mssql. Need to investigate this further.

17 years agoallow SQLA-defaults on table columns that are excluded in the mapper
Mike Bayer [Tue, 22 Jul 2008 13:45:29 +0000 (13:45 +0000)] 
allow SQLA-defaults on table columns that are excluded in the mapper

17 years ago- more accurate changelog message
Mike Bayer [Sun, 20 Jul 2008 18:36:44 +0000 (18:36 +0000)] 
- more accurate changelog message
- generalized the descriptor detection to any object with a __get__ attribute

17 years ago- An inheriting class can now override an attribute
Mike Bayer [Sun, 20 Jul 2008 18:23:44 +0000 (18:23 +0000)] 
- An inheriting class can now override an attribute
inherited from the base class with a plain descriptor,
or exclude an inherited attribute via the
include_properties/exclude_properties collections.

17 years ago- A critical fix to dynamic relations allows the
Mike Bayer [Sat, 19 Jul 2008 21:33:58 +0000 (21:33 +0000)] 
- A critical fix to dynamic relations allows the
"modified" history to be properly cleared after
a flush().

17 years ago- Some improvements to the _CompileOnAttr mechanism which
Mike Bayer [Sat, 19 Jul 2008 19:23:37 +0000 (19:23 +0000)] 
- Some improvements to the _CompileOnAttr mechanism which
should reduce the probability of "Attribute x was
not replaced during compile" warnings. (this generally
applies to SQLA hackers, like Elixir devs).

17 years ago- Class-bound attributes sent as arguments to
Mike Bayer [Sat, 19 Jul 2008 18:55:11 +0000 (18:55 +0000)] 
- Class-bound attributes sent as arguments to
relation()'s remote_side and foreign_keys parameters
are now accepted, allowing them to be used with declarative.

17 years ago- reverted r4955, that was wrong. The backref responsible for the operation is the...
Mike Bayer [Sat, 19 Jul 2008 18:18:50 +0000 (18:18 +0000)] 
- reverted r4955, that was wrong.  The backref responsible for the operation is the one where the "cascade" option should take effect.
- can use None as a value for cascade.
- documented cascade options in docstring, [ticket:1064]

17 years agoCorrected a couple of lingering transactional=True statements in the docs.
Michael Trier [Sat, 19 Jul 2008 17:52:31 +0000 (17:52 +0000)] 
Corrected a couple of lingering transactional=True statements in the docs.

17 years agozoomarks have gone up as a result of r4936, possibly others. not clear why
Mike Bayer [Fri, 18 Jul 2008 22:28:16 +0000 (22:28 +0000)] 
zoomarks have gone up as a result of r4936, possibly others.  not clear why

17 years ago- save-update and delete-orphan cascade event handler
Mike Bayer [Fri, 18 Jul 2008 22:11:22 +0000 (22:11 +0000)] 
- save-update and delete-orphan cascade event handler
now considers the cascade rules of the event initiator only, not the local
attribute.  This way the cascade of the initiator controls the behavior
regardless of backref events.

17 years ago- Fixed a series of potential race conditions in
Mike Bayer [Fri, 18 Jul 2008 17:42:11 +0000 (17:42 +0000)] 
- Fixed a series of potential race conditions in
Session whereby asynchronous GC could remove unmodified,
no longer referenced items from the session as they were
present in a list of items to be processed, typically
during session.expunge_all() and dependent methods.

17 years ago- MapperProperty gets its .key attribute assigned early, in _compile_property.
Mike Bayer [Wed, 16 Jul 2008 21:56:23 +0000 (21:56 +0000)] 
- MapperProperty gets its .key attribute assigned early, in _compile_property.
MapperProperty compilation is detected using a "_compiled" flag.
- A mapper which inherits from another, when inheriting
the columns of its inherited mapper, will use any
reassigned property names specified in that inheriting
mapper.  Previously, if "Base" had reassigned "base_id"
to the name "id", "SubBase(Base)" would still get
an attribute called "base_id".   This could be worked
around by explicitly stating the column in each
submapper as well but this is fairly unworkable
and also impossible when using declarative [ticket:1111].

17 years agoadded a new test illustrating a particular inheritance bug. will add ticket
Mike Bayer [Wed, 16 Jul 2008 21:23:17 +0000 (21:23 +0000)] 
added a new test illustrating a particular inheritance bug.  will add ticket

17 years ago- mysql.MSEnum value literals now automatically quoted when used in a CREATE.
Jason Kirtland [Wed, 16 Jul 2008 18:24:20 +0000 (18:24 +0000)] 
- mysql.MSEnum value literals now automatically quoted when used in a CREATE.
  The change is backward compatible. Slight expansion of patch from catlee.
  Thanks! [ticket:1110]

17 years ago- Spiffed up the deprecated decorators & @flipped 'em up top
Jason Kirtland [Wed, 16 Jul 2008 17:34:41 +0000 (17:34 +0000)] 
- Spiffed up the deprecated decorators & @flipped 'em up top

17 years agoRemoved deprecated get_version_info, use server_version_info
Jason Kirtland [Wed, 16 Jul 2008 15:25:33 +0000 (15:25 +0000)] 
Removed deprecated get_version_info, use server_version_info

17 years ago- Overhauled _generative and starargs decorators and flipped to 2.4 @syntax
Jason Kirtland [Wed, 16 Jul 2008 06:47:22 +0000 (06:47 +0000)] 
- Overhauled _generative and starargs decorators and flipped to 2.4 @syntax

17 years ago- Fixed some over-long ReST lines & general formatting touchups
Jason Kirtland [Tue, 15 Jul 2008 22:01:15 +0000 (22:01 +0000)] 
- Fixed some over-long ReST lines & general formatting touchups

17 years agoCompleted engine_descriptors() removal (started in r4900)
Jason Kirtland [Tue, 15 Jul 2008 21:50:48 +0000 (21:50 +0000)] 
Completed engine_descriptors() removal (started in r4900)

17 years ago- Moved to 2.4+ import syntax (w/ some experimental merge-friendly formatting)
Jason Kirtland [Tue, 15 Jul 2008 21:43:02 +0000 (21:43 +0000)] 
- Moved to 2.4+ import syntax (w/ some experimental merge-friendly formatting)

17 years agoWhitespace tweaks suggested by pep8.py
Jason Kirtland [Tue, 15 Jul 2008 20:20:41 +0000 (20:20 +0000)] 
Whitespace tweaks suggested by pep8.py

17 years ago- Removed the last of the 2.3 dict compat & some formatting tweaks.
Jason Kirtland [Tue, 15 Jul 2008 20:06:56 +0000 (20:06 +0000)] 
- Removed the last of the 2.3 dict compat & some formatting tweaks.

17 years ago- Always use native threading.local (or the native dummy version)
Jason Kirtland [Tue, 15 Jul 2008 19:56:30 +0000 (19:56 +0000)] 
- Always use native threading.local (or the native dummy version)

17 years ago- Always use native itemgetter & attrgetter
Jason Kirtland [Tue, 15 Jul 2008 19:53:17 +0000 (19:53 +0000)] 
- Always use native itemgetter & attrgetter

17 years ago- Always use native deque
Jason Kirtland [Tue, 15 Jul 2008 19:46:24 +0000 (19:46 +0000)] 
- Always use native deque

17 years ago- Removed 2.3 Decimal compat
Jason Kirtland [Tue, 15 Jul 2008 19:40:08 +0000 (19:40 +0000)] 
- Removed 2.3 Decimal compat

17 years ago- Dropped `reversed` emulation
Jason Kirtland [Tue, 15 Jul 2008 19:29:41 +0000 (19:29 +0000)] 
- Dropped `reversed` emulation

17 years ago- Removed 2.3 set emulations/enhancements.
Jason Kirtland [Tue, 15 Jul 2008 19:23:52 +0000 (19:23 +0000)] 
- Removed 2.3 set emulations/enhancements.
  (sets.Set-based collections & DB-API returns still work.)

17 years agoAnd thus ends support for Python 2.3.
Jason Kirtland [Tue, 15 Jul 2008 18:21:24 +0000 (18:21 +0000)] 
And thus ends support for Python 2.3.

17 years ago- Fixed a couple lingering exceptions->exc usages
Jason Kirtland [Tue, 15 Jul 2008 16:39:27 +0000 (16:39 +0000)] 
- Fixed a couple lingering exceptions->exc usages
- Some import tidying

17 years ago- Fixed bug when calling select([literal('foo')])
Mike Bayer [Tue, 15 Jul 2008 15:04:43 +0000 (15:04 +0000)] 
- Fixed bug when calling select([literal('foo')])
or select([bindparam('foo')]).

17 years ago- Added a new SessionExtension hook called after_attach().
Mike Bayer [Tue, 15 Jul 2008 14:54:37 +0000 (14:54 +0000)] 
- Added a new SessionExtension hook called after_attach().
This is called at the point of attachment for objects
via add(), add_all(), delete(), and merge().

17 years agoFix reflection where the table name has a duplicate name in a different schema
Paul Johnston [Tue, 15 Jul 2008 09:15:59 +0000 (09:15 +0000)] 
Fix reflection where the table name has a duplicate name in a different schema

17 years ago- The "allow_column_override" flag from mapper() has rel_0_5beta2
Mike Bayer [Mon, 14 Jul 2008 20:04:35 +0000 (20:04 +0000)] 
- The "allow_column_override" flag from mapper() has
been removed.  This flag is virtually always misunderstood.
Its specific functionality is available via the
include_properties/exclude_properties mapper arguments.

17 years agofix adjacency list examples
Mike Bayer [Mon, 14 Jul 2008 19:44:37 +0000 (19:44 +0000)] 
fix adjacency list examples

17 years ago2.4 support !
Mike Bayer [Mon, 14 Jul 2008 19:42:42 +0000 (19:42 +0000)] 
2.4 support !

17 years agopossible fix for MS-SQL version of match() test, but the real solution here may be...
Mike Bayer [Mon, 14 Jul 2008 19:39:50 +0000 (19:39 +0000)] 
possible fix for MS-SQL version of match() test, but the real solution here may be to have the correct default paramstyle set up on the MS-SQL dialect.

17 years agobump
Mike Bayer [Mon, 14 Jul 2008 19:34:39 +0000 (19:34 +0000)] 
bump

17 years agoFixed up some very annoying lengthy lines.
Michael Trier [Mon, 14 Jul 2008 18:20:06 +0000 (18:20 +0000)] 
Fixed up some very annoying lengthy lines.

17 years agoReverted CHANGES change. Not necessary for this type of fix.
Michael Trier [Mon, 14 Jul 2008 17:48:38 +0000 (17:48 +0000)] 
Reverted CHANGES change. Not necessary for this type of fix.

17 years agoAdded notation about MSSmallDate fix into CHANGES.
Michael Trier [Mon, 14 Jul 2008 04:24:22 +0000 (04:24 +0000)] 
Added notation about MSSmallDate fix into CHANGES.

(cherry picked from commit 461ee7e08bb2a6f7b10b1c9f1348cc29bfecacbb)

17 years agoadded a passing test for [ticket:1105]
Mike Bayer [Mon, 14 Jul 2008 00:17:04 +0000 (00:17 +0000)] 
added a passing test for [ticket:1105]

17 years agoAnd more
Jason Kirtland [Sun, 13 Jul 2008 17:52:12 +0000 (17:52 +0000)] 
And more

17 years agoTypo
Jason Kirtland [Sun, 13 Jul 2008 17:50:26 +0000 (17:50 +0000)] 
Typo

17 years agoFixed messed up __init__ in MSSmallDate. Fixes #1040.
Michael Trier [Sun, 13 Jul 2008 17:48:32 +0000 (17:48 +0000)] 
Fixed messed up __init__ in MSSmallDate. Fixes #1040.

17 years agoAdded new basic match() operator that performs a full-text search. Supported on Postg...
Michael Trier [Sun, 13 Jul 2008 04:45:37 +0000 (04:45 +0000)] 
Added new basic match() operator that performs a full-text search. Supported on PostgreSQL, SQLite, MySQL, MS-SQL, and Oracle backends.

17 years agotypo
Gaëtan de Menten [Fri, 11 Jul 2008 14:21:05 +0000 (14:21 +0000)] 
typo

17 years agotypo
Gaëtan de Menten [Fri, 11 Jul 2008 07:39:21 +0000 (07:39 +0000)] 
typo

17 years agoLet doc font sizes adapt to browser prefs (experimental)
Jason Kirtland [Thu, 10 Jul 2008 20:31:19 +0000 (20:31 +0000)] 
Let doc font sizes adapt to browser prefs (experimental)

17 years agoAdded default support to OrderedDict.pop [ticket:585]
Jason Kirtland [Thu, 10 Jul 2008 19:16:08 +0000 (19:16 +0000)] 
Added default support to OrderedDict.pop [ticket:585]

17 years agoFlag beta docs with a big red capsule
Jason Kirtland [Thu, 10 Jul 2008 18:32:38 +0000 (18:32 +0000)] 
Flag beta docs with a big red capsule

17 years ago- Declarative supports a __table_args__ class variable, which
Mike Bayer [Wed, 9 Jul 2008 20:38:35 +0000 (20:38 +0000)] 
- Declarative supports a __table_args__ class variable, which
is either a dictionary, or tuple of the form
(arg1, arg2, ..., {kwarg1:value, ...}) which contains positional
+ kw arguments to be passed to the Table constructor.
[ticket:1096]

17 years ago - Unicode, UnicodeText types now set "assert_unicode" and
Mike Bayer [Wed, 9 Jul 2008 16:33:38 +0000 (16:33 +0000)] 
- Unicode, UnicodeText types now set "assert_unicode" and
      "convert_unicode" by default, but accept overriding
      **kwargs for these values.

17 years ago- SQLite Date, DateTime, and Time types only accept Python
Mike Bayer [Wed, 9 Jul 2008 16:15:14 +0000 (16:15 +0000)] 
- SQLite Date, DateTime, and Time types only accept Python
datetime objects now, not strings.  If you'd like to format
dates as strings yourself with SQLite, use a String type.
If you'd like them to return datetime objects anyway despite
their accepting strings as input, make a TypeDecorator around
String - SQLA doesn't encourage this pattern.

17 years agoFixed borked testlib due to r4901.
Michael Trier [Tue, 8 Jul 2008 02:48:13 +0000 (02:48 +0000)] 
Fixed borked testlib due to r4901.

17 years agoRefactored the mock_engine in the tests so it's not duplicated in several places...
Michael Trier [Tue, 8 Jul 2008 01:37:38 +0000 (01:37 +0000)] 
Refactored the mock_engine in the tests so it's not duplicated in several places. Closes #1098

17 years ago- re-fixed the fix to the prefixes fix
Mike Bayer [Sun, 6 Jul 2008 00:47:56 +0000 (00:47 +0000)] 
- re-fixed the fix to the prefixes fix
- removed ancient descriptor() functions from dialects; replaced with Dialect.name
- removed similarly ancient sys.modules silliness in Engine.name

17 years ago- session.refresh() raises an informative error message if
Mike Bayer [Sat, 5 Jul 2008 20:37:44 +0000 (20:37 +0000)] 
- session.refresh() raises an informative error message if
the list of attributes does not include any column-based
attributes.

- query() raises an informative error message if no columns
or mappers are specified.

- lazy loaders now trigger autoflush before proceeding.  This
allows expire() of a collection or scalar relation to
function properly in the context of autoflush.

- whitespace fix to new Table prefixes option

17 years agocommented out bus erroring section for now pending [ticket:1099] resolution
Mike Bayer [Sat, 5 Jul 2008 20:35:26 +0000 (20:35 +0000)] 
commented out bus erroring section for now pending [ticket:1099] resolution

17 years agoAdded prefixes option to that accepts a list of string to insert after CREATE in...
Michael Trier [Sat, 5 Jul 2008 03:31:30 +0000 (03:31 +0000)] 
Added prefixes option to  that accepts a list of string to insert after CREATE in the CREATE TABLE statement. Closes #1075.

17 years agoCorrected grammar on session documents. Closes #1097.
Michael Trier [Fri, 4 Jul 2008 21:36:00 +0000 (21:36 +0000)] 
Corrected grammar on session documents. Closes #1097.

17 years agoupdate poly_assoc examples for 0.4+ syntax
Gaëtan de Menten [Thu, 3 Jul 2008 13:19:31 +0000 (13:19 +0000)] 
update poly_assoc examples for 0.4+ syntax

17 years agoFixed typo where plugins docs were referencing synonyn_for instead of synonym_for...
Michael Trier [Thu, 3 Jul 2008 04:38:28 +0000 (04:38 +0000)] 
Fixed typo where plugins docs were referencing synonyn_for instead of synonym_for.  Closes #1029