How can you switch connection to appropriate shard and insert record of the manual partition?
Answer
Correct Answer: mysqlnd_ms_fabric_select_shard($mysqli, “test.fabrictest”, 10);
if ( !$res = $mysqli->query(“INSERT INTO fabrictest (id) VALUES (10)”))) {
die(sprintf(“[%d] %s\n” , $mysqli->errno, $mysqli->error));
}
Explanation:
Note: This Question is unanswered, help us to find answer for this one