+1 for Schema - collection of SA Tables that belong to a single database
+0 for schemaname - Table parameter denoting database-level schema

Alternative for "schemaname": "dbschema". This differentiates between the SA 
Schema (application layer) and the dbschema (database layer).

~ Daniel

Michael Bayer wrote:

Schema   (conflicts with "schema" parameter, though that could just change
to "schemaname")

VirtualSchema   (sounds goofy)
Domain         (conflicts with "set of all permitted atomic values" def)
SQLDomain      (ditto)
Model          (conflicts with the application's model)
SQLModel       (sounds weird)
RelationalModel (reaching)
TableSpace    (oracle folks may dislike)

the changes afoot are actually big enough that a switch of "schema='foo'"
to "schemaname='foo'" is not the end of the world.  Hold off on the
Oreilly book press please (what animal would a SQLAlchemy be anyway ?) !

possible types of Schema:

Schema(name) - a place to put your tables.   no engines are in use,
explicit Connections must be used to do things.

BoundSchema(name, engine_or_url) - a place to put your tables, that can
bind to an engine.  SQL operations derived from SchemaItems bound to this
Schema will be automatically bound to the underlying Engine if not
overridden.

DynamicSchema(name, threadlocal=True) - a place to put your tables, that
binds to an engine, that has a connect() method that uses a particular
engine on a thread-local basis









-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to