RaigorJiang commented on a change in pull request #11845:
URL: https://github.com/apache/shardingsphere/pull/11845#discussion_r689426860



##########
File path: docs/document/content/features/dist-sql/syntax/ral/ral.en.md
##########
@@ -0,0 +1,28 @@
++++
+title = "RAL"
+weight = 1
++++
+
+## Definition
+
+RAL (Resource & Rule Administrate Language) responsible for the added-on 
feature of hint, transaction type switch, sharding execute planning and so on.
+
+## Usage
+
+| Statement                                          | Function                
                                                                                
   | Example                                       |
+|:---------------------------------------------------|:-----------------------------------------------------------------------------------------------------------|:----------------------------------------------|
+|set variable transaction_type = xx                  | Modify transaction_type 
of the current connection, supports LOCAL, XA, BASE                             
   | set variable transaction_type = XA            |
+|show variable transaction_type                      | Query the transaction 
type of the current connection                                                  
     | show variable transaction_type                |
+|show variable cached_connections                    | Query the number of 
cached physical database connections in the current connection                  
       | show variable cached_connections              |
+|preview SQL                                         | Preview the actual SQL  
                                                                                
   | preview select * from t_order                 |

Review comment:
       good suggestion




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to