CakePHP Cookbook 2.x
database server. We’re going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database: CakePHP will be taking the reins from there. Since we’re using MySQL posts. We’ll also throw in a few posts right now to use for testing purposes. Execute the following SQL statements into your database: /* First, create our posts table: */ CREATE TABLE posts ( id INT events. DataSources allow you to associate records from different sources: rather than being limited to SQL joins, DataSources allow you to tell your LDAP model that it is associated with many iCal events.0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
database server. We’re going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database: CakePHP will be taking the reins from there. Since we’re using MySQL posts. We’ll also throw in a few posts right now to use for testing purposes. Execute the following SQL statements into your database: /* First, create our posts table: */ CREATE TABLE posts ( id INT UNSIGNED events. DataSources allow you to associate records from different sources: rather than being limited to SQL joins, DataSources allow you to tell your LDAP model that it is associated with many iCal events.0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook Documentation 5.xin Tests Creating Schema with Migrations Creating Schema with Abstract Schema Creating Schema with SQL Dump Files Fixture State Managers Creating Fixtures Dynamic Data Loading Fixtures in your Test Cases to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your name of your choice such as cake_cms. If you are using MySQL/MariaDB, you can execute the following SQL to create the necessary tables: CREATE DATABASE cake_cms; USE cake_cms; CREATE TABLE users (0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xgoing to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your name of your choice such as cake_cms. If you are using MySQL/MariaDB, you can execute the following SQL to create the necessary tables: CREATE DATABASE cake_cms; USE cake_cms; CREATE TABLE users ( id NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL PRIMARY KEY, email VARCHAR(255) NOT NULL, password VARCHAR(255)0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
in Tests Creating Schema with Migrations Creating Schema with Abstract Schema Creating Schema with SQL Dump Files Fixture State Managers Creating Fixtures Dynamic Data Loading Fixtures in your Test Cases to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your name of your choice such as cake_cms. If you are using MySQL/MariaDB, you can execute the following SQL to create the necessary tables: USE cake_cms; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your name of your choice such as cake_cms. If you are using MySQL/MariaDB, you can execute the following SQL to create the necessary tables: USE cake_cms; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY NOW()); If you are using PostgreSQL, connect to the cake_cms database and execute the following SQL instead: CREATE TABLE users ( id SERIAL PRIMARY KEY, email VARCHAR(255) NOT NULL, password VARCHAR(255)0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your for use in this tutorial, with a name of your choice, e.g. cake_cms. You can execute the following SQL to create the necessary tables: USE cake_cms; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY Cake\Database\Type\IntegerType will now raise an exception when values are not numeric when preparing SQL statements and converting database results to PHP types. Cake\Database\Statement\StatementDecorator::fetchAll()0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database, and run SQL snippets from the tutorial. CakePHP will handle building all the queries your for use in this tutorial, with a name of your choice, e.g. cake_cms. You can execute the following SQL to create the necessary tables: USE cake_cms; CREATE TABLE users ( id INT AUTO_INCREMENT PRIMARY Cake\Database\Type\IntegerType will now raise an exception when values are not numeric when preparing SQL statements and converting database results to PHP types. • Cake\Database\Statement\StatementDecorator::fetchAll()0 码力 | 967 页 | 2.80 MB | 1 年前3
共 8 条
- 1













