| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Documentation has been converted to Sphinx.
In particular, the generated API documentation
has been constructed into a full blown
"API Reference" section which organizes
editorial documentation combined with
generated docstrings. Cross linking between
sections and API docs are vastly improved,
a javascript-powered search feature is
provided, and a full index of all
classes, functions and members is provided.
|
| |
|
|
| |
named 'comparator_factory'.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
[ticket:1149]
- added other unit tests as per [ticket:1149]
- rewrote most of the "joined table inheritance" documentation section, removed badly out of
date "polymorphic_fetch" and "select_table" arguments.
- "select_table" raises a deprecation warning. converted unit tests to not use it.
- removed all references to "ORDER BY table.oid" from mapping docs.
- renamed PropertyLoader to RelationProperty. Old symbol remains.
- renamed ColumnProperty.ColumnComparator to ColumnProperty.Comparator. Old symbol remains.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added note about create_session() defaults.
- Added section about metadata.reflect().
- Updated `TypeDecorator` section.
- Rewrote the "threadlocal" strategy section of
the docs due to recent confusion over this
feature.
- ordered the init arguments in the docs for sessionmaker().
- other edits
|
| |
|
|
| |
lots of small spelling and grammar issues.
|
| |
|
|
| |
- CHANGES formatting
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multiple aliases of the same class (will add tests in
[ticket:1218])
- Added a new extension sqlalchemy.ext.serializer. Provides
Serializer/Deserializer "classes" which mirror Pickle/Unpickle,
as well as dumps() and loads(). This serializer implements
an "external object" pickler which keeps key context-sensitive
objects, including engines, sessions, metadata, Tables/Columns,
and mappers, outside of the pickle stream, and can later
restore the pickle using any engine/metadata/session provider.
This is used not for pickling regular object instances, which are
pickleable without any special logic, but for pickling expression
objects and full Query objects, such that all mapper/engine/session
dependencies can be restored at unpickle time.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Pass in the argument "label_length=<value>" to create_engine()
to adjust how many characters max will be present in dynamically
generated column labels, i.e. "somecolumn AS somelabel". Any
value less than 6 will result in a label of minimal size,
consiting of an underscore and a numeric counter.
The compiler uses the value of dialect.max_identifier_length
as a default. [ticket:1211]
- removed ANON_NAME regular expression, using string patterns now
- _generated_label() unicode subclass is used to indicate generated names
which are subject to truncation
|
| | |
|
| | |
|
| |
|
|
| |
#1198.
|
| |
|
|
| |
differ from sessionmaker(). Closes #1197.
|
| |
|
|
| |
edit on Database Features should close #1145.
|
| |
|
|
| |
instead of descriptor.
|
| | |
|
| |
|
|
| |
(convert_result_value, convert_bind_param).
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
accept a single or list of AttributeExtensions using the
"extension" keyword argument.
- Added a Validator AttributeExtension, as well as a
@validates decorator which is used in a similar fashion
as @reconstructor, and marks a method as validating
one or more mapped attributes.
- removed validate_attributes example, the new methodology replaces it
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
- Fix a few typos/mistakes
- removed trailing whitespaces
- tried to achieve a more consistent syntax for spaces in properties
declaration
|
| |
|
|
|
| |
- Moved @reconstructor hooking to mapper
- Expanded reconstructor tests, docs
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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]
|
| | |
|
| | |
|
| |
|
|
|
| |
- 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.
|
| |
|
|
|
| |
has been removed. For rationale, see
http://groups.google.com/group/sqlalchemy/browse_thread/thread/9e23a0641a88b96d?hl=en
|
| |
|
|
|
|
| |
takes a 'metaclass' arg, defaulting to DeclarativeMeta
renamed 'engine' arg to 'bind', backward compat
documented
|
| | |
|
| | |
|
| |
|
|
| |
on PostgreSQL, SQLite, MySQL, MS-SQL, and Oracle backends.
|
| |
|
|
|
|
|
| |
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]
|
| | |
|
| |
|
|
| |
synonym_for. Closes #1029
|
| | |
|
| |
|
|
|
|
| |
declarative for: order_by,
primaryjoin, secondaryjoin, secondary, foreign_keys, and remote_side.
|
| |
|
|
| |
- clarified autocommit mechanism
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
- realized about declarative that foobar: relation("SomeFutureClass") is not very useful for collections since
we can't set "order_by" there.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|