summaryrefslogtreecommitdiff
path: root/it_dbi.class
AgeCommit message (Collapse)AuthorFilesLines
2021-07-25Fix PHP 8.1 warningsChristian Schneider1-0/+6
2021-07-01add mintouched argument to delete_untouched to prevent deletes on importer ↵Urban Müller1-2/+7
problems
2021-03-01do not use mysql defaultconfig for it_dbi_postgres.classNathan Gass1-1/+1
2021-02-03Code cleanup: Switch to new style varargsChristian Schneider1-13/+5
2021-01-27add support for type specific escape functionsNathan Gass1-2/+24
2021-01-26Fix error suppression for safety => 0Christian Schneider1-1/+1
2021-01-25Fix generating errors on SQL syntax errors, add tests for itChristian Schneider1-3/+3
2021-01-15SQL_NO_CACHE is mysql specificNathan Gass1-1/+1
2021-01-13Update copyright dateChristian Schneider1-1/+1
2021-01-13Unified } else { missed in first iterationChristian Schneider1-1/+2
2021-01-13Unified join to always use implodeChristian Schneider1-5/+5
2021-01-13Unified brace and else if styleChristian Schneider1-5/+10
2021-01-13Fix caching problem by using it_dbi/it_dbi_postgres in key instead of table nameChristian Schneider1-4/+4
2021-01-07avoid warning when no cols foundUrban Müller1-1/+1
2021-01-06remove no longer necessary extra suffix argumentNathan Gass1-2/+2
2021-01-06add special handling of numeric keys to _set and _values consistent with _whereNathan Gass1-7/+21
2021-01-06Merge branch 'master' into ng/postgresqlNathan Gass1-26/+5
2021-01-05Remove 11 year old FIXME comment, code has been in use like that long enough :-)Christian Schneider1-1/+1
2021-01-05Remove support for obsolete _read_post_process/_write_pre_process, use ↵Christian Schneider1-24/+0
static _read_postprocess/_write_preprocess instead
2020-11-27log write throttlesUrban Müller1-0/+3
2020-09-03avoid forbidden syntaxNathan Gass1-1/+1
2020-09-03avoid arrow functions as we support php 7.0Nathan Gass1-9/+17
2020-09-03fix indentationNathan Gass1-3/+3
2020-09-03go back to $GLOBALS['it_dbi'] for backward compatibilityNathan Gass1-13/+13
2020-09-03escape uppercase field names for postgresqlNathan Gass1-0/+2
2020-09-03escape ID to avoid postgresql lowercasing itNathan Gass1-1/+1
2020-09-03make sure connection exists for escape_name same as escape_stringNathan Gass1-2/+12
2020-09-02extract mysql specific json code into overridable functionsNathan Gass1-11/+31
2020-09-01allow to add a suffix after INSERT (for ON FOO sql syntax)Nathan Gass1-2/+2
2020-09-01generate postgres compatible where statementsNathan Gass1-2/+2
2020-08-31add _escape_name as backticks are mysql specificNathan Gass1-2/+7
2020-08-31use insert values instead of mysql speficif insert setNathan Gass1-9/+35
2020-08-31use late static binding to enable subclassingNathan Gass1-27/+30
2020-08-28isolate mysql specific codeNathan Gass1-65/+119
2020-08-27use existing tables methodNathan Gass1-2/+1
2020-07-14document current behaviourUrban Müller1-0/+1
2020-07-01Preserve type when writing int to dyncolsChristian Schneider1-1/+3
2020-06-26Register fields added by _read_postprocess() so they get clear()edChristian Schneider1-0/+5
2020-06-26Leave _data unchanged by __read_postprocess as update() needs that and add ↵Christian Schneider1-1/+1
test for it
2020-06-25Streamline _read_postprocess: remove support for unset(), add support to ↵Christian Schneider1-14/+2
postprocess localized fields, conversion of fields (e.g. int fields) is now done after read_postprocess
2020-06-25Call old _read_post_process/_write_pre_process last to preserve old ↵Christian Schneider1-4/+3
semantics as they can have side-effects
2020-06-24Add static and pure replacements _read_postprocess/_write_preprocess for ↵Christian Schneider1-7/+44
deprecated _read_post_process/_write_pre_process
2020-06-02declare static func as suchUrban Müller1-1/+1
2020-05-06Use random_bytes() instead of uniqid() now that we require PHP 7.0 for itoolsChristian Schneider1-1/+1
2020-04-29Check fields used with NI for NULL first to take advantage of indicesChristian Schneider1-1/+1
2020-04-21accept LIMIT 0Urban Müller1-1/+1
2020-04-21dbi: improve docs, enable LIMIT => falseUrban Müller1-9/+12
2020-04-21support safe LIMITUrban Müller1-0/+4
2020-03-31return deleted ids in delete_untouched for triggersUrban Müller1-3/+3
2020-02-10return 0 for no modified records if query was optimized awayUrban Müller1-3/+3