1
0
mirror of synced 2024-12-12 22:36:02 +03:00

setCharset Documentation provided by irc user ivanst

This commit is contained in:
gnat 2008-06-14 14:46:16 +00:00
parent 24ca13980f
commit 7757de9622

View File

@ -29,6 +29,12 @@ class MyCustomOptionRecord extends Doctrine_Record
}
</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.
<code type="php">