I have a mysqli_result:
$stmt = $db->prepare("SELECT * FROM customer");
$stmt->execute();
$result = $stmt->get_result();
Is it possible to directly do an INSERT with this result? (Data needs to be transferred in another database) like $another_db->insert($result)
or at least to convert the whole result Object to a simple Mysql Insert String without iterating over the result.