Libraries
  1. Libraries

tornelib-php-database

Public
AuthorCommitMessageCommit date
Thomas TornevallThomas Tornevall
78960173e9dNullchecking for mysqli.
Thomas TornevallThomas Tornevall
c90ac943751Fix null problem checks (PHP8+)
Thomas TornevallThomas Tornevall
d673079166bConverted unit-xml
Thomas TornevallThomas Tornevall
faa7ca52260Ready for 6.1.1
Thomas TornevallThomas Tornevall
3022200b1b9MPull request #14: PHPDB-39: php8 compliant but...Merge in LIB/tornelib-php-database from PHPDB-39 to master * commit '101a76b86cedc570b56fb4c3ad3a6603ef046d07': PHPDB-39: php8 compliant but...
Thomas TornevallThomas Tornevall
101a76b86cePHPDB-39: php8 compliant but...* Fixed all method_exists that requires existence check before method_exists from PHP8. * Fixed some missing asserts in tests.
Thomas TornevallThomas Tornevall
859262cf759README updated.Removed To-Dos.
Thomas TornevallThomas Tornevall
d13bcbe9269MPull request #13: returns rows as DataResponseRow (assoc = 3) --- PHPDB-37Merge in LIB/tornelib-php-database from PHPDB-37 to master * commit 'a6b02d070620ec792e63553d8402801dd0cdd8e1': returns rows as DataResponseRow (assoc = 3)
Thomas TornevallThomas Tornevall
a6b02d07062returns rows as DataResponseRow (assoc = 3)
Thomas TornevallThomas Tornevall
0284042c19cMPull request #12: PHPDB-27Merge in LIB/tornelib-php-database from PHPDB-27 to master * commit 'd55b52e078c7e4de895097655393d30fc7bb7ac4': PHPDB-27
Thomas TornevallThomas Tornevall
d55b52e078cPHPDB-27getFirst() +query_first
Thomas TornevallThomas Tornevall
45dd6804503MPull request #11: PHPDB-36Merge in LIB/tornelib-php-database from PHPDB-36 to master * commit '0bd1e108c2f771aa8d46f680f112e3f778929886': ipv6 tests are being made from instances that support ipv6 New names for deprecation tests. PHPDB-36
Thomas TornevallThomas Tornevall
0bd1e108c2fipv6 tests are being made from instances that support ipv6
Thomas TornevallThomas Tornevall
201d2c997a0New names for deprecation tests.
Thomas TornevallThomas Tornevall
a39ae416958PHPDB-36Moved functions around to get higher reachability. Some of the functions went static. CanPdo-checker is not static. getPreferredDriver is not returning default available before bailing out.
Thomas TornevallThomas Tornevall
5d1821898d6MPull request #10: PHPDB-35Merge in LIB/tornelib-php-database from PHPDB-35 to master * commit '4fe275b9b662b4f0bf28b696379253920f21bacb': PHPDB-35
Thomas TornevallThomas Tornevall
4fe275b9b66PHPDB-35
Thomas TornevallThomas Tornevall
2f16ba06d9dRearranged code
Thomas TornevallThomas Tornevall
39f26385769MMerge branch 'master' of ssh://bitbucket.tornevall.net:7999/lib/tornelib-php-database
Thomas TornevallThomas Tornevall
c193c6a8a10Rearranged code
Thomas TornevallThomas Tornevall
97fcad1b856Rearranged code
Thomas TornevallThomas Tornevall
eed9ba66c6aMPull request #9: PHPDB-31Merge in LIB/tornelib-php-database from PHPDB-31 to master * commit '6e9d229d174e7dc5967fdc3df225b217fec75dda': getRow inherits from interface again. PHPDB-31: getRow() implemented. One more docblock
Thomas TornevallThomas Tornevall
6e9d229d174getRow inherits from interface again.
Thomas TornevallThomas Tornevall
a2b6e53876aPHPDB-31: getRow() implemented.
Thomas TornevallThomas Tornevall
c9257186322One more docblock
Thomas TornevallThomas Tornevall
768839924ddMPull request #8: PHPDB-26Merge in LIB/tornelib-php-database from PHPDB-26 to master * commit '32da98a2be4f1d822152dd2133e8c45c318e636c': deprecated tests disabled in higher versions All docblocks updated. Prepared for fetcher. PHPDB-26: setQuery() finished for mysqli, mysql and PDO. PHPDB-33: getLastInsertId implemented in full SQL. PHPDB-30: Primary query support for SQL. PHPDB-34: Deprecated escape was impleme...
Thomas TornevallThomas Tornevall
32da98a2be4deprecated tests disabled in higher versions
Thomas TornevallThomas Tornevall
9996eacee09All docblocks updated.Prepared for fetcher.
Thomas TornevallThomas Tornevall
29e4e6841c6PHPDB-26: setQuery() finished for mysqli, mysql and PDO.PHPDB-33: getLastInsertId implemented in full SQL. PHPDB-30: Primary query support for SQL. PHPDB-34: Deprecated escape was implemented. PBPDB-9: Currently allowing non assocs (string).
Thomas TornevallThomas Tornevall
f63ad75688dPHPDB-34 + PHPDB-26Included injection/escaping. Added tests for query/prepares (improved+deprecated).
Thomas TornevallThomas Tornevall
50d3bebabd1MPull request #7: PHPDB-20 mysqlMerge in LIB/tornelib-php-database from PHPDB-20-mysql to master * commit 'e0b72450ac047d17747006c5b760a07424785cda': (22 commits) Connectivity is done! deprecated driver can not be tested on PHP 7 or higher readme MODULE_DATABASE.php support connection and adaptive drivers. Inspections fixes. Updated class with connectivity for mysqli, mysql and PDO. Simplified $currentIdentifier ...
Thomas TornevallThomas Tornevall
e0b72450ac0Connectivity is done!
Thomas TornevallThomas Tornevall
bdcf8b08fc2deprecated driver can not be tested on PHP 7 or higher
Thomas TornevallThomas Tornevall
d07da6ac97ereadme
Thomas TornevallThomas Tornevall
9707db25182MODULE_DATABASE.php support connection and adaptive drivers.
Thomas TornevallThomas Tornevall
d90180da450Inspections fixes.
Thomas TornevallThomas Tornevall
8b680b6444cUpdated class with connectivity for mysqli, mysql and PDO.Simplified $currentIdentifier
Thomas TornevallThomas Tornevall
59318be5de1mysqli_connect + switch database done.Made some methods "throwable" so they can also return booleans without exceptions. Added timeouts. Flagset to make sql-driver chainable. Default userdata is set to "testusername".
Thomas TornevallThomas Tornevall
3c5b3a8eaecDriver class for bad driver (sql) updated.Added "preferred driver" detector. Added driver test (includes getServerList-ish test). connect() remains empty.
Thomas TornevallThomas Tornevall
b505e3a6c1dFixed docblocks and return statements and other problems.serverList in config not in use. Switch-Case transformed into ifs. Composer and readme updated.
Thomas TornevallThomas Tornevall
71c64cd4ec7PHPDB-25Map server configuration from jsondata. Added jsonmapper to do the work.
Thomas TornevallThomas Tornevall
5b3cb83af1aSample file updated for ipv6 testing.
Thomas TornevallThomas Tornevall
d7137aac329Empty file for testing configuration fetching.
Thomas TornevallThomas Tornevall
57f03a77589Initialize MODULE_DATABASE for compatibility.
Thomas TornevallThomas Tornevall
245e8500ea8servertype and serveroptions
Thomas TornevallThomas Tornevall
b5c0b898f2eServer type setup.
Thomas TornevallThomas Tornevall
7d42c1a88f7Server password setup.
Thomas TornevallThomas Tornevall
495d84dd26eServer username setup.
Thomas TornevallThomas Tornevall
ef96da3b908Server port and server host.
Thomas TornevallThomas Tornevall
533d175a479server port config