Changes

Jump to navigation Jump to search
1,417 bytes added ,  03:31, 6 May 2011
no edit summary
|-
| valign='top' | '''Errors'''
|The command fails if no database is opened, if one of the documents to be added is not well-formed , or cannot if it could not be parsed for some other reason.
|-
| valign='top' | '''Examples'''
|-
| valign='top' | '''Errors'''
|The command fails if one of the specified database names is invalid, if the target database already exists already, if the source database is does not found exist or is currently locked, or if it cannot could not be renamed for some other reason.
|-
| valign='top' | '''Examples'''
| valign='top' | '''Summary'''
|Creates a copy of the database specified by <code>[name]</code>.
|-
| valign='top' | '''Errors'''
|The command fails if one of the specified database names is invalid, if the target database already exists, if the source database does not exist, or if it could not be renamed for some other reason.
|}
==CREATE DATABASE==
|-
| valign='top' | '''Errors'''
|The command fails if the name of the database is invalid, if a database with the same name is currently pinned, or if one of the documents to be added is not well-formed or cannot could not be parsed for some other reason.
|}
| valign='top' | '''Summary'''
|Creates the specified database index.
|-
| valign='top' | '''Errors'''
|The command fails no database is opened, if the specified index is unknown, or if indexing fails for some other reason.
|}
==CREATE USER==
| valign='top' | '''Summary'''
|Creates a user with the specified <code>[name]</code> and <code>[password]</code>. If no password is specified in the console mode, it is requested via standard input.
|-
| valign='top' | '''Errors'''
|The command fails if the specified user name is invalid, if the user already exists, or if no password has been specified.
|}
==CS==
| valign='top' | '''Summary'''
|Evaluates the specified <code>[query]</code> and sets the result as new context set.
|-
| valign='top' | '''Errors'''
|The command fails if no database is opened, if the specified query is invalid or if it does not return nodes of the currently opened database.
|}
==DELETE==
| valign='top' | '''Summary'''
|Deletes all documents from the currently opened database that start with the specified <code>[path]</code>.
|-
| valign='top' | '''Errors'''
|The command fails if no database is opened.
|}
==DROP BACKUP==
|-
| valign='top' | '''Summary'''
|Drops all backups for of the database with the specified <code>[name]</code>.|-| valign='top' | '''Errors'''|The command fails if the specified database name is invalid.
|}
==DROP DATABASE==
| valign='top' | '''Summary'''
|Drops the database with the specified <code>[name]</code>.
|-
| valign='top' | '''Errors'''
|The command fails if the specified database name is invalid, if the database does not exist or is currently locked, or if the database could not be deleted for some other reason.
|}
==DROP INDEX==
| valign='top' | '''Summary'''
|Drops the specified database index.
|-
| valign='top' | '''Errors'''
|The command fails if no database is opened, if the specified index is unknown, or if it could not be deleted for some other reason.
|}
==DROP USER==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu