https://docs.phalcon.io/en/latest/api/Phalcon_Db_Adapter_Pdo_Postgresql.html
$sql = 'INSERT INTO config ( collection, name, data ) '
. ' VALUES (:collection, :name, :data) '
. ' ON DUPLICATE KEY UPDATE '
. ' data = VALUES(data);';
Is not work:
$this->connection->execute(
$sql,
[
'collection' => $this->collection,
'name' => $name,
'data' => $this->encode($data)
],
[
'collection' => \PDO::PARAM_STR,
'name' => \PDO::PARAM_STR,
'data' => \PDO::PARAM_LOB
]
);
Not doc, help me!.