Real-Time, Fully Managed And Unified Analytical Database System. Get Started
- Simple, Compatible SQL Interface
- Supports thousands to tens of thousands of queries per second
- Fully managed, unified solution
Interface
curl -sS -X POST "https://gateway1.modolap.com/sql" -H 'content-type: application/json' -H "authorization: Bearer $MODOLAP_API_KEY" --data '{
"workspace": "my_workspace",
"sql": "
SELECT
product_id,
COUNT(*) AS total_orders,
SUM(amount) AS total_revenue
FROM orders
WHERE created_at >= now() - interval '''30 days'''
AND status = '''completed'''
GROUP BY product_id
ORDER BY total_revenue DESC
LIMIT 20
"
}'