Skip to content

Commit a98658b

Browse files
committed
docs: add user guide
1 parent 4726bd5 commit a98658b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

user_guide_src/source/changelogs/v4.4.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Others
6161

6262
- **MySQLi:** Added the ``numberNative`` attribute to the Database Config to keep the variable type obtained after SQL Query consistent with the type set in the database.
6363
See :ref:`Database Configuration <database-configuration-explanation-of-values>`.
64+
- **SQLSRV:** Field Metadata now includes ``nullable``. See :ref:`db-metadata-getfielddata`.
6465

6566
Model
6667
=====

user_guide_src/source/database/metadata.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ performing an action. Returns a boolean true/false. Usage example:
7878
Retrieve Field Metadata
7979
=======================
8080

81+
.. _db-metadata-getfielddata:
82+
8183
$db->getFieldData()
8284
-------------------
8385

@@ -104,9 +106,11 @@ database:
104106
- type - the type of the column
105107
- max_length - maximum length of the column
106108
- primary_key - integer ``1`` if the column is a primary key (all integer ``1``, even if there are multiple primary keys), otherwise integer ``0`` (This field is currently only available for MySQL and SQLite3)
107-
- nullable - boolean ``true`` if the column is nullable, otherwise boolean ``false`` (This field is currently not available in SQL Server)
109+
- nullable - boolean ``true`` if the column is nullable, otherwise boolean ``false``
108110
- default - the default value
109111

112+
.. note:: Since v4.4.0, SQLSRV supported ``nullable``.
113+
110114
List the Indexes in a Table
111115
===========================
112116

0 commit comments

Comments
 (0)