Hi Fabrice,

> Now that we can execute commands within xquery on a remote server,
> it would be strange to have to connect to the local server in order to 
> execute commands locally.

Right; while this is generally possible, it's nothing I would
recommended (similar to the use of util:eval()).

> Are you considering adding this possibility directly in Xquery - for example 
> in the db module, with a db:execute function ?

It could probably be implemented in less than an hour, but it would
cause lots of problems that would cost us much more time.. Instead
we'll be gradually complementing the existing db module with the still
missing commands.

Which ones – except for db:create() – are you missing most?

> Are client:execute and client:query updating functions ?

Nope, as they are tailored to run on a different server. The specified
query may be updating, though.

Christian
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to