mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-15 13:04:10 +02:00
Removed note about strict and REAL
This commit is contained in:
parent
b28c54c25f
commit
e7ecb0ffdf
1 changed files with 0 additions and 3 deletions
|
|
@ -1298,9 +1298,6 @@ If you pass a Python type, it will be mapped to SQLite types as shown here::
|
||||||
np.float32: "REAL"
|
np.float32: "REAL"
|
||||||
np.float64: "REAL"
|
np.float64: "REAL"
|
||||||
|
|
||||||
.. note::
|
|
||||||
In sqlite-utils 4.0 the default floating point column type was changed from ``FLOAT`` to ``REAL``, which is the correct SQLite type for floating point columns. You can still explicitly specify ``"FLOAT"`` or ``"float"`` as a column type for backwards compatibility, but auto-detected floating point columns will now use ``REAL``. See issue :issue:`645`.
|
|
||||||
|
|
||||||
You can also add a column that is a foreign key reference to another table using the ``fk`` parameter:
|
You can also add a column that is a foreign key reference to another table using the ``fk`` parameter:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue