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 */
60
+
/** Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags. */
61
+
readonlyw?: W;
62
+
/** Request acknowledgment that the write operation has been written to the on-disk journal */
63
+
readonlyjournal?: boolean;
64
+
/** Specify a time limit to prevent write operations from blocking indefinitely */
65
+
readonlywtimeoutMS?: number;
66
+
/**
67
+
* Specify a time limit to prevent write operations from blocking indefinitely.
68
+
* @deprecated Will be removed in the next major version. Please use wtimeoutMS.
69
+
*/
41
70
wtimeout?: number;
42
-
/** request acknowledgment that the write operation has been written to the on-disk journal */
71
+
/**
72
+
* Request acknowledgment that the write operation has been written to the on-disk journal.
73
+
* @deprecated Will be removed in the next major version. Please use journal.
74
+
*/
43
75
j?: boolean;
44
-
/** equivalent to the j option */
76
+
/**
77
+
* Equivalent to the j option.
78
+
* @deprecated Will be removed in the next major version. Please use journal.
79
+
*/
45
80
fsync?: boolean|1;
46
81
47
82
/**
48
83
* Constructs a WriteConcern from the write concern properties.
49
84
* @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
85
+
* @paramwtimeoutMS - specify a time limit to prevent write operations from blocking indefinitely
86
+
* @paramjournal - request acknowledgment that the write operation has been written to the on-disk journal
0 commit comments