Interacting with a RDBMS using Ballerina

shazni nazeer
5 min readSep 21, 2022
Photo by Sunder Muthukumaran on Unsplash

Ballerina is an open-source programming language. It’s a language that was designed with cloud in mind and has superior support for network interactions that’s essential for modern application design. It also got an extensive standard library for common operations that’s needed for application programming. In this short post I’ll walk you through how ballerina enables a developer to interact with a RDBMS.

Let’s first begin by installing the ballerina.

Installing Ballerina

As the first step, you need to get ballerina installed. The latest version of ballerina can be downloaded from here for your OS. In Windows and MAC OS you can double click on the downloaded executable and follow the onscreen instructions. In Linux execute the relevant commands to install .deb or .rpm files.

Once successfully installed and binaries are in the system executable path, you should have no trouble with below commands.

balbal version

It’s also recommended to install ballerina VSCode extension for development. It provides syntax coloring, intellisense and more for developers to easily get into ballerina programming.

Creating the database

--

--

No responses yet