Drivers
77 results found
-
Compressed Fields
When large JSON structures are being stored but don't need to be queryable it may be more performant to handle the compression at the field-level as opposed to the network level (similar to what is described in https://medium.com/idealo-tech-blog/advanced-mongodb-performance-tuning-2ddcd01a27d2).
This would isolate compression and decompression on the client side (unless network compression was used as well), however the compressed field would be persisted as-is (compressed) to the cluster.
5 votes -
Multiple collection ACID transactions
Currently we can update multiple documents with one query if all documents belong to the same collection as shown below;
dB.collection.bulkWrite([ query1, query2, query3, query4 ])
This feature is wonderful but it is paramount if mongodb can enable us to use this query or something similar to update multiple documents from different collections with the one query instead of having to send and await each query one at a time as is currently the case.
The truth is, mongodb only needs to enable this feature of being able to update multiple documents with one query from different collections and then…
1 vote -
Serve API endpoint for MongoDB Compatibility Matrix
This is a feature request for website API calls/endpoints to retrieve the MongoDB Compatibility matrix for each driver language. For example, NodeJS is located here in HTML format https://docs.mongodb.com/drivers/node/current/compatibility/
It would be helpful to have a programmatic endpoint for the same compat table results. This will help log parsers and aggregators to quickly identify applications and clients that are connecting to deployments with untested or incompatible client drivers.
1 vote -
official Dart driver
We use mongo in weebi Dart / Flutter application.
We would be eternally grateful if you could implement an official Dart Driver,
There is already an unofficial mongo dart repo :
https://github.com/mongo-dart
The specific feature we need is Ejson
https://github.com/mongo-dart/bson/issues/29Thank you for building a great tool
113 votesThank you for your feedback. We are currently considering this project. If you would like to add more specific feedback about your use case/needs, please reach out via email.
-
Estimated Filtered Count
Hi,
We are currently using a pattern where we use a find(query).limit(x) and a count(query) with $near to find x results and display the overall count. Using this pattern, we are able to pass the same query to find and count. However that count method was removed in SCALA-517 and replaced by estimatedDocumentCount and countDocuments. The problem is that countDocuments will not work with $near. There is a workaround to use $geowithin with $center/$centerSphere, however this doesn't return the results sorted as $near did. We would like to have the option to pass the same query to count as we…
10 votes -
Dynamic Configuration Changes for Connections
We would like to suggest a feature improvement where connection parameters can be dynamically changed so that no restart of client application infrastructure is needed.
Currently, when changing connection configuration, this usually requires the restart of a considerable number of pods or containers with the unavoidable consequence of a sudden surge in connection attempts.
Our request specifically would be to provide a way for drivers to read both connection string and connection parameters information from a source that can be easily managed and that's not necessarily embedded in the code, and
Drivers should also detect when this configuration has changed…
3 votes -
SnakeCaseElementNameConvention
Please add support for snake case convention. Snake Case is super popular with API designs.
https://mongodb.github.io/mongo-csharp-driver/2.13/reference/bson/mapping/conventions/
1 vote -
GeoNear support on C# driver
Would be great to have GeoNear support on csharp driver https://docs.mongodb.com/manual/reference/operator/aggregation/geoNear/
1 vote -
Support "default" keyword in MongoDB's implementation of JSON Schema
Without defaults, there is a need to iterate though each property just to check if a default value is needed (most probably this can be easily done on type check). Also without defaults we need to remember checking it both in inserts and updates (for example with $push operator)
1 vote -
Add some casting addon or function based on MongoDB's implementation of JSON Schema
Without casting addons, there is a need to iterate though each property just to check if this value needs some casting (most probably this can be easily done on type check). I´m having special troubles with Date type, as most of the time this type is send as an ISO string, but saved in the DB as a DATE
1 vote -
2 votes
-
Provide a direct download for current versions of driver files/dependencies on the official MongoDB sites
Note: This post was inspired by my attempts to find a direct download for the MongoDB Java driver, but I've left the category as "Unspecified" because it could apply to any driver download for which the official sites say to "Just use Maven/etc"
Right now the documentation for the MongoDB Java driver (https://mongodb.github.io/mongo-java-driver/4.2/driver/getting-started/installation/) indicates that "The recommended way to get started using one of the drivers in your project is with a dependency management system." However, as far as I could tell from my own research, the official MongoDB sites have no official direct download link for the…
1 vote -
Nearest read preference should take account of database load
I understand it only take account of network latency however this node can have high load and would give a poor response. Instead, I wished the driver would contact the more distant network latency node that has less CPU/memory load.
1 vote -
official Julia driver
Would love to see an official Julia driver.
4 votes -
Create an official Elixir driver
See https://github.com/elixir-lang/elixir and https://elixir-lang.org/
Thank you!7 votes -
BsonIgnoreIfEmpty - Property Attribute
Like BsonIgnoreIfDefault and BsonIgnoreIfNull, we can add BsonIgnoreIfEmpty.
It can be added on IEnumerables (which we basically know they cannot have infinite values since it is inserted to db after all..) and if the IEnumerable is empty, it wont serialize it to the db BUT will know to put default value (an empty list for example) in said property.They will decrease below boilerplate code for IEnumerable<T>:
Serialization:
Field = otherField?.count > 0 ? otherFIeld : null;Deserialization:
otherField = Field ?? new List<T>;Obviously, we can improve this code to also support Dictionary<Tkey, Tvalue>.
3 votes -
Support authentication credential rotation
MongoDB drivers should provide support for rotating authentication credentials:
- The customer may opt to rotate a specific credential (a password, client keytab, or a re-issued client certificate - when your private key will be the old one or a new one and the certificate will always be updated), or both the username and its credential
- drivers must support authentication hooks/override methods to handle custom logic. For example: when an external vault processes the password change, it will have a delay before the SCRAM / PLAIN password gets changed in the MongoDB Server / LDAP server. The customer-provided code will take…
2 votes -
Add support for directly marshaling arrays and slices to Extended JSON
The Extended JSON encoder does not support encoding arrays and slices by themselves. The decoder does support decoding JSON arrays into slices. Add support for encoding arrays and slices to a JSON array.
2 votes -
URI validation
I was building the URI in a spring configuration file as
spring.data.mongodb.uri=${MONGODB_URI}/test?retryWrites=true&w=majoritywhere MONGODB_URI came from a kubernetes secret (as it contains user & password)
somehow a new-line had slipped into the kubernetes secret, so the query was effectively asking for "fpos-dev-pl-1.kqybg.mongodb.net\n"
Besides learning how to correctly configure secrets, I learned in the process that neither Spring nor mongo was validating that spring.data.mongodb.uri was a well-formed URI and the application failed to start with error messages relating to not finding DNS and not being able to resolve the TXT record. This was very confusing.
The driver should accept a URI…
1 vote -
CSFLE - Encryption of fields within an Array Object instead of whole Array
CSFLE - Can you provide Encryption of fields within an Array Object as part of mongo-crypt library in the future releases. current library encrypts the whole array and we are not able to do queries within the Array object.
10 votes
- Don't see your idea?