summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
AgeCommit message (Collapse)AuthorFilesLines
2012-01-09Fix error undefined variable query on count_all_results db active recordPurwandi1-3/+2
2012-01-08Swap two vars for readabilityAndrey Andreev1-1/+1
2012-01-08Improve database classesAndrey Andreev1-278/+126
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-28added query grouping to Active RecordWanWizard1-72/+186
this is a feature that has been lacking for a very long time. lots of people complained about it over the years, but it never got added so you'd have to resort to handcrafted queries when you needed this feature. This is a port of code from DataMapper, in use since CI 1.6.
2011-12-25Fixing soft tabs in a few files.Greg Aker1-1/+1
2011-12-22Adding $escape parameter to the order_by function, this enables ordering by ↵pporlan1-3/+7
custom fields
2011-12-20#798: update changelog and typo fixMancy1-1/+1
2011-12-20taking care of LIKE when used in UPDATE statement #798Mancy1-1/+1
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-10-14Merged with developmentKyle Farris1-4/+4
2011-09-28Fixing issue 465: select_max is adding prefix to table aliases when is not ↵Juan José González1-1/+1
necessary
2011-09-07Use NULL as the default value for offset in limit(x, offset) so that default ↵Phil Sturgeon1-2/+2
is not LIMIT 0.
2011-09-02fixes potential SQL injection vector in Active Record offset()kenjis1-1/+1
2011-08-31One more formatting fix.Kyle Farris1-5/+5
2011-08-31Merged changes with development.Kyle Farris1-4/+8
2011-08-31Fixed some items based on code comments by gaker.Kyle Farris1-47/+49
2011-08-26Small formatting fix.kylefarris1-1/+1
2011-08-26Added get_compiled_select(), get_compiled_insert(), get_compiled_update(), ↵Kyle Farris1-34/+223
get_compiled_delete(), and reset_query() methods. to the Active Record class.
2011-08-21Fix for issue #106Dan Montgomery1-1/+1
2011-08-21Added ability to _like paramater side to use 'none', in case one wants to ↵Nithin1-2/+6
query like instead of where without case being sensitive
2011-08-10Typecast limit and offset in the Database Driver to integers. Fixes ↵Phil Sturgeon1-2/+2
https://bitbucket.org/ellislab/codeigniter-reactor/issue/341/active-record-limit-function-have-sql#comment-597403
2011-08-10Fixed typo in ActiveRecord.Phil Sturgeon1-1/+1
2011-08-10Fixed a bug where using this->db->select_max(), this->db->select_min(), etc ↵Phil Sturgeon1-1/+2
could throw notices. Thanks to w43l for the patch.
2011-07-23Fixed having method to insert quotes.Adam Jackett1-1/+1
2011-07-15... set_dbprefix(). Programatically set the prefix, great for multi-site ↵Phil Sturgeon1-0/+15
systems that "namespace" with prefixes.
2011-07-15Was working on this file so PHP5ified the method visibility scopes. ↵Phil Sturgeon1-154/+106
Pointless, but was adding...
2011-07-02hand merged remaining unresolved files following the backout of ↵Derek Jones1-11/+15
648b42a75739, which was a NON-trivial whitespace commit
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-16/+16
broke the Typography class's string replacements, for instance
2011-05-06Fix #275 -- regression in db::_compile_select(). Thanks @patwork for the patchGreg Aker1-11/+15
2011-04-25Fixed double-space typo.Razican1-16/+16
2011-04-20Fixed a bug (Core #340) where when passing in the second parameter to ↵Greg Aker1-12/+8
$this->db->select(), column names in subsequent queries would not be properly escaped.
2011-03-22->db->count_all_results() will now return an integer instead of a string.Phil Sturgeon1-2/+2
2011-02-15Better potential fix for escaping MySQL keywords with backticks on ↵Phil Sturgeon1-2/+2
insert/update.
2011-02-14Whitespace cleanup in db classesPascal Kriete1-3/+3
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-189/+189
2010-09-16Added $ar_keys clearing out to _reset_write().Robin Sowell1-2/+4
2010-08-06Removing the following deprecated database methods: orwhere, orlike, ↵Greg Aker1-73/+1
groupby, orhaving, orderby, getwhere.
2010-03-11full on scaffolding removalDerek Jones1-2/+2
2010-03-03added batch insert/update and a replace method to active recordDerek Jones1-2/+325
2010-01-26Misspelled class property in db class. _like_escape_chr, not _like_escape_charGreg Aker1-1/+1
http://codeigniter.com/bug_tracker/bug/9518/
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-05-03bug fix and typo fixesDerek Allard1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2009-02-20added LIKE condition escaping to all drivers and Active RecordDerek Jones1-1/+7
updated all DB drivers to accept arrays in escape_str()
2009-02-03DB count_all() not returns an integer alwaysDerek Allard1-1/+1
Added some syntactical improvements within DB (braces) Fixed a bug when doing 'random' on order_by() (#5706). Fixed a bug where adding a primary key through Forge could fail (#5731). Fixed a bug when using DB cache on multiple databases (#5737).
2008-11-20Added where_in to the list of expected arguments received by delete()Derek Allard1-1/+1
2008-11-13Changing EOL style to LFDerek Allard1-1813/+1813