Releases: ezSQL/ezsql
Releases · ezSQL/ezsql
5.1.1
minor bc, update docs/doc-blocks, new functions
- renamed cleanInput to clean_string
- renamed createCertificate to create_certificate
- added global get_results to return result sets in different formats
- added alter, altering shortcuts to modify table columns
- tests/code coverage updates
- many docs/doc-blocks corrections
new version, major breacking changes, updated docs/doc-blocks
-
The use of
namespace
in theglobal
functions ezFunctions.php file.
Usage of the global functions will require the user to begin a.php
file something like:use function ezsql\functions\where; // Or use function ezsql\functions\{ getInstance, selecting, inserting, };
-
Class properties that was accessible by magic methods
get/set
, now PSR 1 camelCase. -
update class libraries and tests to match PSR 1, but still backwards with previous way.
-
Renamed
select
ofez_mysqli
todbSelect
. -
Renamed class method and behavior of
selecting
toselect
. -
selecting
, and newinserting
methods, can be called without table name, only the other necessary parameters:- The table name with prefix, can be preset/stored with methods
tableSetup(name, prefix), or setTable(name), setPrefix(append)
, if called without presetting,false
is returned. - This feature will be added to all database CRUD access methods , each method name will have an
ing
ending added.
- The table name with prefix, can be preset/stored with methods
-
Removed global functions where
table
name passed in, use functions as outlined above using preset table names ending withing
.
Updates for PHP 8 compatibility, add GitHub Actions for macOS CI, doc-block fixes/updates
- some unknown phpunit configuration issue causing macOS CI error, otherwise test passes
- unable to include Microsoft Sql Server, docker throws:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Code cleanup, refactor for PHP 8 compatibility, and bug fixes discovered in doing so
Added features, and bug fixes
4.0.9: Merge pull request #180 from dpDesignz/table-joins
fixBug: Conditional Stacked Functions in selecting
4.0.8: Merge pull request #170 from dpDesignz/master
continue fixBug: Error when trying to use $db->vardump()
4.0.7: Merge pull request #166 from dpDesignz/master
- bug fix #163
- added
debugOn()
anddebugOff()
methods for simpler way to turn On/Off echoing output forvarDump()
4.0.6: Merge pull request #160 from hubaishan/fixpgsql
fixBug: Creating default object from empty value in pgsql