You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags. */
39
-
w?: W;
40
-
/** specify a time limit to prevent write operations from blocking indefinitely */
59
+
/** Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags. */
60
+
readonlyw?: W;
61
+
/** Request acknowledgment that the write operation has been written to the on-disk journal */
62
+
readonlyjournal?: boolean;
63
+
/** Specify a time limit to prevent write operations from blocking indefinitely */
64
+
readonlywtimeoutMS?: number;
65
+
/**
66
+
* Specify a time limit to prevent write operations from blocking indefinitely.
67
+
* @deprecated Will be removed in the next major version. Please use wtimeoutMS.
68
+
*/
41
69
wtimeout?: number;
42
-
/** request acknowledgment that the write operation has been written to the on-disk journal */
70
+
/**
71
+
* Request acknowledgment that the write operation has been written to the on-disk journal.
72
+
* @deprecated Will be removed in the next major version. Please use journal.
73
+
*/
43
74
j?: boolean;
44
-
/** equivalent to the j option */
75
+
/**
76
+
* Equivalent to the j option.
77
+
* @deprecated Will be removed in the next major version. Please use journal.
78
+
*/
45
79
fsync?: boolean|1;
46
80
47
81
/**
48
82
* Constructs a WriteConcern from the write concern properties.
49
83
* @param w - request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.
50
-
* @paramwtimeout - specify a time limit to prevent write operations from blocking indefinitely
51
-
* @paramj - request acknowledgment that the write operation has been written to the on-disk journal
52
-
* @param fsync - equivalent to the j option
84
+
* @paramwtimeoutMS - specify a time limit to prevent write operations from blocking indefinitely
85
+
* @paramjournal - request acknowledgment that the write operation has been written to the on-disk journal
86
+
* @param fsync - equivalent to the j option. Is deprecated and will be removed in the next major version.
0 commit comments