MCQs > IT & Programming > PHP > How can you switch connection to appropriate shard and insert record of the manual partition?

PHP MCQs

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

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it