Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | slightly less lame version function | Mike Bayer | 2006-07-11 | 1 | -1/+3 | |
| | ||||||
* | sqlite detects version and disables CAST if version < 3.2.3 | Mike Bayer | 2006-07-11 | 1 | -0/+11 | |
| | | | | | fixes to unittests, mapper extension to work better with setting/unsetting extensions objectstore objects get 'session' attribute | |||||
* | added workaround for funny pragma behavior on windows pysqlite | Mike Bayer | 2006-07-09 | 1 | -0/+4 | |
| | | | | | singletonthreadpool has a dispose() method, used by proxy_engine test to better clean up after itself on windows | |||||
* | added "NonExistentTable" exception throw to reflection, courtesy ↵ | Mike Bayer | 2006-06-06 | 1 | -0/+6 | |
| | | | | lbruno@republico.estv.ipv.pt, for [ticket:138] | |||||
* | exceptions... | Mike Bayer | 2006-05-29 | 1 | -4/+1 | |
| | ||||||
* | merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1 | Mike Bayer | 2006-05-25 | 1 | -47/+41 | |
| | ||||||
* | moves the binding of a TypeEngine object from "schema/statement creation" ↵ | Mike Bayer | 2006-04-06 | 1 | -1/+1 | |
| | | | | time into "compilation" time | |||||
* | added explicit "convert date types to a string in bind params", since ↵ | Mike Bayer | 2006-03-23 | 1 | -0/+5 | |
| | | | | pysqlite1 doesnet seem to do it, operation is synymous with what pysqlite2 does | |||||
* | refactor to engine to have a separate SQLSession object. allows nested ↵ | Mike Bayer | 2006-03-17 | 1 | -0/+3 | |
| | | | | | | | transactions. util.ThreadLocal __hasattr__ method/raise_error param meaningless, removed renamed old engines test to reflection | |||||
* | sqlite likes OFFSET with LIMIT else its buggy | Mike Bayer | 2006-03-06 | 1 | -0/+2 | |
| | ||||||
* | removed the dependency of ANSICompiler on SQLEngine. you can now make ↵ | Mike Bayer | 2006-03-04 | 1 | -1/+1 | |
| | | | | ANSICompilers and compile SQL with no engine at all. | |||||
* | made SchemaEngine more prominent as the base of Table association | Mike Bayer | 2006-03-01 | 1 | -1/+3 | |
| | | | | | | | | | 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 | |||||
* | Merge indexes [1047]:[1048] into trunk (for #6) | Jason Pellerin | 2006-02-26 | 1 | -1/+4 | |
| | ||||||
* | exceptions added | Mike Bayer | 2006-02-19 | 1 | -1/+2 | |
| | | | | | postgres last_inserted_ids will raise an error unless OID's are turned on (INSERT with PK defaults + no OIDs wont fail unless this method is called) | |||||
* | added import for pysqlite1 | Mike Bayer | 2006-02-14 | 1 | -1/+4 | |
| | ||||||
* | streamlined engine.schemagenerator and engine.schemadropper methodology | Mike Bayer | 2006-02-11 | 1 | -2/+6 | |
| | | | | | | 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 | |||||
* | now lets do that properly | Mike Bayer | 2006-02-05 | 1 | -2/+2 | |
| | ||||||
* | error message if pysqlite2 couldnt be imported | Mike Bayer | 2006-02-05 | 1 | -0/+2 | |
| | ||||||
* | Rick Morrison's patch adding Smallint, Date, and Time support ! | Mike Bayer | 2006-02-04 | 1 | -4/+31 | |
| | ||||||
* | column arguments converted to integer | Mike Bayer | 2006-01-13 | 1 | -1/+1 | |
| | ||||||
* | sqlite/postgres reflection will properly add foreign keys | Mike Bayer | 2006-01-08 | 1 | -1/+1 | |
| | | | | | | | added append_item() method to column to work similarly to table.append_item(), used to append foreign keys to the column (required in mysql) appending new foreign keys will properly replace the old one, so explicitly appending foreign keys to tables will replace those loaded via table reflection (instead of doubling them up) | |||||
* | copyright->2005,2006 | Mike Bayer | 2006-01-03 | 1 | -1/+1 | |
| | ||||||
* | remove debugging code | Mike Bayer | 2006-01-03 | 1 | -4/+1 | |
| | ||||||
* | rowid->oid | Mike Bayer | 2006-01-02 | 1 | -1/+1 | |
| | ||||||
* | changed mysql TIMESTAMP->DATETIME | Mike Bayer | 2006-01-02 | 1 | -0/+3 | |
| | | | | | 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 now | Mike Bayer | 2006-01-01 | 1 | -0/+3 | |
| | ||||||
* | added a hook in for 'binary operator', so sqlite can exchange | Mike Bayer | 2005-12-31 | 1 | -1/+5 | |
| | | | | '+' for '||' for a binary clause on a string | |||||
* | license switch | Mike Bayer | 2005-12-31 | 1 | -13/+2 | |
| | ||||||
* | refactoring of execution path, defaults, and treatment of different paramstyles | Mike Bayer | 2005-12-17 | 1 | -2/+1 | |
| | ||||||
* | factored "sequence" execution in postgres in oracle to be generalized to the ↵ | Mike Bayer | 2005-12-16 | 1 | -2/+3 | |
| | | | | | | | | 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 | |||||
* | added rudimentary support for limit and offset (with the hack version in oracle) | Mike Bayer | 2005-12-07 | 1 | -0/+10 | |
| | | | | | fixed up order_by to support a list/scalar of columns or asc/desc fixed up query.py unit test | |||||
* | fallback on importing pysqlite2 | Mike Bayer | 2005-12-06 | 1 | -1/+4 | |
| | ||||||
* | primary_keys => primary_key | Mike Bayer | 2005-12-04 | 1 | -3/+3 | |
| | ||||||
* | Added float type to support real/double precision/float8/etc sql data types. ↵ | Robert Leftwich | 2005-12-01 | 1 | -0/+2 | |
| | | | | Added columns.py as unit test. Modified sqlite.py, postgres.py and mysql.py to use the new type where appropriate (note -Oracle is unchanged at present). | |||||
* | table reflection will default to SLString. default filename added to be ↵ | Mike Bayer | 2005-12-01 | 1 | -2/+2 | |
| | | | | :memory:. | |||||
* | fix to result processing of date types | Mike Bayer | 2005-11-29 | 1 | -2/+8 | |
| | ||||||
* | mysql somewhat present | Mike Bayer | 2005-11-27 | 1 | -15/+8 | |
| | ||||||
* | got round trip for multiple priamry keys to work with table ↵ | Mike Bayer | 2005-11-26 | 1 | -3/+53 | |
| | | | | | | create/reflection (postgres, sqlite) small fix to ORM get with multiple primary keys | |||||
* | (no commit message) | Mike Bayer | 2005-11-16 | 1 | -0/+7 | |
| | ||||||
* | sqlite cant share among threads ! hence a new pool class. | Mike Bayer | 2005-11-06 | 1 | -0/+1 | |
| | ||||||
* | moving sqlite filename into named options | Mike Bayer | 2005-11-05 | 1 | -5/+12 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-11-05 | 1 | -2/+3 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-10-23 | 1 | -2/+2 | |
| | ||||||
* | postgres kickin my ass w00p | Mike Bayer | 2005-10-21 | 1 | -5/+5 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-09-24 | 1 | -4/+2 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-09-24 | 1 | -9/+10 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-09-22 | 1 | -1/+1 | |
| | ||||||
* | more work on the types... | Mike Bayer | 2005-09-22 | 1 | -18/+8 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-09-22 | 1 | -31/+58 | |
| | ||||||
* | (no commit message) | Mike Bayer | 2005-09-22 | 1 | -20/+22 | |
| |