ã§ãä¸è¨ã® PRAGMA synchronous = off ã ã¨ããMySQL ã® SET NAMES utf8 ã¿ãããªã®ã DBIC ã§ããã°ãã㯠$schema->storage->on_connect_do( ['SET NAMES utf8'] ); ã¿ããã«ããããã ãã©ãããã¯ä»ã¯schemaã¯ã©ã¹èªä½ã«ã¯æ¸ãã¦ãããªãã®ã§ããã©ãããã(0.699..ã®ã»ãã§ã¯ã§ããããã«ãªã£ã¦ãã) Catalyst ã§ã¤ããã ããªããä»ã® DBIC ã§ããModel::DBIC::Schema ã® connect_info 㧠on_connect_do ãæ¸ãã¦ãããã connect_info => [ 'dbi:SQLite:dbname=foo.db', { on_connect_do => [ 'PRAGMA synchronous = OFF', ], } ], blb
{{#tags}}- {{label}}
{{/tags}}