Skip to content

Commit

Permalink
Merge pull request #8831 from obozdag/patch-4
Browse files Browse the repository at this point in the history
docs: Small typos in database/metadata.rst
  • Loading branch information
kenjis authored Apr 30, 2024
2 parents 8b0c99b + b4fe6d2 commit c85acfa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion user_guide_src/source/database/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ patterns. The database functions offer clear, simple syntax.
Query Helper Methods <helpers>
Query Builder Class <query_builder>
Transactions <transactions>
Getting MetaData <metadata>
Getting Metadata <metadata>
Custom Function Calls <call_function>
Database Events <events>
Database Utilities <utilities>
16 changes: 7 additions & 9 deletions user_guide_src/source/database/metadata.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#################
Database Metadata
#################
################
Getting Metadata
################

.. contents::
:local:
:depth: 2

**************
Table MetaData
Table Metadata
**************

These functions let you fetch table information.
Expand Down Expand Up @@ -39,7 +39,7 @@ running an operation on it. Returns a boolean true/false. Usage example:
.. note:: Replace *table_name* with the name of the table you are looking for.

**************
Field MetaData
Field Metadata
**************

List the Fields in a Table
Expand Down Expand Up @@ -71,9 +71,7 @@ performing an action. Returns a boolean true/false. Usage example:

.. literalinclude:: metadata/005.php

.. note:: Replace *field_name* with the name of the column you are looking
for, and replace *table_name* with the name of the table you are
looking for.
.. note:: Replace *field_name* and *table_name* with the column name and the table name you are looking for.

Retrieve Field Metadata
=======================
Expand All @@ -88,7 +86,7 @@ Returns an array of objects containing field information.
Sometimes it's helpful to gather the field names or other metadata, like
the column type, max length, etc.

.. note:: Not all databases provide meta-data.
.. note:: Not all databases provide metadata.

Usage example:

Expand Down

0 comments on commit c85acfa

Please sign in to comment.