Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangabos committed Jan 28, 2024
1 parent 54b708d commit a8f1e1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Zebra_Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -4050,6 +4050,9 @@ public function select_database($database) {
*
* > Warnings can be disabled by setting the {@link disable_warnings} property.
*
* > Calling this method will **not** create a connection to the database but will be deferred instead until a "real"
* query is run. This is to ensure that the `lazy connection` feature of the library is preserved.
*
* @param string $charset (Optional) The character set to be used by the database
*
* Default is `utf8`
Expand Down
2 changes: 1 addition & 1 deletion docs/Zebra_Database/Zebra_Database.html
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ <h4 id="methodset_charset" class="method"><span><em>method</em></span> set_chars
)
</p>
<p>Sets MySQL character set and collation</p>
<p>The ensure that data is both properly saved and retrieved from the database you should call this method first thing after connecting to the database.</p><p>If this method is not called a warning message will be displayed in the debugging console.</p><p class="highlight">Warnings can be disabled by setting the <a href="../Zebra_Database/Zebra_Database.html#var$disable_warnings">disable_warnings</a> property.</p>
<p>The ensure that data is both properly saved and retrieved from the database you should call this method first thing after connecting to the database.</p><p>If this method is not called a warning message will be displayed in the debugging console.</p><p class="highlight">Warnings can be disabled by setting the <a href="../Zebra_Database/Zebra_Database.html#var$disable_warnings">disable_warnings</a> property.</p><p class="highlight">Calling this method will <strong>not</strong> create a connection to the database but will be deferred instead until a &quot;real&quot; query is run. This is to ensure that the <code>lazy connection</code> feature of the library is preserved.</p>
<h5>Arguments</h5>
<table>
<tr>
Expand Down

0 comments on commit a8f1e1a

Please sign in to comment.