Sample Code

Overview

MariaDB SkySQL works with a range of programming languages.

Code snippets and instructions for connecting and querying are provided for C, C++, Java, Java R2DBC, Node.js, ODBC, and Python.

MariaDB also provides sample applications to demonstrate MariaDB SkySQL features:

Application

API

Demonstrated Stack

Demonstrates

Orders

  • Single Node Transactions

  • React.js web front-end

  • Language-specific back-end

Simulation of e-commerce order traffic

Places

  • Single Node Transactions

  • React.js web front-end

  • Language-specific back-end

  • JSON

  • Google Maps

Storing arbitrary location data

Todo

  • Single Node Transactions

  • React.js web front-end

  • Language-specific back-end

Simulation of an online todo list manager

Flights

  • Single Node Analytics

  • React.js web front-end

  • Language-specific back-end

Analyzing 180M flight records in real-time without adding indexes to show flight information and average delay