Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-8240

Request: db_tools to have two additional functions, table list and column list

    Details

    • Type: New Feature
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.0.10-RC1
    • Labels:
      None
    • Environment:
      PHP Environment:
      Database:

      Description

      I think it would be great if we could get two extra functions in db_tools.

      One for listing all the tables in the database. I know this already exists in includes/functions_install.php, but would be better in db_tools IMO. I would also remove it from the 3.2.x functions_install.php, but not from 3.0.x to prevent breaking things with other mods that use it from there.

      One for listing all the columns in a table. The functionality is almost already there in db_tools in the sql_column_exists function. You'd just have to move the queries to a separate function and then could use that function in the sql_column_exists function.

        Activity

        Show
        nickvergessen Joas Schilling added a comment - See http://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=40045&start=5#post143345

          People

          • Assignee:
            bantu Andreas Fischer
            Reporter:
            EXreaction EXreaction [X] (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development