diff --git a/examples/persist-relation-queries/persist_relation_queries.md b/examples/persist-relation-queries/persist_relation_queries.md index f44418b742..512db99031 100644 --- a/examples/persist-relation-queries/persist_relation_queries.md +++ b/examples/persist-relation-queries/persist_relation_queries.md @@ -1,8 +1,8 @@ -# Persist read - Select relation fields +# Persist read - Relation queries The bal persist feature provides support to manage data persistence in a Ballerina package. It starts with defining the application's data model. Once the model is defined, the client API is generated with resources based on the model. The generated API can be used to query and manipulate the persistent data in the application. -The generated client API provides support to select relation fields of the entity when retrieving the records/record from the `get` resource method from the data store. +The generated client API provides support to select fields in relational entities when retrieving the records/record from the `get` resource method from the data store. > **Note:** This example uses Ballerina tables as the data store. You can use MySQL and Google Sheets as the data store as well. For more information, see [Supported Data Stores](/learn/supported-data-stores/). @@ -24,7 +24,7 @@ Execute the command below to generate the Ballerina client API. #### Use the generated client API -Using the generated client API, you can retrieve the record with relation fields from the data store with both `get` and `get by key` resource methods. +Using the generated client API, you can retrieve the record with relations from the data store with both `get` and `get by key` resource methods. ::: code persist_relation_queries.bal :::