Revision [1286]

Last edited on 2010-03-01 15:03:03 by DavidLee
Additions:
This can produce a very large output as it includes ALL documents in the database.
To limit documents to a single directory use
ml:list /Dir/


Revision [1285]

Edited on 2010-03-01 15:02:05 by DavidLee
Additions:
# list
elif [ "$1" = "-r" ] ; then
shift ;
:query -q <{{
for $d in xdmp:directory($dir,"infinity")/base-uri()
order by $d
return $d
:query -q <{{
for $d in xdmp:directory($dir)/base-uri()
order by $d
return $d
Deletions:
:query -q <{{
xdmp:directory($dir)/base-uri()


Revision [1284]

Edited on 2010-03-01 14:59:46 by DavidLee
Additions:
list [options] [directory ...]
||-c,-connect uri||Use the connection string instead of $MLCONNECT||
||-r||recurse||
||directory||Optional directory to list||
ml:list
Deletions:
list [-c uri|-connect uri] [directory ...]
||-connect uri
-c uri|| Use the connection string instead of $MLCONNECT||
$ ml:list


Revision [971]

Edited on 2009-11-25 04:57:18 by DavidLee
Additions:
||-connect uri
-c uri|| Use the connection string instead of $MLCONNECT||
To list directories in a directory see [[MarkLogicListdir listdir]]
Deletions:
-connect uri
-c uri Use the connection string instead of $MLCONNECT


Revision [970]

The oldest known version of this page was created on 2009-11-25 04:55:48 by DavidLee
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki