Django 官方教程翻译项目语句是为你所用的数据库定制的,所以那些和数据库有关的字段类型,比如 auto_increment(MySQL)、serial(PostgreSQL)和 integer primary key autoincrement(SQLite),都会为你自动处理的。那些和引号相关的事情 - 例如,是使用 单引号还是双引号 - 也一样会被自动处理。 sqlmigrate 命令并没有真正在你的数据库中的执行迁移 -0 码力 | 103 页 | 1.86 MB | 1 年前3
Django 1.8.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting of field names – e.g. foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead 8.20.dev20180306181007 • AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of field names – e.g., using foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead __hash__ values in containers. AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting of field names – e.g. transactional and supports foreign key references. It’s the recommended choice. However, the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead values in containers. • AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.11.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting of field names – e.g. foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead values in containers. • AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.10.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting of field names – e.g. foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead values in containers. • AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of field names – e.g., using foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead __hash__ values in containers. AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of field names – e.g., using foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead __hash__ values in containers. AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you automatically. Same goes for the quoting of field names – e.g., using transactional and supports foreign key references. It’s the recommended choice. However, the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead __hash__ values in containers. AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationdatabase-specific field types such as auto_increment (MySQL), serial (PostgreSQL), or integer primary key autoincrement (SQLite) are handled for you au- tomatically. Same goes for the quoting of field names – e.g. foreign key references. It’s probably the best choice at this point. However, note that the InnoDB autoincrement counter is lost on a MySQL restart because it does not remember the AUTO_INCREMENT value, instead values in containers. • AutoField columns in SQLite databases will now be created using the AUTOINCREMENT option, which guarantees monotonic increments. This will cause primary key numbering behavior0 码力 | 1880 页 | 6.41 MB | 1 年前3
共 31 条
- 1
- 2
- 3
- 4













