Doctrine DBAL
  1. Doctrine DBAL
  2. DBAL-79

Add Schema\Table::hasPrimaryKey method

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently the name of the primary key is internal to the Table instance so there is no way to check if the table has a primary key without getting all the indexes and iterating over them.

        Activity

        Hide
        Benjamin Eberlei added a comment -

        This is fixed in trunk.

        Show
        Benjamin Eberlei added a comment - This is fixed in trunk.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: