summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
AgeCommit message (Collapse)AuthorFilesLines
2011-08-21Merge commit 'v2.0.3' into workingFlorian Pritz1-166/+134
Conflicts: .gitignore application/views/welcome_message.php user_guide/changelog.html user_guide/database/active_record.html user_guide/database/caching.html user_guide/database/call_function.html user_guide/database/configuration.html user_guide/database/connecting.html user_guide/database/examples.html user_guide/database/fields.html user_guide/database/forge.html user_guide/database/helpers.html user_guide/database/index.html user_guide/database/queries.html user_guide/database/results.html user_guide/database/table_data.html user_guide/database/transactions.html user_guide/database/utilities.html user_guide/doc_style/index.html user_guide/general/alternative_php.html user_guide/general/ancillary_classes.html user_guide/general/autoloader.html user_guide/general/caching.html user_guide/general/cli.html user_guide/general/common_functions.html user_guide/general/controllers.html user_guide/general/core_classes.html user_guide/general/creating_drivers.html user_guide/general/creating_libraries.html user_guide/general/credits.html user_guide/general/drivers.html user_guide/general/environments.html user_guide/general/errors.html user_guide/general/helpers.html user_guide/general/hooks.html user_guide/general/libraries.html user_guide/general/managing_apps.html user_guide/general/models.html user_guide/general/profiling.html user_guide/general/quick_reference.html user_guide/general/requirements.html user_guide/general/reserved_names.html user_guide/general/routing.html user_guide/general/security.html user_guide/general/styleguide.html user_guide/general/urls.html user_guide/general/views.html user_guide/helpers/array_helper.html user_guide/helpers/captcha_helper.html user_guide/helpers/cookie_helper.html user_guide/helpers/date_helper.html user_guide/helpers/directory_helper.html user_guide/helpers/download_helper.html user_guide/helpers/email_helper.html user_guide/helpers/file_helper.html user_guide/helpers/form_helper.html user_guide/helpers/html_helper.html user_guide/helpers/inflector_helper.html user_guide/helpers/language_helper.html user_guide/helpers/number_helper.html user_guide/helpers/path_helper.html user_guide/helpers/security_helper.html user_guide/helpers/smiley_helper.html user_guide/helpers/string_helper.html user_guide/helpers/text_helper.html user_guide/helpers/typography_helper.html user_guide/helpers/url_helper.html user_guide/helpers/xml_helper.html user_guide/index.html user_guide/installation/downloads.html user_guide/installation/index.html user_guide/installation/troubleshooting.html user_guide/installation/upgrade_120.html user_guide/installation/upgrade_130.html user_guide/installation/upgrade_131.html user_guide/installation/upgrade_132.html user_guide/installation/upgrade_133.html user_guide/installation/upgrade_140.html user_guide/installation/upgrade_141.html user_guide/installation/upgrade_150.html user_guide/installation/upgrade_152.html user_guide/installation/upgrade_153.html user_guide/installation/upgrade_154.html user_guide/installation/upgrade_160.html user_guide/installation/upgrade_161.html user_guide/installation/upgrade_162.html user_guide/installation/upgrade_163.html user_guide/installation/upgrade_170.html user_guide/installation/upgrade_171.html user_guide/installation/upgrade_172.html user_guide/installation/upgrade_200.html user_guide/installation/upgrade_201.html user_guide/installation/upgrade_202.html user_guide/installation/upgrade_b11.html user_guide/installation/upgrading.html user_guide/libraries/benchmark.html user_guide/libraries/caching.html user_guide/libraries/calendar.html user_guide/libraries/cart.html user_guide/libraries/config.html user_guide/libraries/email.html user_guide/libraries/encryption.html user_guide/libraries/file_uploading.html user_guide/libraries/form_validation.html user_guide/libraries/ftp.html user_guide/libraries/image_lib.html user_guide/libraries/input.html user_guide/libraries/javascript.html user_guide/libraries/language.html user_guide/libraries/loader.html user_guide/libraries/output.html user_guide/libraries/pagination.html user_guide/libraries/parser.html user_guide/libraries/security.html user_guide/libraries/sessions.html user_guide/libraries/table.html user_guide/libraries/trackback.html user_guide/libraries/typography.html user_guide/libraries/unit_testing.html user_guide/libraries/uri.html user_guide/libraries/user_agent.html user_guide/libraries/xmlrpc.html user_guide/libraries/zip.html user_guide/license.html user_guide/nav/nav.js user_guide/overview/appflow.html user_guide/overview/at_a_glance.html user_guide/overview/cheatsheets.html user_guide/overview/features.html user_guide/overview/getting_started.html user_guide/overview/goals.html user_guide/overview/index.html user_guide/overview/mvc.html user_guide/toc.html Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-08-13Fixed conflict in changelog.Phil Sturgeon1-1/+2
2011-08-13Fixed having method to insert quotes.Adam Jackett1-1/+1
2011-08-13Fixed conflicted changelog.Phil Sturgeon1-0/+15
2011-08-13Was 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-16/+16
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-04-10update to CI 2.0.2Florian Pritz1-7/+7
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
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-28update to CI 2.0Florian Pritz1-225/+478
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-12-07update to CI 1.7.3Florian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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-02-06Initial commitFlorian Pritz1-0/+1820
Signed-off-by: Florian Pritz <bluewind@xssn.at>
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
2008-10-27Fixed order_by bug #5704Rick Ellis1-10/+54
2008-10-18Added AR caching features to update and delete functionsRick Ellis1-1/+7
2008-10-18Removed limit and order from the AR caching routine, as these are not supported.Rick Ellis1-35/+5
2008-10-18Oops! I missed resetting the cache array in the flush function in my last ↵Rick Ellis1-2/+3
commit.
2008-10-18Fixed an AR caching bug: 4995Rick Ellis1-9/+22
2008-10-18(no commit message)Rick Ellis1-7/+14
2008-10-17Fixed a number of bug reports related to table/db names not being escaped or ↵Rick Ellis1-268/+301
prefixed correctly.
2008-09-30Swiched to escape() rather then escape_str(), as per bug report #4680Rick Ellis1-2/+2
2008-09-30Added backticks around column names in where clause. Bug report number: 4668Rick Ellis1-1/+1
2008-09-30Did a little clean up. Nothing that affected functionalityRick Ellis1-2/+1
2008-09-13updated copyrightRick Ellis1-1/+1
2008-06-04whitespace, whitespace, schmeitespaceDerek Jones1-1/+1
2008-06-04compacting some whitespaceDerek Jones1-5/+1
2008-06-04bit of a code cleanupDerek Allard1-6/+5
2008-06-04change AR behaviour so that blank values result in empty quotesDerek Allard1-6/+4
2008-05-22Fixed a bug (#4561) where orhaving() wasn't properly passing values.Derek Allard1-2/+6
Removed some unused variables from the code (#4563). Fixed a bug where having() was not adding an = into the statement (#4568).
2008-05-18Moved the _has_operators() function into DB_driver from DB_active_rec.Derek Allard1-20/+0
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-29/+29
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace