stoolap 0.4.0

High-performance embedded SQL database with MVCC, time-travel queries, and full ACID compliance
Documentation
---
layout: default
---

<article class="doc-article">
  {% if page.description %}
  <header class="doc-header">
    <p class="doc-description">{{ page.description }}</p>
  </header>
  {% endif %}

  <div class="doc-content">
    {{ content }}
  </div>

  {% if page.icon %}
  <template id="page-icon">{% include driver-icons.html icon=page.icon %}</template>
  <script>
  (function() {
    var t = document.getElementById('page-icon');
    var h = document.querySelector('.doc-content h1');
    if (t && h) {
      var icon = t.content.firstElementChild.cloneNode(true);
      icon.classList.add('doc-heading-icon');
      h.classList.add('doc-title-with-icon');
      h.prepend(icon);
    }
  })();
  </script>
  {% endif %}

  <footer class="doc-footer">
    {% comment %}
    Build prev/next navigation within the same category, sorted by order
    {% endcomment %}
    {% assign current_category = page.category %}
    {% assign category_docs = site.docs | where: "category", current_category | sort: "order" %}

    {% assign prev_doc = nil %}
    {% assign next_doc = nil %}
    {% assign found_current = false %}

    {% for doc in category_docs %}
      {% if found_current and next_doc == nil %}
        {% assign next_doc = doc %}
      {% endif %}
      {% if doc.url == page.url %}
        {% assign found_current = true %}
      {% endif %}
      {% if found_current == false %}
        {% assign prev_doc = doc %}
      {% endif %}
    {% endfor %}

    <nav class="doc-navigation" aria-label="Page navigation">
      {% if prev_doc %}
        <a href="{{ prev_doc.url | relative_url }}" class="prev-link">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true">
            <path d="M15.7071 4.29289C16.0976 4.68342 16.0976 5.31658 15.7071 5.70711L9.41421 12L15.7071 18.2929C16.0976 18.6834 16.0976 19.3166 15.7071 19.7071C15.3166 20.0976 14.6834 20.0976 14.2929 19.7071L7.29289 12.7071C6.90237 12.3166 6.90237 11.6834 7.29289 11.2929L14.2929 4.29289C14.6834 3.90237 15.3166 3.90237 15.7071 4.29289Z"></path>
          </svg>
          {{ prev_doc.title }}
        </a>
      {% endif %}

      {% if next_doc %}
        <a href="{{ next_doc.url | relative_url }}" class="next-link">
          {{ next_doc.title }}
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" aria-hidden="true">
            <path d="M8.29289 4.29289C7.90237 4.68342 7.90237 5.31658 8.29289 5.70711L14.5858 12L8.29289 18.2929C7.90237 18.6834 7.90237 19.3166 8.29289 19.7071C8.68342 20.0976 9.31658 20.0976 9.70711 19.7071L16.7071 12.7071C17.0976 12.3166 17.0976 11.6834 16.7071 11.2929L9.70711 4.29289C9.31658 3.90237 8.68342 3.90237 8.29289 4.29289Z"></path>
          </svg>
        </a>
      {% endif %}
    </nav>
  </footer>
</article>