Doctrine Project

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Doctrine MongoDB ODM
  • Doctrine MongoDB ODM
  • MODM-54

New console commands

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Resolved 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

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • Source
Hide
Permalink
Bulat Shakirzyanov added a comment - 23/Aug/10 6:03 PM

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 - 23/Aug/10 6:03 PM 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
Permalink
Jonathan H. Wage added a comment - 24/Aug/10 11:38 AM

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

Show
Jonathan H. Wage added a comment - 24/Aug/10 11:38 AM Looks good. Once you implement the changes we discussed via jabber you can merge.
Hide
Permalink
Bulat Shakirzyanov added a comment - 24/Aug/10 11:58 AM

done

Show
Bulat Shakirzyanov added a comment - 24/Aug/10 11:58 AM done

People

  • Assignee:
    Bulat Shakirzyanov
    Reporter:
    Jonathan H. Wage
Vote (0)
Watch (0)

Dates

  • Created:
    19/Aug/10 2:31 PM
    Updated:
    24/Aug/10 11:58 AM
    Resolved:
    24/Aug/10 11:58 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Doctrine Project. Try JIRA - bug tracking software for your team.