[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread Gaetan de Menten
On 7/27/07, svilen [EMAIL PROTECTED] wrote: On Friday 27 July 2007 02:45:12 jason kirtland wrote: - Catalog: what is a sqlalchemy's metadata? jason a catalog of tables available in the database. to me it holds everything about the subset of database structure, used in the app. as i have

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread Jonathon Anderson
What popular misunderstanding would that be? I have no problem with any of the terminology from S/A. It all seems unambiguous, and makes sense. Of course, I also studied database theory, relational algebra, and relational calculus at university. ~jon On Jul 27, 5:29 am, avdd [EMAIL PROTECTED]

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread avdd
On Jul 27, 9:45 am, jason kirtland [EMAIL PROTECTED] wrote: This is the last opportunity for terminology changes for a while, so I offer this up for discussion. Does anyone else think orm.relation is wrong? Perhaps relationship if you must have a noun, or relates_to, etc, but relation could

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread svilen
On Friday 27 July 2007 11:44:43 Gaetan de Menten wrote: On 7/27/07, svilen [EMAIL PROTECTED] wrote: On Friday 27 July 2007 02:45:12 jason kirtland wrote: - Catalog: what is a sqlalchemy's metadata? jason a catalog of tables available in the database. to me it holds everything

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread Marco Mariani
svilen ha scritto: Anyway it may depend which audience are u targeting with these names - those who never seen an API or those for which names are important only to associate them with a library/version/use-case... both extremes are equaly uninteresting imo. I think targeting those

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread JP
So here's what I was thinking: datasource = create_datasource('posgresql:///test') connection = datasource.connect() +0 -- I think it's moderately better than engine but for me, not enough to want to change, though I wouldn't mind seeing it changed. catalog = Catalog() Table('foo',

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread jason kirtland
Marco wrote: svilen ha scritto: Anyway it may depend which audience are u targeting with these names - those who never seen an API or those for which names are important only to associate them with a library/version/use-case... both extremes are equaly uninteresting imo. I think

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread Michael Bayer
im more in favor of Datasource, less so for Catalog. i still think Catalog is vague, MetaData is a well known word and we can just describe it really carefully as MetaData is a catalog of tables.. if you read fowlers book it *is* exactly what we are using it as, its information

[sqlalchemy] Re: a renaming proposal

2007-07-27 Thread sdobrev
btw around probing dbcook on 0.4, i got some sort of statistical idea of what is used often, some in a frightening repeatable pattern: from sqlalchemy import * db = create_engine('url') meta = MetaData(db) and just then all else follows... in 90% of my files. i can make some