| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
on PostgreSQL, SQLite, MySQL, MS-SQL, and Oracle backends.
|
| |
|
|
|
| |
- removed ancient descriptor() functions from dialects; replaced with Dialect.name
- removed similarly ancient sys.modules silliness in Engine.name
|
| |
|
|
| |
(cherry picked from commit 2394a6bb6c5f77afd448640ce03cf6fda0335a23)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
0.4 development continues at /sqlalchemy/branches/rel_0_4
|
| | |
|
| |
|
|
|
|
|
| |
unit tests as part of the default test suite. Added
better uniqueness to the cursor ID [ticket:1001]
- update().values() and insert().values() take keyword
arguments.
|
| |
|
|
|
| |
- MySQL character set caching is more aggressive but will invalidate the cache if a SET is issued.
- MySQL connection memos are namespaced: info[('mysql', 'server_variable')]
|
| |
|
|
|
|
| |
test results showing tuples faster
- changed cache decorator call on default_schema_name call to a connection.info specific one
|
| | |
|
| |
|
|
|
|
| |
"escape=<somestring>", which is set as the escape character
using the syntax "x LIKE y ESCAPE '<somestring>'"
[ticket:993]
|
| | |
|
| |
|
|
|
| |
when used with the ORM, mutable-style equality/
copy-on-write techniques are used to test for changes.
|
| | |
|
| |
|
|
|
|
| |
fetching. Reconnect works for those databases that
raise a catchable data error during results
(i.e. doesn't work on MySQL) [ticket:978]
|
| |
|
|
|
|
| |
like sequences, etc., even if no unicode idents are used
since identifier preparer may return a cached unicode
identifier.
|
| | |
|
| |
|
|
|
| |
compiles to ILIKE on postgres, lower(x) LIKE lower(y)
on all others [ticket:727]
|
| |
|
|
|
|
| |
util.warn() wraps this up.
- SADeprecationWarning has moved to exceptions. An alias remains in logging until 0.5.
|
| | |
|
| |
|
|
| |
[ticket:580]
|
| | |
|
| |
|
|
|
|
|
| |
deprecated until 0.5. The "upgrading" behavior of String to Text
when no length is present is also deprecated until 0.5; will issue a
warning when used for CREATE TABLE statements (String with no length
for SQL expression purposes is still fine) [ticket:912]
|
| |
|
|
| |
embarrasing copypaste error) [ticket:913]
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- cleanup within compiler visit_select(), column labeling
- is_select() removed from dialects, replaced with returns_rows_text(), returns_rows_compiled()
- should_autocommit() removed from dialects, replaced with should_autocommit_text() and
should_autocommit_compiled()
- typemap and column_labels collections removed from Compiler, replaced with single "result_map" collection.
- ResultProxy uses more succinct logic in combination with result_map to target columns
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
e.g. select([x* 5]) produces "SELECT x * 5 AS anon_1".
This allows the labelname to be present in the cursor.description
which can then be appropriately matched to result-column processing
rules. (we can't reliably use positional tracking for result-column
matches since text() expressions may represent multiple columns).
- operator overloading is now controlled by TypeEngine objects - the
one built-in operator overload so far is String types overloading
'+' to be the string concatenation operator.
User-defined types can also define their own operator overloading
by overriding the adapt_operator(self, op) method.
- untyped bind parameters on the right side of a binary expression
will be assigned the type of the left side of the operation, to better
enable the appropriate bind parameter processing to take effect
[ticket:819]
|
| |
|
|
| |
- PG two phase was calling text() without the correct bind param format, previous compiler checkin revealed issue
|
| |
|
|
|
|
| |
also fixes [ticket:833]
- inlining on PG with_returning() call
- extra options added for profiling
|
| | |
|
| |
|
|
|
|
|
|
|
| |
as the "schema" argument in a Table, will assume that this is the the
user's desired convention, and will explicitly set the "schema" argument
in foreign-key-related reflected tables, thus making them match only
with Table constructors that also use the explicit "schema" argument
(even though its the default schema).
In other words, SA assumes the user is being consistent in this usage.
|
| | |
|
| |
|
|
|
|
| |
it does for implicit
transaction starts
|
| |
|
|
| |
opening a new transaction as the dbapi implementations do.
|
| |
|
|
|
|
| |
For some reason implicit transactions are not enough. [ticket:810]
- add an option to scoped session mapper extension to not automatically save new objects to session.
|
| |
|
|
|
| |
- added server_version_info() support for PG dialect
- exclude PG versions < 8.4 for RETURNING tests
|
| |
|
|
| |
couple of corner cases
|
| |
|
|
| |
8.2+. [ticket:797]
|
| | |
|
| |
|
|
| |
using a kwargs attribute on the Index.
|
| |
|
|
| |
- fixed create and drop methods on MockConnection
|
| |
|
|
| |
- a little bit of inlining of same
|
| |
|
|
|
|
| |
result-row holding
statement (i.e. in addition to "SELECT").
|
| | |
|
| |
|
|
| |
preexecute_sequence dialect attribute
|