SHOW REPL Statement #
SHOW REPLICATION [FORMAT type]
SHOW REPL [FORMAT type]
Get the replication status.
The FORMAT clause can be used to specify the format of the result.
show repl;
[{
"active": true,
"role": "replica",
"primary": "00000000-0000-0000-0000-000000000000"
}]
select system.repl().active;
[true]