The Cosmos DB SQL(Core) API supports all database-related operations that are carried out extensively by the existing developer community.
The Ballerina connector for Azure Cosmos DB provides the capability to connect to Azure Cosmos DB and to execute basic CRUD (Create, Read, Update and Delete) operations on databases and containers, executing SQL queries to query containers, etc. In addition, it allows the special features provided by Cosmos DB such as operations via JavaScript language-integrated queries and management of users and permissions.
For more information, see module(s).
- Download and install Java SE Development Kit (JDK) version 17. You can install either OpenJDK or Oracle JDK.
Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.
- Download and install Ballerina Swan Lake
Execute the following commands to build from the source:
- To build the package:
bal build ./ballerina
- To run tests after build:
bal test ./ballerina
As an open source project, Ballerina welcomes contributions from the community.
For more information, see contribution guidelines.
All contributors are encouraged to read the Ballerina Code of Conduct.
- Discuss code changes of the Ballerina project via [email protected].
- Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.