Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 9,762
  • Compare
  • Branches 2
  • Tags 28
  • knowledgetree
  • lib
  • database
  • dbutil.inc
10 Mar, 2006
1 commit
  • Add DBUtil::setupAdminDatabase, for upgrades and plugins to have access ...
    298fac00
    to the database with the ability to modify the database schema.
    
    (Administrators who don't want this to work should just not supply the
    admin details in their config file.)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5067 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2006-03-10 09:21:46 +0000  
    Browse File »

28 Feb, 2006
1 commit
  • Correct the copyright blocks. ...
    57954b82
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5026 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2006-02-28 16:51:11 +0000  
    Browse File »

24 Jan, 2006
1 commit
  • Only attempt to log queries if the queryLog is available. ...
    9aa9199e
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4666 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2006-01-24 09:32:07 +0000  
    Browse File »

20 Jan, 2006
1 commit
  • - massive document-legact reorg by nbm. ...
    ef588f52
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4622 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2006-01-20 15:37:15 +0000  
    Browse File »

30 Nov, 2005
1 commit
  • If we have no parameters in our array, return an empty string. ...
    73323115
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4263 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-11-30 11:37:23 +0000  
    Browse File »

04 Oct, 2005
1 commit
  • autoInsert can now optionally _not_ put in a unique ID into an insert. ...
    33ae1015
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3705 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-10-04 12:23:53 +0000  
    Browse File »

15 Sep, 2005
1 commit
  • Add startTransaction, rollback, and commit, and fix reference returns on ...
    eb662333
    some functions.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3587 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-09-15 09:51:25 +0000  
    Browse File »

21 Jul, 2005
1 commit
  • Add whereDelete, which works similarly to whereUpdate. Delete anything ...
    fbf61149
    in this table matching a where clause of the sort used in the
    autoInsert/autoUpdate/whereUpdate.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3415 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-07-21 14:49:20 +0000  
    Browse File »

25 May, 2005
1 commit
  • Deal with errors that might occur with nextID function from the database. ...
    4c2953ac
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3299 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-05-25 20:53:59 +0000  
    Browse File »

17 Jan, 2005
1 commit
  • Default db parameter to lastQuery method to null, like the rest. ...
    b35c8a29
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3178 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-17 10:21:19 +0000  
    Browse File »

10 Jan, 2005
1 commit
  • Correct misnamed return variable. ...
    a8876c3f
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3162 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-10 10:08:29 +0000  
    Browse File »

05 Jan, 2005
1 commit
  • Use the query log for queries (but not errors containing queries). ...
    5598af6d
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3111 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-05 10:51:24 +0000  
    Browse File »

04 Jan, 2005
1 commit
  • Lower queries and other flow logging to DEBUG level. ...
    a9cb1c3c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3104 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2005-01-04 11:19:58 +0000  
    Browse File »

22 Dec, 2004
1 commit
  • Add compactQuery, which turns multi-line queries into single-line ones, ...
    08707e23
    in case that's ever a problem (and to make the logs more log-like).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3068 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-22 08:24:50 +0000  
    Browse File »

20 Dec, 2004
1 commit
  • paramArray is useful when we have a variable-list sized IN (...) SQL ...
    b0977bca
    statement.
    
    escapeSimple allows legacy code to use the loaded database's
    escapeSimple until we can clean it up properly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3051 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-20 09:06:35 +0000  
    Browse File »

15 Dec, 2004
1 commit
  • Work for non-parameterised queries too! ...
    9ca33aba
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3045 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-15 11:20:43 +0000  
    Browse File »

03 Dec, 2004
1 commit
  • Add DBUtill::whereUpdate, acts like autoUpdate except you can pass your ...
    e2230aaf
    own where clause as dictionary (joined by AND)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3040 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-03 12:48:44 +0000  
    Browse File »

01 Dec, 2004
2 commits
  • Add autoUpdate and autoDelete as per autoInsert. ...
    01eed15c
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3031 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 21:22:28 +0000  
    Browse File »
  • Database access utility class to reduce code repetition and complexity ...
    4036b7c2
    and make it easier to make wide-spread changes in the database area.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3021 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2004-12-01 12:28:58 +0000  
    Browse File »