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
* const doc = new TestModel({ name: 'John Smith' });
959
+
*
960
+
* doc.$timestamps(); // true
961
+
*
962
+
* doc.$timestamps(false);
963
+
* await doc.save(); // Does **not** apply timestamps
964
+
*
965
+
* @param {Boolean} [value] overwrite the current session
966
+
* @return {Document|boolean|undefined} When used as a getter (no argument), a boolean will be returned indicating the timestamps option state or if unset "undefined" will be used, otherwise will return "this"
0 commit comments