>>Sure; the database you've created most recently will further be available
as current "database context<<

I've created 2 database with the same context. After making changes to the
first database, I exported the whole database, but I could not see the
changes. I have no problem with the second database. Is the same context
the reason?

An



On Thu, May 31, 2012 at 4:01 PM, Christian Grün
<[email protected]>wrote:

> > Can I use a Context object to create more than one database?
> >
> > For example:
> > new CreateDB("db1","c:\db1").execute(this.Context);
> > new CreateDB("db2","c:\db2").execute(this.Context);
>
> Sure; the database you've created most recently will further be
> available as current "database context"; i.e., after having performed
> the two create commands, the following queries will yield the same
> result:
>
>  new XQuery("db:open('db2')").execute(this.Context);
>  new XQuery("/").execute(this.Context);
>
> Christian
>
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to