summaryrefslogtreecommitdiffstats
path: root/app/class/mysql.class.php (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-02-06Update database APIMalf Furious1-3/+3
The abstract functions of database have been made protected and their names prefixed with '_'. The database class has been given new static functions query() and esc(), which call the _query() and _esc() function from the database instance object. This change was made to address the use of db routines from static contexes. Calls like `database::get()->query()` which mix static and instance function access operators, can now be `database::query()`, and all singleton is abstracted away; the instance's destructor continues to close the db connection.
2017-02-05Fix bug in mysql query functionMalf Furious1-1/+1
Need to remove the NULL return value from fetch_assoc() to fix usages of count($res) for determining the number of results from a MySQL query. This NULL return value is returned from mysqli's fetch_assoc() function to signal no more result rows.
2017-01-15Add mysql classMalf Furious1-12/+6
2017-01-14Reset working directory for clean Scrott implementationMalf Furious1-0/+0
2016-10-23Add mysql classMalf Furious1-0/+74
2016-10-22Deprecate application codeMalf Furious1-77/+0
Setup to perform an iteration of development focused on a simpler implementation and eliminating redundancy in design.
2016-05-26Add copyright notice to Scrott class filesMalf Furious1-0/+14
2015-12-17* Bug fix in Mysql support class -- misuse of Mysql result object and its ↵Malf Furious1-2/+2
member function fetch_assoc
2015-12-17+ Added generic database interface to use throughout the app since I'm ↵Malf Furious1-0/+63
planning on supporting multiple database engines + Defined interface for Mysql DBMS for Scrott