SET READWRITE_SPLITTING HINT SOURCE
Description
The SET READWRITE_SPLITTING HINT SOURCE
syntax is used to set readwrite splitting routing strategy for current connection.
Syntax
SetReadwriteSplittingHintSource ::=
'SET' 'READWRITE_SPLITTING' 'HINT' 'SOURCE' '='('auto'|'write')
Example
- Set the read-write splitting routing strategy to auto
SET READWRITE_SPLITTING HINT SOURCE = auto;
- Set the read-write splitting routing strategy to write
SET READWRITE_SPLITTING HINT SOURCE = write;
Reserved word
SET
, READWRITE_SPLITTING
, HINT
, SOURCE
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .