mysql://127.0.0.1:3306/mydb
mysql://127.0.0.1:3306/mydb/feature-branch
mysql://127.0.0.1:3306/mydb/ia1ibijq8hq1llr7u85uivsi5lh3310p
USE
statementUSE
statements to switch your current branch.USE mydb
switches to the default branch./
character.DOLT_CHECKOUT()
procedureDOLT_CHECKOUT()
SQL procedure provides identical functionality to the dolt checkout
command on the command line, and accepts the same arguments.CALL DOLT_CHECKOUT('feature-branch');
switches the session to the feature-branch
branch. You can also switch to a new branch, like so:mydb
as above, this variable will be called @@mydb_head_ref
and be set to the current head.refs/heads/branchName
or just branchName
:COMMIT
them or ROLLBACK
the transaction before switching branches.