diff --git a/src/change_stream.ts b/src/change_stream.ts index ad982424e4..ec1904ab32 100644 --- a/src/change_stream.ts +++ b/src/change_stream.ts @@ -406,10 +406,10 @@ export interface ChangeStreamCursorOptions extends AbstractCursorOptions { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; } diff --git a/src/cmap/connection.ts b/src/cmap/connection.ts index 1a23aeb3c8..4c3044c895 100644 --- a/src/cmap/connection.ts +++ b/src/cmap/connection.ts @@ -127,10 +127,10 @@ export interface GetMoreOptions extends CommandOptions { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; } diff --git a/src/cursor/abstract_cursor.ts b/src/cursor/abstract_cursor.ts index 4d92420678..58f900387f 100644 --- a/src/cursor/abstract_cursor.ts +++ b/src/cursor/abstract_cursor.ts @@ -80,10 +80,10 @@ export interface AbstractCursorOptions extends BSONSerializeOptions { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; tailable?: boolean; diff --git a/src/operations/aggregate.ts b/src/operations/aggregate.ts index 43a134920d..1311fe2b1a 100644 --- a/src/operations/aggregate.ts +++ b/src/operations/aggregate.ts @@ -34,10 +34,10 @@ export interface AggregateOptions extends CommandOperationOptions { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; diff --git a/src/operations/command.ts b/src/operations/command.ts index f5d4e0d044..f80ba26bf1 100644 --- a/src/operations/command.ts +++ b/src/operations/command.ts @@ -48,10 +48,10 @@ export interface CommandOperationOptions /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; /** Should retry failed writes */ diff --git a/src/operations/delete.ts b/src/operations/delete.ts index 9c10647b0d..d1ade9fe17 100644 --- a/src/operations/delete.ts +++ b/src/operations/delete.ts @@ -15,10 +15,10 @@ export interface DeleteOptions extends CommandOperationOptions, WriteConcernOpti /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; /** Specifies the collation to use for the operation */ @@ -53,10 +53,10 @@ export interface DeleteStatement { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; } diff --git a/src/operations/find.ts b/src/operations/find.ts index 7a32f79b50..52469346e5 100644 --- a/src/operations/find.ts +++ b/src/operations/find.ts @@ -49,10 +49,10 @@ export interface FindOptions extends Comman /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; /** Number of milliseconds to wait before aborting the query. */ diff --git a/src/operations/find_and_modify.ts b/src/operations/find_and_modify.ts index 6bb0923783..ebce5f5d63 100644 --- a/src/operations/find_and_modify.ts +++ b/src/operations/find_and_modify.ts @@ -85,10 +85,10 @@ interface FindAndModifyCmdBase { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; } diff --git a/src/operations/get_more.ts b/src/operations/get_more.ts index 10aa48b87f..102b58cc93 100644 --- a/src/operations/get_more.ts +++ b/src/operations/get_more.ts @@ -15,10 +15,10 @@ export interface GetMoreOptions extends OperationOptions { /** * Comment to apply to the operation. * - * In server versions <4.4, 'comment' must be string. A server + * In server versions pre-4.4, 'comment' must be string. A server * error will be thrown if any other type is provided. * - * In server versions >=4.4, 'comment' can be any valid BSON type. + * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: any; /** Number of milliseconds to wait before aborting the query. */