Commit 7757de96 authored by gnat's avatar gnat

setCharset Documentation provided by irc user ivanst

parent 24ca1398
...@@ -29,6 +29,12 @@ class MyCustomOptionRecord extends Doctrine_Record ...@@ -29,6 +29,12 @@ class MyCustomOptionRecord extends Doctrine_Record
} }
</code> </code>
It is worth noting that for certain databases (Firebird, MySql and PostgreSQL) setting the charset option might not be enough for Doctrine to return data properly. For those databases, users are advised to also use the setCharset function of the database connection:
<code type="php">
Doctrine_Manager::connection($name)->setCharset("utf8");
</code>
Doctrine offers the ability to turn off foreign key constraints for specific Models. Doctrine offers the ability to turn off foreign key constraints for specific Models.
<code type="php"> <code type="php">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment