ballerina-platform / module-ballerinax-azure-cosmosdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ballerina Azure Cosmos DB Connector

Build Status codecov Trivy GitHub Last Commit GraalVM Check License

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).

Building from the source

Setting up the prerequisites

  1. 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.

  1. Download and install Ballerina Swan Lake

Building the source

Execute the following commands to build from the source:

  • To build the package:
    bal build ./ballerina
    
  • To run tests after build:
    bal test ./ballerina
    

Contributing to ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, see contribution guidelines.

Code of conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

Useful links

About

License:Apache License 2.0


Languages

Language:Ballerina 82.0%Language:Java 18.0%