ScalarDB GraphQL Overview
ScalarDB GraphQL is an interface layer that allows client applications to communicate with ScalarDB Cluster by using GraphQL. It enables you to take advantage the benefits of GraphQL, such as flexible data retrieval and type safety, while benefiting from the transaction management and data access features in ScalarDB.
By using ScalarDB GraphQL, you can create GraphQL schemas automatically based on the ScalarDB schemas, perform CRUD operations, and execute complex transactions across multiple databases. The interface simplifies backend development by providing a unified querying mechanism, making it particularly useful for modern applications expecting advanced and responsive data interactions.
Getting started with GraphQL in ScalarDB Cluster​
ScalarDB GraphQL is designed to be intuitive and user-friendly, enabling developers to easily create GraphQL schemas automatically based on the ScalarDB schemas and interact with the underlying databases.
For details on how to set up ScalarDB Cluster with GraphQL support, see Getting Started with ScalarDB Cluster GraphQL.
Transactions with a two-phase commit​
ScalarDB GraphQL supports executing transactions with a two-phase commit interface. By using the two-phase commit interface, you can execute a transaction that spans multiple processes/applications (for example, microservices applications).
For details on how to execute transactions by using the two-phase commit interface in ScalarDB GraphQL, see How to Run Two-Phase Commit Transactions.