Insert data programmatically
You can use the Data API and CQL to insert data programmatically.
For required permissions to insert data, see Ways to insert data in Astra DB Serverless.
Insert data with the Data API
You can use the Data API and clients to programmatically insert data into collections and tables in Astra DB Serverless databases.
|
The Data API is supported for Serverless (vector) and Serverless (non-vector) databases generally. However, vector and reranking functionalities aren’t compatible with all databases, tables, or collections. |
| Language | Reference | Quickstart |
|---|---|---|
Python |
||
TypeScript |
||
Go |
||
Java |
||
C# |
||
HTTP |
Try the client quickstarts |
Insert data with CQL and drivers
For information about loading data and executing CQL statements with cqlsh and Cassandra drivers, see Cassandra Query Language (CQL) for Astra DB and Cassandra driver compatibility.