Skip to content

Commit

Permalink
Merge pull request #8483 from kenjis/fix-docs-getFieldData
Browse files Browse the repository at this point in the history
docs: fix $query->getFieldData() description
  • Loading branch information
kenjis authored Jan 30, 2024
2 parents 46b301f + 3e2d715 commit d812ec9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions user_guide_src/source/database/metadata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ Usage example:

.. literalinclude:: metadata/006.php

If you have run a query already you can use the result object instead of
supplying the table name:

.. literalinclude:: metadata/007.php

The following data is available from this function if supported by your
database:

Expand All @@ -111,6 +106,17 @@ database:

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

$query->getFieldData()
----------------------

If you have run a query already you can use the result object instead of
supplying the table name:

.. literalinclude:: metadata/007.php

.. note:: The data returned is different from the data from ``$db->getFieldData()``.
If you cannot get the data you need, use ``$db->getFieldData()``.

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

Expand Down

0 comments on commit d812ec9

Please sign in to comment.