Re: [basex-talk] Creating db in restxq interface

2016-05-23 Thread Henning Phan
y 2016 14:24:34 +0200 > Subject: Re: [basex-talk] Creating db in restxq interface > To: henningp...@hotmail.com > CC: basex-talk@mailman.uni-konstanz.de > > Hi Henning, > > > db:create("test", "5GB.xml") > > You could try to set the ADDCACHE option:

Re: [basex-talk] Creating db in restxq interface

2016-05-23 Thread Christian Grün
Grun) > > > >> From: christian.gr...@gmail.com >> Date: Sun, 22 May 2016 12:32:17 +0200 >> Subject: Re: [basex-talk] Creating db in restxq interface >> To: henningp...@hotmail.com >> CC: basex-talk@mailman.uni-konstanz.de >> >> Hi Henning, >>

Re: [basex-talk] Creating db in restxq interface

2016-05-22 Thread Christian Grün
Hi Henning, The XQuery Update specification does not allow users to mix updating expressions and return data at the same time. The slides of Arve and Sabine (see [1]) will give you some hints how updates are usually performed in RESTXQ contexts. The slides are from 2013, and some convenience

Re: [basex-talk] Creating db in restxq interface

2016-05-21 Thread Bram Vanroy | KU Leuven
:open('factbook')//continent/@name return { data($result) } } { db:create("test") } Van: basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] Namens Henning Phan Verzonden: zaterdag 21 mei 2016 19:03

[basex-talk] Creating db in restxq interface

2016-05-21 Thread Henning Phan
Hi, My question is how do you create a new database in restxq?When trying to create a db I get the error msg:HTTP Error 400[XUST0001] element constructor: no updating expression allowed.Some digging around and I learned that I might need the "updating" annotation though even after the change it