diff --git a/Zebra_Database.php b/Zebra_Database.php index 63721fa..a1944b8 100755 --- a/Zebra_Database.php +++ b/Zebra_Database.php @@ -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` diff --git a/docs/Zebra_Database/Zebra_Database.html b/docs/Zebra_Database/Zebra_Database.html index 73bf64a..1cdd6af 100644 --- a/docs/Zebra_Database/Zebra_Database.html +++ b/docs/Zebra_Database/Zebra_Database.html @@ -2825,7 +2825,7 @@
Sets MySQL character set and collation
-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.
If this method is not called a warning message will be displayed in the debugging console.
Warnings can be disabled by setting the disable_warnings property.
+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.
If this method is not called a warning message will be displayed in the debugging console.
Warnings can be disabled by setting the 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.