Thanks Jens for the quick response, I really appreciate it. 

There are a few issues that trouble a newbie like me ....

1.  What are resources? How are they counted?


> create database IVS
       Database 'IVS' created in 106.53 ms.
> list
      name  Resources  Size     Input Path
      ------------------------------------------------------
      IVS   1          4578
      test  2          1837327  C:/Program Files (x86)/BaseX

     2   Databases.
 > list IVS
Input Path  Type  Content-Type  Size
------------------------------------

0 Resources.

 NOTE : 'LIST' command said 1 resource, while 'LIST IVS' said 0 resource.

2. In the documentation, it seems that documents and resources are synonymous. 

> help list
LIST ([path])
  List databases or documents in database.

These are minor things. I'm off to a good start. I just wanted to mention them, 
in case someone else comes looking.

Thanks for your help!

Anupam




________________________________
 From: Jens Erat <[email protected]>
To: Anupam Bakshi <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Saturday, May 19, 2012 8:04 AM
Subject: Re: [basex-talk] List all documents in a database
 
Hi Anupam,

you're probably locking for `LIST` and `DELETE`, also have a look at the 
[Commands documentation] in our wiki.

If there are still open questions, don't hesitate to ask again.

Kind regards from Lake Constance, Germany,
Jens Erat

[Commands documentation]: http://docs.basex.org/wiki/Commands

-- 
Jens Erat

[phone]: tel:+49-151-56961126
  [mail]: mailto:[email protected]
[jabber]: xmpp:[email protected]
   [web]: http://www.jenserat.de

     PGP: 350E D9B6 9ADC 2DED F5F2  8549 CBC2 613C D745 722B



Am 19.05.2012 um 14:01 schrieb Anupam Bakshi:

> Hello,
>   I'm new to BaseX and XQuery, I wonder if someone can help with a simple 
>question.
> 
>   I have added several documents to a BaseX database. Now I want to list and 
>delete them.
>   I didn't see commands to do that in the BaseX client 7.2.1.
> 
>   Any pointer or help will help me in understanding.
> 
> Thanks,
> Anupam
> _______________________________________________
> BaseX-Talk mailing list
> [email protected]
> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
_______________________________________________
BaseX-Talk mailing list
[email protected]
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Reply via email to