CakePHP Cookbook 2.x
will not be saved either). Note For transactions to work correctly in MySQL your tables must use InnoDB engine. Remember that MyISAM tables do not support transactions. Let’s see how we can use saveAssociated() 'post_id' => array('column' => 'post_id'), ), 'tableParameters' => array( 'engine' => 'InnoDB', 'charset' => 'latin1', 'collate' => 'latin1_general_ci' ) ); is an example of 'post_id' => array('column' => 'post_id'), ), 'tableParameters' => array( 'engine' => 'InnoDB', 'charset' => 'latin1', 'collate' => 'latin1_general_ci' ) ); is an example of0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
will not be saved either). Note: For transactions to work correctly in MySQL your tables must use InnoDB engine. Remember that MyISAM tables do not support transactions. Let’s see how we can use saveAssociated() => true), 'post_id' => array('column' => 'post_id'), ), 'tableParameters' => array( 'engine' => 'InnoDB', 'charset' => 'latin1', 'collate' => 'latin1_general_ci' ) ); is an example of a table using tableParameters => true), 'post_id' => array('column' => 'post_id'), ), 'tableParameters' => array( 'engine' => 'InnoDB', 'charset' => 'latin1', 'collate' => 'latin1_general_ci' ) ); is an example of a table using tableParameters0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook Documentation 5.xstructure in MySQL. The following could be used to add table options: $schema->options([ 'engine' => 'InnoDB', 'collate' => 'utf8_unicode_ci', ]); Platform dialects only handle the keys they are interested use bytea instead of blob `expires` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; You can find a copy of the schema for the sessions table in the application0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xstructure in MySQL. The following could be used to add table options: $schema->options([ 'engine' => 'InnoDB', 'collate' => 'utf8_unicode_ci', ]); Platform dialects only handle the keys they are interested PostgreSQL use bytea instead of blob �expires� int(10) unsigned DEFAULT NULL, PRIMARY KEY (�id�) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; You can find a copy of the schema for the sessions table in the application0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 3.x
structure in MySQL. The following could be used to add table options: $schema->options([ 'engine' => 'InnoDB', 'collate' => 'utf8_unicode_ci', ]); Platform dialects only handle the keys they are interested use bytea instead of blob `expires` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; You can find a copy of the schema for the sessions table in the application0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
structure in MySQL. The following could be used to add table options: $schema->options([ 'engine' => 'InnoDB', 'collate' => 'utf8_unicode_ci', ]); Platform dialects only handle the keys they are interested PostgreSQL use bytea instead of blob �expires� int(10) unsigned DEFAULT NULL, PRIMARY KEY (�id�) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; You can find a copy of the schema for the sessions table in the application0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
structure in MySQL. The following could be used to add table options: $schema->options([ 'engine' => 'InnoDB', 'collate' => 'utf8_unicode_ci', ]); Platform dialects only handle the keys they are interested use bytea instead of blob `expires` int(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; You can find a copy of the schema for the sessions table in the application0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
structure in MySQL. The following could be used to add table options: $schema->options([ 'engine' => 'InnoDB', 'collate' => 'utf8_unicode_ci', ]); Platform dialects only handle the keys they are interested PostgreSQL use bytea instead of blob �expires� int(10) unsigned DEFAULT NULL, PRIMARY KEY (�id�) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; You can find a copy of the schema for the sessions table in the application0 码力 | 967 页 | 2.88 MB | 1 年前3
共 8 条
- 1













