Skip to content

Commit

Permalink
use locale when sharding collection
Browse files Browse the repository at this point in the history
  • Loading branch information
feliixx committed Apr 14, 2024
1 parent 92d7af9 commit c877469
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datagen/testdata/sharded-non_id.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"shardCollection": "mgodatagen_test.test_bson",
"key": {
"n": 1
},
"collation": {
"locale": "simple"
}
},
"content": {
Expand Down
3 changes: 3 additions & 0 deletions datagen/testdata/sharded_id.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"shardCollection": "mgodatagen_test.test_bson",
"key": {
"_id": "hashed"
},
"collation": {
"locale": "simple"
}
},
"content": {
Expand Down

0 comments on commit c877469

Please sign in to comment.