summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/sqlite.py
Commit message (Collapse)AuthorAgeFilesLines
...
* slightly less lame version functionMike Bayer2006-07-111-1/+3
|
* sqlite detects version and disables CAST if version < 3.2.3Mike Bayer2006-07-111-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 pysqliteMike Bayer2006-07-091-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 Bayer2006-06-061-0/+6
| | | | lbruno@republico.estv.ipv.pt, for [ticket:138]
* exceptions...Mike Bayer2006-05-291-4/+1
|
* merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1Mike Bayer2006-05-251-47/+41
|
* moves the binding of a TypeEngine object from "schema/statement creation" ↵Mike Bayer2006-04-061-1/+1
| | | | time into "compilation" time
* added explicit "convert date types to a string in bind params", since ↵Mike Bayer2006-03-231-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 Bayer2006-03-171-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 buggyMike Bayer2006-03-061-0/+2
|
* removed the dependency of ANSICompiler on SQLEngine. you can now make ↵Mike Bayer2006-03-041-1/+1
| | | | ANSICompilers and compile SQL with no engine at all.
* made SchemaEngine more prominent as the base of Table associationMike Bayer2006-03-011-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 Pellerin2006-02-261-1/+4
|
* exceptions addedMike Bayer2006-02-191-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 pysqlite1Mike Bayer2006-02-141-1/+4
|
* streamlined engine.schemagenerator and engine.schemadropper methodologyMike Bayer2006-02-111-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 properlyMike Bayer2006-02-051-2/+2
|
* error message if pysqlite2 couldnt be importedMike Bayer2006-02-051-0/+2
|
* Rick Morrison's patch adding Smallint, Date, and Time support !Mike Bayer2006-02-041-4/+31
|
* column arguments converted to integerMike Bayer2006-01-131-1/+1
|
* sqlite/postgres reflection will properly add foreign keysMike Bayer2006-01-081-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,2006Mike Bayer2006-01-031-1/+1
|
* remove debugging codeMike Bayer2006-01-031-4/+1
|
* rowid->oidMike Bayer2006-01-021-1/+1
|
* changed mysql TIMESTAMP->DATETIMEMike Bayer2006-01-021-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 nowMike Bayer2006-01-011-0/+3
|
* added a hook in for 'binary operator', so sqlite can exchangeMike Bayer2005-12-311-1/+5
| | | | '+' for '||' for a binary clause on a string
* license switchMike Bayer2005-12-311-13/+2
|
* refactoring of execution path, defaults, and treatment of different paramstylesMike Bayer2005-12-171-2/+1
|
* factored "sequence" execution in postgres in oracle to be generalized to the ↵Mike Bayer2005-12-161-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 Bayer2005-12-071-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 pysqlite2Mike Bayer2005-12-061-1/+4
|
* primary_keys => primary_keyMike Bayer2005-12-041-3/+3
|
* Added float type to support real/double precision/float8/etc sql data types. ↵Robert Leftwich2005-12-011-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 Bayer2005-12-011-2/+2
| | | | :memory:.
* fix to result processing of date typesMike Bayer2005-11-291-2/+8
|
* mysql somewhat presentMike Bayer2005-11-271-15/+8
|
* got round trip for multiple priamry keys to work with table ↵Mike Bayer2005-11-261-3/+53
| | | | | | create/reflection (postgres, sqlite) small fix to ORM get with multiple primary keys
* (no commit message)Mike Bayer2005-11-161-0/+7
|
* sqlite cant share among threads ! hence a new pool class.Mike Bayer2005-11-061-0/+1
|
* moving sqlite filename into named optionsMike Bayer2005-11-051-5/+12
|
* (no commit message)Mike Bayer2005-11-051-2/+3
|
* (no commit message)Mike Bayer2005-10-231-2/+2
|
* postgres kickin my ass w00pMike Bayer2005-10-211-5/+5
|
* (no commit message)Mike Bayer2005-09-241-4/+2
|
* (no commit message)Mike Bayer2005-09-241-9/+10
|
* (no commit message)Mike Bayer2005-09-221-1/+1
|
* more work on the types...Mike Bayer2005-09-221-18/+8
|
* (no commit message)Mike Bayer2005-09-221-31/+58
|
* (no commit message)Mike Bayer2005-09-221-20/+22
|