| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- Removed string manipulation on floats. Float types are now passed through
to mssql as is.
- Fixes #1280
|
| | |
|
| |
|
|
|
|
| |
to originate from the DBAPI layer.
Moved those error throws to CompileError/InvalidRequestError.
|
| |
|
|
|
|
|
| |
of savepoint_release, which is unsupported on mssql.
The way it was being discarded previously resulted in an empty execute being
called on the dialect; adodbapi didn't like that much.
|
| |
|
|
|
|
|
| |
This corrects a problem where we were trying to call execute on the Connection
object instead of against the cursor. This is supported on pyodbc but not in
the DBAPI. Overrode the behavior in pymssql to not do special do_begin
processing on that dialect.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
- Added new MSSmallDateTime, MSDateTime2, MSDateTimeOffset, MSTime types
- Refactored the Date/Time types. The smalldatetime data type no longer
truncates to a date only, and will now be mapped to the MSSmallDateTime
type. Closes #1254.
|
| |
|
|
| |
schema. unit test TBD.
|
| | |
|
| | |
|
| |
|
|
|
| |
from being received; thanks a ton to huddlej at wwu.edu !
[ticket:1265]
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
to "%%".
Because of the backwards incompatible nature of this change,
a warning is emitted if '%%' is detected in the string. [ticket:1267]
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
This corrects the savepoint tests.
|
| |
|
|
| |
workaround for the pyodbc dbapi.
|
| |
|
|
| |
the pyodbc dialect.
|
| |
|
|
|
| |
This is used for encoding the column name when processing the metadata. This
usually defaults to utf-8.
|
| |
|
|
| |
- some typos
|
| |
|
|
|
|
|
| |
subclasses Unicode so that convert_unicode=True by default.
NVARCHAR2 reflects into this type automatically so
these columns pass unicode on a reflected table with no explicit
convert_unicode=True flags. [ticket:1233]
|
| |
|
|
|
|
| |
This maps to the Binary type so it can implement the specialized behavior of
treating length specified types as fixed-width Binary types and non-length
types as an unbound variable length Binary type.
|
| |
|
|
| |
the PK.
|
| | |
|
| |
|
|
|
|
| |
- Added in new types: MSVarBinary and MSImage
- Modified MSBinary to now return BINARY instead of IMAGE. This is a
backwards incompatible change. Closes #1249.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
their referenced column, even if the column
was given a "key" attribute different from
the reflected name. This is achieved via a
new flag on ForeignKey/ForeignKeyConstraint
called "link_to_name", if True means the given
name is the referred-to column's name, not its
assigned key.
[ticket:650]
- removed column types from sqlite doc, we
aren't going to list out "implementation" types
since they aren't significant and are less present
in 0.6
- mysql will report on missing reflected foreign
key targets in the same way as other dialects
(we can improve that to be immediate within
reflecttable(), but it should be within
ForeignKeyConstraint()).
- postgres dialect can reflect table with
an include_columns list that doesn't include
one or more primary key columns
|
| | |
|
| |
|
|
| |
in user. Thanks Randall Smith. Fixes #1258.
|
| |
|
|
|
| |
great patch we long neglected, submitted by
Ken Kuhlman. [ticket:714]
|
| | |
|
| |
|
|
|
|
| |
Includes simplifying the IDENTITY handling and the exception handling. Also
includes a cleanup of the connection string handling for pyodbc to favor
the DSN syntax.
|
| |
|
|
| |
during reflection. [ticket:1241]
|
| |
|
|
| |
with a more succinct "dialect.execution_ctx_cls" member
|
| |
|
|
|
|
| |
__setslice__ related warnings
I don't really know how to get rid of
|
| |
|
|
|
|
|
|
| |
testing issues,
and also addresses a significant chunk of py3k deprecations. It's mainly
expicit __hash__ methods. Additionally, most usage of sets/dicts to store columns uses
util-based placeholder names.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a private method. Subclassing Connection
is not needed now that ConnectionProxy
is available.
- tightened the interface for the various _execute_XXX()
methods to reduce ambiguity
- __distill_params() no longer creates artificial [{}] entry,
blank dict is no longer passed through to do_execute()
in any case unless explicitly sent from the outside
as in connection.execute("somestring"), {})
- fixed a few old sql.query tests which were doing that
- removed needless do_execute() from mysql dialect
- fixed charset param not properly being sent to
_compat_fetchone() in mysql
|
| |
|
|
|
|
| |
- sqlite module documentation
- some corrections to pool docs
- the example in URL.translate_connect_args() never made any sense anyway so removed it
|
| |
|
|
|
|
| |
database's configured default.
The default Column configuration (nullable=True) will now generate NULL in the DDL. Previously no specification was emitted and the database default would take effect (usually NULL, but not always). To explicitly request the database default, configure columns with nullable=None and no specification will be emitted in DDL. Fixes #1243.
|
| | |
|
| |
|
|
| |
failing savepoint related tests.
|
| |
|
|
|
|
| |
- insert/update/delete are documented generatively
- values({}) is no longer deprecated, thus enabling
unicode/Columns as keys
|