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
replicationOptional
timeoutThe method timeout override.
See TimeoutDescriptor for much more information.
Optional
update
Represents the options for creating a keyspace on a non-Astra database (i.e. blocking options + keyspace creation options).
If no replication options are provided, it will default to
'SimpleStrategy'
with a replication factor of1
.See AstraAdminBlockingOptions for more options about blocking behavior.
If
updateDbKeyspace
is set to true, the underlyingDb
instance used to create theDbAdmin
will have its current working keyspace set to the newly created keyspace immediately (even if the keyspace isn't technically yet created).Example