Namespace DataStax.AstraDB.DataApi
Classes
- DataAPIClient
The main entrypoint into working with the Data API. It sits at the top of the conceptual hierarchy of the SDK. The client can be passed a default token, which can be overridden by a stronger/weaker token when connecting to a Database or Admin instance.
The DataAPIClient, and the related methods for interacting with the database, accepts a set of options that can be used to affect the command execution. These options can be specified at any level in the call hierarchy (Client, Database, Collection, Command, etc.) The most specific defined option (or its default) will be used for each request.
Once you have a DataAPIClient instance, you can use it to get a Database instance. From there you can create or connect to a Collection.