...

Text file src/go.mongodb.org/mongo-driver/testdata/client-side-encryption-prose/encrypted-fields.json

Documentation: go.mongodb.org/mongo-driver/testdata/client-side-encryption-prose

     1{
     2    "fields": [
     3        {
     4            "keyId": {
     5                "$binary": {
     6                    "base64": "EjRWeBI0mHYSNBI0VniQEg==",
     7                    "subType": "04"
     8                }
     9            },
    10            "path": "encryptedIndexed",
    11            "bsonType": "string",
    12            "queries": {
    13                "queryType": "equality",
    14                "contention": {
    15                    "$numberLong": "0"
    16                }
    17            }
    18        },
    19        {
    20            "keyId": {
    21                "$binary": {
    22                    "base64": "q83vqxI0mHYSNBI0VniQEg==",
    23                    "subType": "04"
    24                }
    25            },
    26            "path": "encryptedUnindexed",
    27            "bsonType": "string"
    28        }
    29    ]
    30}

View as plain text