stijnsanders / TMongoWire

Delphi MongoDB driver
MIT License
102 stars 37 forks source link

Creating Databases and Collections #51

Closed Skullwing closed 3 years ago

Skullwing commented 3 years ago

Hello! Is it possible to create databases and collections using this framework?

Thanks

stijnsanders commented 3 years ago

TMongoWire is not actually a 'full' MongoDB driver, and a number of things are only available of you make a call to $cmd yourself. Have a look at the existing $cmd calls, for example ping, and apply this to the create command.