-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
536e6a1
commit d26ad61
Showing
129 changed files
with
1,837 additions
and
2,269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 26 additions & 23 deletions
49
test/spec/client-side-encryption/etc/data/range-encryptedFields-Date.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDate", | ||
"bsonType": "date", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"path": "encryptedDate", | ||
"bsonType": "date", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$date": { | ||
"$numberLong": "0" | ||
} | ||
}, | ||
"max": { | ||
"$date": { | ||
"$numberLong": "200" | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$date": { | ||
"$numberLong": "0" | ||
} | ||
}, | ||
"max": { | ||
"$date": { | ||
"$numberLong": "200" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
36 changes: 19 additions & 17 deletions
36
test/spec/client-side-encryption/etc/data/range-encryptedFields-DecimalNoPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDecimalNoPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"path": "encryptedDecimalNoPrecision", | ||
"bsonType": "decimal", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberInt": "1" | ||
} | ||
"sparsity": { | ||
"$numberLong": "1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 19 additions & 17 deletions
36
test/spec/client-side-encryption/etc/data/range-encryptedFields-DoubleNoPrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDoubleNoPrecision", | ||
"bsonType": "double", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"path": "encryptedDoubleNoPrecision", | ||
"bsonType": "double", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
} | ||
"sparsity": { | ||
"$numberLong": "1" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
54 changes: 28 additions & 26 deletions
54
test/spec/client-side-encryption/etc/data/range-encryptedFields-DoublePrecision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedDoublePrecision", | ||
"bsonType": "double", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberDouble": "0.0" | ||
}, | ||
"max": { | ||
"$numberDouble": "200.0" | ||
}, | ||
"path": "encryptedDoublePrecision", | ||
"bsonType": "double", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberDouble": "0.0" | ||
}, | ||
"max": { | ||
"$numberDouble": "200.0" | ||
}, | ||
"precision": { | ||
"$numberInt": "2" | ||
} | ||
"precision": { | ||
"$numberInt": "2" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
48 changes: 25 additions & 23 deletions
48
test/spec/client-side-encryption/etc/data/range-encryptedFields-Int.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
"fields": [ | ||
{ | ||
"keyId": { | ||
"$binary": { | ||
"base64": "EjRWeBI0mHYSNBI0VniQEg==", | ||
"subType": "04" | ||
} | ||
}, | ||
"path": "encryptedInt", | ||
"bsonType": "int", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"contention": { | ||
"$numberLong": "0" | ||
}, | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberInt": "0" | ||
}, | ||
"path": "encryptedInt", | ||
"bsonType": "int", | ||
"queries": { | ||
"queryType": "rangePreview", | ||
"sparsity": { | ||
"$numberLong": "1" | ||
}, | ||
"min": { | ||
"$numberInt": "0" | ||
}, | ||
"max": { | ||
"$numberInt": "200" | ||
} | ||
"max": { | ||
"$numberInt": "200" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.