Beginning Django by Daniel Rubio

Beginning Django by Daniel Rubio

Author:Daniel Rubio
Language: eng
Format: epub
Publisher: Apress, Berkeley, CA


SQLite

MySQL

PostgreSQL

Oracle

Binary

models.BinaryField()

BLOB NOT NULL

longblob NOT NULL

bytea NOT NULL

BLOB NULL

Creates a blob field to store binary data (e.g., images, audio or other multimedia objects).

Boolean

models.BooleanField()

bool NOT NULL

bool NOT NULL

boolean NOT NULL

NUMBER(1) NOT NULL CHECK (“VAR” IN (0,1))

Creates a Boolean field to store True/False (or 0/1) values.

Boolean

models.NullBooleanField()

bool NULL

bool NULL

boolean NULL

NUMBER(1) NULL CHECK ((“VAR” IN (0,1)) OR (“VAR” IS NULL))

Works just like BooleanField but also allows NULL values.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.