Commit 54b6e14c authored by Jim Fulton's avatar Jim Fulton

The databasesFrom... methods now support multiple databases.

This changed the schema, so we have to use the schema
differently. Presumably the schema is private.
parent 11a251d3
......@@ -181,7 +181,7 @@ Now get a `ZConfig` factory from `config2`:
The desired ``databases`` mapping can be passed to this factory:
>>> db2 = factory.open(databases=db.databases)
>>> db2 = factory[0].open(databases=db.databases)
>>> print db2.database_name # has the right name
another_name
>>> db.databases is db2.databases # shares .databases with `db`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment