You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to see the BLOB data types supported for mysql. I have installed zephir and made the following changes (I have added tinyblob, blob, mediumblob, longblob too. For this example just using the blob field)
Phalcon needs to know what type is a column so the ORM can use the proper data type in PDO::bindValue (http://php.net/manual/en/pdostatement.bindvalue.php). Could you please submit a PR with these changes?
Thanks for the reply Andre, I will submit a PR this evening.
Am I assuming correctly then that \Phalcon\Db\Column.zep is the correct place to define these new types? As from looking at the code each sql dialect will default it to its own type if it doesn't support it anyway.
Hi everyone
I would like to see the BLOB data types supported for mysql. I have installed zephir and made the following changes (I have added tinyblob, blob, mediumblob, longblob too. For this example just using the blob field)
\Phalcon\Db\Column.zep Line 105
\Phalcon\Db\Adapter\Pdo\Mysql.zep Line 194
\Phalcon\Db\Dialect\Mysql.zep Line 134
Where would be the best place to define mysql specific column types instead of \Phalcon\Db\Column.zep?
The text was updated successfully, but these errors were encountered: