BHoM / BHoM/Mongo_Toolkit

Mongo_Toolkit: enable execution of all mongo methods

Open
#56 0 comments 0 reactions 1 assignee Claimed by @epignatelli View on GitHub
severity:medium size:M type:feature
Dominant language
C#
Stars
2
Forks
4
PR merge metrics
No merged PRs in 30d

Description

We currently force the use of the `aggregate` method, which is just a small part of the mongo methods collection. Enabling methods like `count`, `replace`, `update` would simplify things.

We can take two ways:
- Have another `Query` object, that specifies the command
- Use the `Execute` method in the bhom to send custom commands.

I lean towards the latter, as it is a more advanced feature, which could compromise the database.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.