Optional
collectionThe collection to run the command on. If not provided, the command is run on the database.
Optional
keyspaceThe keyspace to use for the db operation.
Optional
maxThe maximum time to wait for a response from the server, in milliseconds.
Optional
namespaceThe keyspace to use for the db operation.
This is now a deprecated alias for the strictly equivalent RunCommandOptions.keyspace, and will be removed in an upcoming major version.
https://docs.datastax.com/en/astra-db-serverless/api-reference/client-versions.html#version-1-5
Options for executing some arbitrary command.
Field
collection - The collection to run the command on. If not provided, the command is run on the database.
Field
keyspace - Overrides the keyspace to run the command in. If not provided, the default keyspace is used.
See
Db.command