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 to programmatically insert data into collections and tables in Serverless (Vector) databases.
For Data API commands and examples, see:
If you’re new to the Data API, try the quickstart for collections or the quickstart for tables for a demo of some common operations, including inserting data. |
Insert data with CQL and drivers
For information about loading data and executing CQL statements with the CQL shell and drivers, see Cassandra Query Language (CQL) for Astra DB and Connect to a database: Drivers.