aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/database.php
AgeCommit message (Collapse)Author
2008-05-28Marcus Povey <marcus@dushka.co.uk>icewing
* Throws exception if fields are missing on a select query git-svn-id: https://code.elgg.org/elgg/trunk@735 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-28Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed $CONFIG->prefix now $CONFIG->dbprefix * Exception thrown on missing tables git-svn-id: https://code.elgg.org/elgg/trunk@734 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-28Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed ACL where "where" is missing * Added catch for exceptions git-svn-id: https://code.elgg.org/elgg/trunk@733 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-28Marcus Povey <marcus@dushka.co.uk>icewing
* Draft Query object and companion classes committed for comment. [UNTESTED] git-svn-id: https://code.elgg.org/elgg/trunk@731 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-14Marcus Povey <marcus@dushka.co.uk>icewing
* Debug mode causes queries that return no data to issue a warning git-svn-id: https://code.elgg.org/elgg/trunk@644 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02The system now uses the site GUID to get and set entity data. Also, ↵ben
installation is a great deal more visual. git-svn-id: https://code.elgg.org/elgg/trunk@621 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed regression on custom class loader git-svn-id: https://code.elgg.org/elgg/trunk@590 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-15get_entities now allows for arrays of GUIDs to be supplied as an owner, and ↵ben
can be asked to count entities rather than return them; as a result, get_user_friends_objects and count_* functionality is also now available git-svn-id: https://code.elgg.org/elgg/trunk@468 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-08Misja Hoebe <misja@curverider.co.uk> More doctag fixesmisja
git-svn-id: https://code.elgg.org/elgg/trunk@422 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Added query display to database exceptionsben
git-svn-id: https://code.elgg.org/elgg/trunk@395 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-03Slight get_data revertben
git-svn-id: https://code.elgg.org/elgg/trunk@385 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-02Assorted entity fixesben
git-svn-id: https://code.elgg.org/elgg/trunk@376 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-13Marcus Povey <marcus@dushka.co.uk>icewing
* Use $CONFIG->debug = true to enable query profiling git-svn-id: https://code.elgg.org/elgg/trunk@214 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-12Marcus Povey <marcus@dushka.co.uk>icewing
* BUGFIX: get_data now catches mysql_errors git-svn-id: https://code.elgg.org/elgg/trunk@186 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-05Marcus Povey <marcus@dushka.co.uk>icewing
* Sanitise trims as well git-svn-id: https://code.elgg.org/elgg/trunk@82 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-03Fixed get_tables so install works correctlyicewing
git-svn-id: https://code.elgg.org/elgg/trunk@63 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-03Fixed install issueben
git-svn-id: https://code.elgg.org/elgg/trunk@59 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-03Installation issues: fixedben
git-svn-id: https://code.elgg.org/elgg/trunk@57 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-03Candidate for deletionicewing
git-svn-id: https://code.elgg.org/elgg/trunk@51 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-03Added callbacks to get_databen
git-svn-id: https://code.elgg.org/elgg/trunk@50 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-03Database errors now distinct from "no data", errors are hard failsicewing
git-svn-id: https://code.elgg.org/elgg/trunk@48 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-02-15All kinds of object and database stuffben
git-svn-id: https://code.elgg.org/elgg/trunk@44 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-02-15Adding more plugin-related funben
git-svn-id: https://code.elgg.org/elgg/trunk@41 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-02-14A simple beginning to an install scriptben
git-svn-id: https://code.elgg.org/elgg/trunk@34 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-02-13Added more context to the database function notesben
git-svn-id: https://code.elgg.org/elgg/trunk@30 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-02-13Added some fancy database connection gubbins. If you give it loads of read ↵ben
or write dbs to pick from, Elgg will choose one at random for each category! git-svn-id: https://code.elgg.org/elgg/trunk@29 36083f99-b078-4883-b0ff-0f9b5a30f544