Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major 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
        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
        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
        Jonathan H. Wage added a comment -

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

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

        done

        Show
        Bulat Shakirzyanov added a comment - done

          People

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

            Dates

            • Created:
              Updated:
              Resolved: