| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
| |
with use_information_schema=True argument to create_engine
[ticket:60], [ticket:71]
- added natural_case argument to Table, Column, semi-experimental
flag for use with table reflection to help with quoting rules
[ticket:155]
|
|
|
|
|
|
|
| |
turned on for individual table, schema, and column identifiers when
used in all queries/creates/drops. Enabled via "quote=True" in
Table or Column, as well as "quote_schema=True" in Table. Thanks to
Aaron Spike for his excellent efforts. [ticket:155]
|
|
|
|
| |
"engine" is deprecated. fixes [ticket:255]
|
| |
|
| |
|
|
|
|
| |
some 0.2.6 prep
|
| |
|
|
|
|
|
|
|
|
| |
PrimaryKeyConstraint objects (also UniqueConstraint not
completed yet). table creation and reflection modified
to be more oriented towards these new table-level objects.
reflection for sqlite/postgres/mysql supports composite
foreign keys; oracle/mssql/firebird not converted yet.
|
|
|
|
|
|
| |
SessionContext
DynamicMetaData checks first for _engine before returning
|
|
|
|
|
| |
ForeignKey is more intelligent about locating the parent table it represents, in the case that
its attached to a CompoundSelect column which has multiple "originals", some of which might not be schema.Columns
|
|
|
|
| |
correctly
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
created AbstractEngine class which provides base for SQLEngine and will also
provide base for ConnectionProxy, so SQL binding can be to an engine or specific
connection resource
ClauseElements get using() method which can take AbstractEngines for execution
made more separation between SchemaItems and bound engine
|
|
|
|
| |
time into "compilation" time
|
|
|
|
| |
alias schema-qualified Table objects
|
|
|
|
|
|
|
|
|
|
|
| |
more intelligent bind parameter dictionary that does type conversions late and preserves the unconverted value; used to fix mappers not comparing correct value in post-fetch [ticket:110]
removed pre_exec assertion from oracle/firebird regarding "check for sequence/primary key value"
fix to Unicode type to check for null, fixes [ticket:109]
create_engine() now uses genericized parameters; host/hostname, db/dbname/database, password/passwd, etc. for all engine connections
fix to select([func(column)]) so that it creates a FROM clause to the column's table, fixes [ticket:111]
doc updates for column defaults, indexes, connection pooling, engine params
unit tests for the above bugfixes
|
|
|
|
| |
improvement to Function so that they can more easily be called standalone without having to throw them into a select().
|
| |
|
| |
|
|
|
|
|
| |
test suite uses BaseProxyEngine as a base for the tester engine
documented global proxy engine
|
|
|
|
|
|
|
|
|
| |
BaseProxyEngine descends from SchemaEngine
fixes to sqlite/postgres reflection to use the correct engine for table lookups
Table engine can be none which will default to schema.default_engine (although its
still positional for now, so still needs to be explicit to make room for Columns)
__init__ sets default_engine to be a blank ProxyEngine
fixes to test suite to allow --db proxy.<dbname> to really test proxyengine
|
| |
|
|
|
|
| |
create()'ed in one line
|
|
|
|
|
| |
clause elements including tables and columns, schema package deals with "physical"
representations
|
|
|
|
| |
only 994 times
|
|
|
|
| |
getting messed up by late add_property() calls
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this includes:
sql.Alias object keeps track of the immediate thing it aliased as well
as the ultimate non-aliased (usually a Table) object, so that proxied columns can have
a "parent" attribute
some cleanup to SelectBaseMixin.order_by_clause to allow easier access, needs more cleanup
engine has been making two ResultProxies all this time, added "return_raw" quickie flag to
disable that
some cleanup to _get_col_by_original so that it also works for oid columns, new eager load stuff
more aggressively aliaseses orderby's so this was needed
EagerLoader now makes "chains" of unique aliased eager loaders in all cases. no need for
use_alias/selectalias anymore since it aliases every time.
properly detects recursive eager loads and terminates them with a lazyloader, instead of
raising an exception. totally simplified setup() and init() is more straightforward and has
a single codepath now instead of two or three.
|
| |
|
|
|
|
|
|
| |
slightly different index syntax for mysql
fixed mysql Time type to convert from a timedelta to time
tweaks to date unit tests for mysql
|
| |
|
|
|
|
|
|
| |
added support for creating PassiveDefault (i.e. regular DEFAULT) on table columns
postgres can reflect default values via information_schema
added unittests for PassiveDefault values getting created, inserted, coming back in result sets
|
|
|
|
|
|
| |
to add a "post table create" string
mysql gets mysql_engine argument
InnoDB set as default in engines test
|
|
|
|
| |
fetch the most recently inserted row if a table has PassiveDefault's set on it
|
| |
|
|
|
|
| |
fixed superfluous codeline in ForeignKey
|
|
|
|
| |
might want to get the DB password out of it tho....
|
| |
|
|
|
|
| |
being reflected into new Column. Added test for same. Removed reference to non-existant columns test from list of tests in alltests.
|
| |
|
| |
|
|
|
|
| |
Replaced use of repr() with custom identifiers in identity related areas to improve performance
|
| |
|