summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/information_schema.py
Commit message (Collapse)AuthorAgeFilesLines
* merge 0.6 series to trunk.Mike Bayer2009-08-061-193/+0
|
* Modified information_schema change to keep it backwards compatible.Michael Trier2009-03-291-60/+180
|
* Corrected problem with information schema not working with binary collation ↵Michael Trier2009-03-271-170/+60
| | | | on mssql. Fixes #1343.
* Merge branch 'collation'Michael Trier2008-12-231-0/+1
|
* Columns now have default= and server_default=. PassiveDefault fades away.Jason Kirtland2008-05-141-16/+15
|
* r4695 merged to trunk; trunk now becomes 0.5.Mike Bayer2008-05-091-6/+6
| | | | 0.4 development continues at /sqlalchemy/branches/rel_0_4
* Removed DefaultDialect.ischema and information_schema's ISchema (which ↵Jason Kirtland2007-09-071-20/+0
| | | | incidentally had a 'toengine' in it...)
* engine.table_names()Jonathan Ellis2007-07-291-0/+5
| | | | tested vs sqlite and pg. mssql should also be ok (uses ischema like pg.) others are best-guess based on has_table code.
* merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to ↵Mike Bayer2007-07-271-5/+8
| | | | maintenance branch in branches/rel_0_3.
* Merged reference fixes from r2986Jason Kirtland2007-07-191-19/+13
|
* migrated (most) docstrings to pep-257 format, docstring generator using ↵Mike Bayer2007-02-251-0/+1
| | | | | | straight <pre> + trim() func for now. applies most of [ticket:214], compliemnts of Lele Gaifax
* - a fair amount of cleanup to the schema package, removal of ambiguousMike Bayer2006-10-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | methods, methods that are no longer needed. slightly more constrained useage, greater emphasis on explicitness. - table_iterator signature fixup, includes fix for [ticket:288] - the "primary_key" attribute of Table and other selectables becomes a setlike ColumnCollection object; is no longer ordered or numerically indexed. a comparison clause between two pks that are derived from the same underlying tables (i.e. such as two Alias objects) can be generated via table1.primary_key==table2.primary_key - append_item() methods removed from Table and Column; preferably construct Table/Column/related objects inline, but if needed use append_column(), append_foreign_key(), append_constraint(), etc. - table.create() no longer returns the Table object, instead has no return value. the usual case is that tables are created via metadata, which is preferable since it will handle table dependencies. - added UniqueConstraint (goes at Table level), CheckConstraint (goes at Table or Column level) fixes [ticket:217] - index=False/unique=True on Column now creates a UniqueConstraint, index=True/unique=False creates a plain Index, index=True/unique=True on Column creates a unique Index. 'index' and 'unique' keyword arguments to column are now boolean only; for explcit names and groupings of indexes or unique constraints, use the UniqueConstraint/Index constructs explicitly. - relationship of Metadata/Table/SchemaGenerator/Dropper has been improved so that the schemavisitor receives the metadata object for greater control over groupings of creates/drops. - added "use_alter" argument to ForeignKey, ForeignKeyConstraint, but it doesnt do anything yet. will utilize new generator/dropper behavior to implement.
* fixed reflection of foreign keys to autoload the referenced tableMike Bayer2006-07-221-0/+2
| | | | | if it was not loaded already, affected postgres, mysql, oracle. fixes the latest in [ticket:105]
* overhaul to schema, addition of ForeignKeyConstraint/Mike Bayer2006-07-141-24/+32
| | | | | | | | 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.
* fixed bug where tables with schema name werent getting indexed in metadata ↵Mike Bayer2006-06-061-9/+9
| | | | correctly
* added "NonExistentTable" exception throw to reflection, courtesy ↵Mike Bayer2006-06-061-1/+6
| | | | lbruno@republico.estv.ipv.pt, for [ticket:138]
* merged 0.2 branch into trunk; 0.1 now in sqlalchemy/branches/rel_0_1Mike Bayer2006-05-251-28/+30
|
* merged Rick Morrison / Runar Petursson's MS-SQL module, with adjustments to ↵Mike Bayer2006-04-031-0/+12
| | | | alias schema-qualified Table objects
* 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.
* 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)
* modified query that uses JOIN keyword explicitly. a user gets much better ↵Mike Bayer2006-02-171-3/+1
| | | | performance with it (though I dont)
* more hammering of defaults. ORM will properly execute defaults and ↵Mike Bayer2006-02-111-1/+1
| | | | post-fetch rows that contain passive defaults
* streamlined engine.schemagenerator and engine.schemadropper methodologyMike Bayer2006-02-111-3/+8
| | | | | | 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
* added ISchema object to engine/information_schema, provides somewhat generic ↵Mike Bayer2006-02-041-0/+33
| | | | information_schema access for db's that support it, i.e. postgres, mysql 5
* sqlite/postgres reflection will properly add foreign keysMike Bayer2006-01-081-1/+2
| | | | | | | 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)
* migrated __ALL__ to __all__, oops, and reworked moduleMike Bayer2005-11-301-0/+1
| | | | import scheme
* mysql somewhat presentMike Bayer2005-11-271-0/+132