Optional
collectionThe collection to run the command on.
If not provided, the command will run on the keyspace, or directly on the database if keyspace
is null
.
Only one of this or RunCommandOptions.table should be provided.
Optional
extraA small string to add to the log message for this command (only if you're printing to stdout
/stderr
using LoggingConfig).
Optional
keyspaceOverrides the keyspace to run the command on.
If undefined/not provided, the command will run on the db's default working keyspace.
This may be set to null
to run the command directly on the database.
Optional
maxThis temporary error-ing property exists for migration convenience, and will be removed in a future version.
maxTimeMS
option is no longer available; the timeouts system has been overhauled, and timeouts should now be set using timeout
, and defaults in timeoutDefaults
. You may generally Ctrl+R replace maxTimeMS
with timeout
to retain the same behavior.Optional
namespaceThis temporary error-ing property exists for migration convenience, and will be removed in a future version.
namespace
terminology has been removed, and replaced with keyspace
throughout the client.Optional
tableThe collection to run the command on.
If not provided, the command will run on the keyspace, or directly on the database if keyspace
is null
.
Only one of this or RunCommandOptions.table should be provided.
Optional
timeoutThe method timeout override.
See TimeoutDescriptor for much more information.
Options for executing some arbitrary command.
See
Db.command