Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0BETA2
    • Component/s: None
    • Labels:
      None

      Description

      We need to add commands for creating and dropping document databases and collections. I added methods to DocumentManager for creating/dropping databases and collections for documents. We have the command for creating indexes, now we need the same for databases and collections.

      The reason is because you can specify configuration for the collection in the mapping that is used on collection creation:

      /** @Document(collection={"name"="collname", "capped"="true", "max"="10"}) */
      class Document
      {}
      

        Activity

        Hide
        avalanche123 Bulat Shakirzyanov added a comment -

        Jon, these are implemented here http://github.com/doctrine/mongodb-odm/tree/MODM-54, please comment with suggestions, or else I'll merge it in, thanks

        Show
        avalanche123 Bulat Shakirzyanov added a comment - Jon, these are implemented here http://github.com/doctrine/mongodb-odm/tree/MODM-54 , please comment with suggestions, or else I'll merge it in, thanks
        Hide
        jwage Jonathan H. Wage added a comment -

        Looks good. Once you implement the changes we discussed via jabber you can merge.

        Show
        jwage Jonathan H. Wage added a comment - Looks good. Once you implement the changes we discussed via jabber you can merge.
        Hide
        avalanche123 Bulat Shakirzyanov added a comment -

        done

        Show
        avalanche123 Bulat Shakirzyanov added a comment - done

          People

          • Assignee:
            avalanche123 Bulat Shakirzyanov
            Reporter:
            jwage Jonathan H. Wage
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: