Skip to content

Commit

Permalink
docs: add user guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Feb 24, 2023
1 parent 33c8e49 commit f3d5fe4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions user_guide_src/source/changelogs/v4.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ Query Builder
Forge
-----

- **SQLSRV:** Field Metadata now includes ``nullable``. See :ref:`db-metadata-getfielddata`.

Others
------

Expand Down
6 changes: 5 additions & 1 deletion user_guide_src/source/database/metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ performing an action. Returns a boolean true/false. Usage example:
Retrieve Field Metadata
=======================

.. _db-metadata-getfielddata:

$db->getFieldData()
-------------------

Expand All @@ -104,9 +106,11 @@ database:
- type - the type of the column
- max_length - maximum length of the column
- 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)
- nullable - boolean ``true`` if the column is nullable, otherwise boolean ``false`` (This field is currently not available in SQL Server)
- nullable - boolean ``true`` if the column is nullable, otherwise boolean ``false``
- default - the default value

.. note:: Since v4.4.0, SQLSRV supported ``nullable``.

List the Indexes in a Table
===========================

Expand Down

0 comments on commit f3d5fe4

Please sign in to comment.