title: Interacting with deepstream.io records server side
body: <p>I've been doing some reading up on <code>deepstream.io</code> and so far I've discovered the following:</p>
  <ol>
  <li><p><strike>All records are stored in the same table (<code>deepstream_records</code> by default)</strike></p>
  </li>
  <li><p>To interact with this data, the client <em>can</em> be used, both client side (browser) and server side (node), but <em>should</em> <strong>not</strong> be used on the server side (node).</p>
  </li>
  </ol>
  <p><strong>Questions:</strong></p>
  <ul>
  <li>How should I interact with records from the server side?</li>
  <li>Is there something stopping me from changing records in the database?
  <ul>
  <li>Would changes to records in the database update client subscriptions?</li>
  <li>Would this be considered bad practice?</li>
  </ul>
  </li>
  <li><strike>Why are all the records stored in the same table?</strike></li>
  </ul>
  Data example from RethinkDB:
  <pre><code>{
    &quot;_d&quot;: { },
    &quot;_v&quot;: 0,
    &quot;ds_id&quot;:  &quot;users/&quot;
  }, {
    &quot;_d&quot;: { },
    &quot;_v&quot;: 0,
    &quot;ds_id&quot;:  &quot;users/admin&quot;
  }
  </code></pre>