com presentations: Mention that ObjectIds are immutable: slides/mongodb/id.xml
| From: | Derick Rethans | Date: | Sun, 17 May 2015 17:43:39 +0000 |
| Subject: | com presentations: Mention that ObjectIds are immutable: slides/mongodb/id.xml | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-2093@lists.php.net to get a copy of this message | ||
Commit: 977f856a9905874b8102a4c0ffeedbfcef86703e
Author: Jeremy Mikola <jmikola@gmail.com> Sun, 17 May 2015 12:43:39 -0500
Parents: a1eb30d719d49ab5fee8baf5cffabbdf1bff755e
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=977f856a9905874b8102a4c0ffeedbfcef86703e
Log:
Mention that ObjectIds are immutable
Also revises the composition description
Changed paths:
M slides/mongodb/id.xml
Diff:
diff --git a/slides/mongodb/id.xml b/slides/mongodb/id.xml
index 96d3882..ad71525 100644
--- a/slides/mongodb/id.xml
+++ b/slides/mongodb/id.xml
@@ -2,8 +2,8 @@
<title>IDs</title>
<list>
- <bullet>Every document needs a unique ID</bullet>
- <bullet>ID consists of: 4 bytes timestamp, 3 byte machine id, 2 bytes PID and 3 bytes
counter:<br/>%|994444|507e6384| |449944|44670a| |444499|3e6e| |999944|000000|%</bullet>
+ <bullet>Every document needs a unique, immutable ID</bullet>
+ <bullet>ID consists of: 4-byte timestamp, 3-byte machine identifier, 2-byte PID and 3-byte
counter:<br/>%|994444|507e6384| |449944|44670a| |444499|3e6e| |999944|000000|%</bullet>
</list>
<example result="1" stop="true"><![CDATA[<?php