Hallo, I could not find any tip in the documentation about the PDO adapter prepares the statement.
Let's say I am using MySQL, which supports prepared queries.
Would the command:
$db->execute('INSERT INTO `table1` (?, ?)'), ['data1','data2']) ;
translate into:
'INSERT INTO `table1` ('data1', 'data2')';
or into:
PREPARE stmt FROM 'INSERT INTO `table1` (?, ?)';
SET @a = 'data1';
SET @b = 'data2';
EXECUTE stmt USING @a, @b;
DEALLOCATE PREPARE stmt;
?