Skip to content

Commit 52eb62b

Browse files
authored
chore(NODE-4265): fle2 -> queryable encryption (#3263)
1 parent cd6b5a0 commit 52eb62b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/operations/create_collection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class CreateCollectionOperation extends CommandOperation<Collection> {
127127
db.s.client.options.autoEncryption?.encryptedFieldsMap?.[`${db.databaseName}.${name}`];
128128

129129
if (encryptedFields) {
130-
// Create auxilliary collections for FLE2 support.
130+
// Create auxilliary collections for queryable encryption support.
131131
const escCollection = encryptedFields.escCollection ?? `enxcol_.${name}.esc`;
132132
const eccCollection = encryptedFields.eccCollection ?? `enxcol_.${name}.ecc`;
133133
const ecocCollection = encryptedFields.ecocCollection ?? `enxcol_.${name}.ecoc`;
@@ -145,7 +145,7 @@ export class CreateCollectionOperation extends CommandOperation<Collection> {
145145
const coll = await this.executeWithoutEncryptedFieldsCheck(server, session);
146146

147147
if (encryptedFields) {
148-
// Create the required index for FLE2 support.
148+
// Create the required index for queryable encryption support.
149149
const createIndexOp = new CreateIndexOperation(db, name, { __safeContent__: 1 }, {});
150150
await new Promise<void>((resolve, reject) => {
151151
createIndexOp.execute(server, session, err => (err ? reject(err) : resolve()));

0 commit comments

Comments
 (0)