So far there is no XQuery function that allows you to create or delete a database. I remember this being a conscious design decision, as creating/deleting a database requires CREATE permissions, but I might be wrong...
Maybe one of my team mates can help me out here?
Cheers, Lukas
On Fri, Nov 4, 2011 at 10:22 AM, Erdal Karaca < erdal.karaca.de@googlemail.com> wrote:
Thanks for the quick reply! Unfortunately, this function needs an existing database. I could not find a function like db:create or the like... How would i create the database, first?
2011/11/4, Lukas Kircher lukaskircher1@googlemail.com:
Hi Erdal,
you could have a look at our BaseX-specific database functions - db:add() [1] might be what you are looking for.
Hope I could help, regards, Lukas
[1] http://docs.basex.org/wiki/Database_Functions#db:add
On Fri, Nov 4, 2011 at 9:54 AM, Erdal Karaca <
erdal.karaca.de@googlemail.com
wrote:
I have set up eclipse XQDT to use basex as interpreter... Now, I need to import a document into a database. Is that possible without using the server commands in a command line? For example some basex specific functions? _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- 1 + 1 = 10