Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

FAQ

lanwin edited this page · 11 revisions
Clone this wiki locally

Secure communication/connection

MongoDB currently dose not provide any way of dong this, so our driver also can not provide this feature.

An way to solve that could be to tunnel you connections via SSH or VPN

Why System.Decimal is not supported

MongoDB uses BSON to store its data. BSON currently dose not support Decimal values because there are a lot of languages that dose not support Decimal to (like Javascript which MongoDB uses internally).

You can solve that by:

  • Converting it to double
    • Pro: All database operators like $inc are working
    • Con: You lost precision
  • Converting it to MongoDB.Binary
    • Pro: You keep precision
    • Con: Database operators like $inc dose not work
  • Create a wrapper class which holds the spitted value
    • Pro: You keep precision
    • Pro: Other drivers can simply read the simple values
    • Con: Database operators like $inc dose not work
Something went wrong with that request. Please try again.