Language Integrated Queries in Ballerina

Introduction

Query Expressions

Query Actions

Writing Integrated Queries

Try it Out

ballerina run order_service.bal
curl -v http://localhost:9090/emart/orderProduct -d '[{ "Name": "Flour", "Id": 2345, "Quantity": 2, "ShoppingCardId": "AXYN34523", "Category": "Grocery"}, { "Name": "Carrot", "Id": 3234, "Quantity": 1, "ShoppingCardId": "AXYN34523", "Category": "Vegetable"}]' -H "Content-Type:application/json"

Summary

Senior Tech Lead, Speaker @ WSO2. Closely works on Stream Processing and Integration