summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Tabs to spacesRobert Leftwich2006-01-291-2/+2
|
* Reworked RowProxy to restore column order preservation and to remove some ↵Robert Leftwich2006-01-291-23/+10
| | | | dictionary-like behaviour that was unnecessary and caused breakage in existing code. Added tests for column preservation.
* Added __len__ to RowProxy to allow len(r) and test for same.Robert Leftwich2006-01-291-0/+2
|
* RowProxy changes - added keys(), used keys() to add more dictionary-like ↵Robert Leftwich2006-01-281-8/+24
| | | | behaviour (values(), iteritems(), iterkeys(), etc). Made parent and row private. Modified tests that used RowProxy.row to use values().
* ai more reasonable hash_key that works across serializationsMike Bayer2006-01-261-0/+5
| | | | might want to get the DB password out of it tho....
* Added column accessor to RowProxy, tests and note in documentation for same.Robert Leftwich2006-01-251-1/+5
|
* added some echo arguments for uow, pool, propigated from the engineMike Bayer2006-01-211-3/+4
|
* added explicit bind parameters and column type maps to text typeMike Bayer2006-01-201-0/+4
| | | | | | | | | text type also parses :<string> into bind param objects bind parameters convert their incoming type using engine.type_descriptor() methods types.adapt_type() adjusted to not do extra work with incoming types, since the bind param change will cause it to be called a lot more added tests to new text type stuff, bind params, fixed some type tests added basic docs for using text with binde params
* dispose() added to pool/engine to allow engines to fall out of scopeMike Bayer2006-01-181-0/+5
|
* misc commenty type stuffMike Bayer2006-01-081-0/+3
|
* copyright->2005,2006Mike Bayer2006-01-031-1/+1
|
* type objects pass engine around to get a hold of DBAPI type objectsMike Bayer2006-01-031-2/+3
| | | | | | added dbapi.Binary creation to base BinaryType fixed MySQL binary type adjustment to Join._match_primaries to work better with self-referential table
* rowid->oidMike Bayer2006-01-021-2/+2
|
* changed mysql TIMESTAMP->DATETIMEMike Bayer2006-01-021-1/+2
| | | | | fixed up date unit test RowProxy __iter__ properly routes columns through type processing
* factoring out mysql's rowid stuff since its down in the base engine class nowMike Bayer2006-01-011-1/+1
|
* rowid_column becomes more like the "order by column". 'default_ordering' ↵Mike Bayer2006-01-011-2/+3
| | | | | | flag sent to create_engine enables whether or not the rowid_column on a Table will be None or not. mappers/relations will by default use the rowid_column for ordering if its not None, else theres no default ordering. still should better define 'default_ordering'/'rowid_column' relationship since its a little kludgy.
* postgres oids say byebye by default, putting hooks in for engines to ↵Mike Bayer2006-01-011-5/+9
| | | | determine column defaults externally to it having a 'default' property, beefed up unittests to support inserts with/without defaults (will fix oracle unit tests too)
* fix to ansisql when it tries to determine param-based select clause that itsMike Bayer2005-12-311-9/+19
| | | | | only on a column-type object engine has settable 'paramstyle' attribute
* license switchMike Bayer2005-12-311-13/+2
|
* reworking concept of column lists, "FromObject", "Selectable";Mike Bayer2005-12-301-2/+4
| | | | | | | | support for types to be propigated into boolean expressions; new label() function/method to make any column/literal/function/bind param into a "foo AS bar" clause, better support in ansisql for this concept; trying to get column list on a select() object to be Column and ColumnClause objects equally, working on mappers that map to those select() objects
* arg fix in create_engineMike Bayer2005-12-241-2/+1
|
* docstringsMike Bayer2005-12-241-21/+157
|
* move execute parameter processing from sql.ClauseElement to ↵Mike Bayer2005-12-231-4/+11
| | | | | | | | | engine.execute_compiled testbase gets "assert_sql_count" method, moves execution wrapping to pre_exec to accomodate engine change move _get_colparams from Insert/Update to ansisql since it applies to compilation ansisql also insures that select list for columns is unique, helps the mapper with the "distinct" keyword docstrings/cleanup
* fix to parameter thing in insertMike Bayer2005-12-201-1/+1
| | | | added unicodetype to __all__ for types
* refactoring of execution path, defaults, and treatment of different paramstylesMike Bayer2005-12-171-35/+94
|
* factored "sequence" execution in postgres in oracle to be generalized to the ↵Mike Bayer2005-12-161-25/+59
| | | | | | | | SQLEngine, to also allow space for "defaults" that may be constants, python functions, or SQL functions/statements Sequence schema object extends from a more generic "Default" object ANSICompiled can convert positinal params back to a dictionary, but the whole issue of parameters and how the engine executes compiled objects with parameters should be revisited mysql has fixes for its "rowid_column" being hidden else it screws up some query construction, also will not use AUTOINCREMENT unless the column is Integer
* rethinking sequences model to allow any default valuesMike Bayer2005-12-151-1/+37
|
* echo can now be False, True or 'debug'. result sets are printed only if echo ↵Mike Bayer2005-12-121-2/+2
| | | | is 'debug'.
* primary_keys => primary_keyMike Bayer2005-12-041-1/+1
|
* added string-based URLS to create connectionsMike Bayer2005-12-031-1/+9
|
* more tweaks to import schemeMike Bayer2005-11-301-0/+2
|
* migrated __ALL__ to __all__, oops, and reworked moduleMike Bayer2005-11-301-1/+1
| | | | import scheme
* strips possible schema/table info from a column name returned in cursor metadataMike Bayer2005-11-281-3/+5
|
* rowcount doesnt work on MySQL, so disabled concurrency check with mysqlMike Bayer2005-11-271-0/+4
|
* docstring maintenanceMike Bayer2005-11-101-35/+53
|
* moving sqlite filename into named optionsMike Bayer2005-11-051-0/+8
|
* (no commit message)Mike Bayer2005-11-051-1/+2
|
* (no commit message)Mike Bayer2005-11-011-1/+7
|
* (no commit message)Mike Bayer2005-10-311-1/+1
|
* (no commit message)Mike Bayer2005-10-311-1/+5
|
* (no commit message)Mike Bayer2005-10-271-11/+21
|
* (no commit message)Mike Bayer2005-10-271-3/+9
|
* (no commit message)Mike Bayer2005-10-231-6/+48
|
* (no commit message)Mike Bayer2005-10-231-19/+30
|
* (no commit message)Mike Bayer2005-10-231-2/+2
|
* (no commit message)Mike Bayer2005-10-231-3/+5
|
* (no commit message)Mike Bayer2005-10-231-8/+0
|
* (no commit message)Mike Bayer2005-10-231-0/+8
|
* sequences, oracleMike Bayer2005-10-231-4/+6
|
* oids rows insert sort orders galoreMike Bayer2005-10-221-0/+4
|