Skip to content

Commit

Permalink
docs: add note to query->getFieldData()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jan 30, 2024
1 parent f05859e commit 3e2d715
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 3e2d715

Please sign in to comment.