stardog doc delete Manual Page
NAME
stardog doc delete —Delete documents from the document store.
SYNOPSIS
stardog [ --krb5 ] [ --krb5-disable-rdns ]doc delete [ {-a | --all} ] [ {-p | --passwd} <password> ] [ {-P | --ask-password} ] [ {-u | --username} <username> ] [ {-v | --verbose} ] [--] <database name> <docs>...
OPTIONS
Delete all documents from the document store.
Use the Kerberos environment.
Disable reverse DNS lookup for Kerberos clients.
-p <password>, --passwd <password>
-u <username>, --username <username>
Verbose flag that causes more detailed information to be printed
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
The name of the database or the full connection string of the database to connect to. If only the name is provided, the default server URL will be pre-pended to the name of the database in order to construct the connection string. Connection parameters such as ';reasoning=true' can be included in the provided database name. Connection parameters specified like this can be overridden by specific options on the command. The default server URL will be read from the JVM argument 'stardog.default.cli.server'. If the JVM argument is not set, the default value 'http://localhost:5820' is used. If the server URL has no explicit port value, the default port value '5820' is used. To use a secure connection, you should specify the full connection string and postfix 's' to the protocol, e.g. https. Subsequent arguments are the list of docs to be deleted from the document store.
EXAMPLES
Delete some documents from the document store
$ stardog doc delete myDb doc1.pdf doc2.pdf doc3.pdf
Delete all documents from the document store
$ stardog doc delete myDb --all