InceptionDB

Collections

  • 🔑 {{ collection.indexes }} 📃 {{ prettyTotal(collection.total) }}
    {{ collection.name }}

InceptionDB

community edition


A database based on journal to store JSON documents.

Motivation

InceptionDB was born to be the persistence layer of another project called Bitumen. Bitumen is a distributed NAS that should store family memories, pictures and videos that should last for 50 or 100 years.

One of the biggest motivations is the code should be simple and easy to maintain (yes, even the database itself) and also 100% free of license restrictions.

The second biggest motivation is to have fun and learn some things :D.

Contribute

InceptionDB is free software.

Here is the source: github.com/fulldump/inceptiondb

  • Use it in your project (as an independent process or embedded into your software)
  • Modify to cover your own needs
  • Learn how other software is built

Find documentation examples here: github.com/fulldump/inceptiondb/tree/master/doc/examples and in the book.

{{ collection_name }}

From (included)
"{{field}}"
To (excluded)
"{{field}}"
{{ find_btree.elapsed }}
Returned documents: {{ find.result.rows.length }} | Elapsed: {{ find.result.elapsed }}
{{ field }} { document }
{{ row[field] }} {{ row }}
loading...
{{ row }}
[{{client}}]
curl '{{base_url}}/v1/collections/{{collection_name}}:find' -d '{{ {mode:'fullscan', limit: full_scan.limit, skip: full_scan.skip, filter: JSON.parse(full_scan.filter) } }}'
fetch('{{base_url}}/v1/collections/{{collection_name}}:find', {method: 'POST'}) .then(response => response.json()) .then(data => console.log(data));
// No sample available at this moment You can contribute at https://github.com/fulldump/inceptiondb


Insert


[{{client}}]
curl {{base_url}}/v1/collections/{{collection_name}} -d '{{ JSON.parse(insert_item.request.payload) }}'
fetch('{{base_url}}/v1/collections/{{collection_name}}') .then(response => response.json()) .then(data => console.log(data));
// No sample available at this moment You can contribute at https://github.com/fulldump/inceptiondb
Select index see details
Field: {{ selected_index.field }}
Sparse: {{ selected_index.sparse }}
Find by field "{{selected_index.field}}"
Fields: {{ selected_index.fields }}
Sparse: {{ selected_index.sparse }}
Unique: {{ selected_index.unique }}
From (included)
{{field}}
To (excluded)
{{field}}
Reverse order
{{ find_btree.elapsed }}
{{ field }} { document }
{{ row[field] }} {{ row }}
{{ item }}


[{{client}}]
curl {{base_url}}/v1/collections/{{encodeURIComponent(collection_name)}}/index/{{encodeURIComponent(find_by_index)}}/findBy/{{encodeURIComponent(find_by_value)}}
fetch('{{base_url}}/v1/collections/{{encodeURIComponent(collection_name)}}/index/{{encodeURIComponent(find_by_index)}}/findBy/{{encodeURIComponent(find_by_value)}}') .then(response => response.json()) .then(data => console.log(data));
// No sample available at this moment You can contribute at https://github.com/fulldump/inceptiondb


Patch



[{{client}}]
curl {{base_url}}/v1/collections/{{encodeURIComponent(collection_name)}}:patch -X PATCH -d '{{ JSON.parse(this.item_patch) }}'
fetch('{{base_url}}/v1/collections/{{encodeURIComponent(collection_name)}}:patch', {{ {"method":"PATCH", "body":JSON.parse(this.item_patch)} }}) .then(response => response.json()) .then(data => console.log(data));
// No sample available at this moment You can contribute at https://github.com/fulldump/inceptiondb


Delete

Press this button to delete the item {{find_by_index}}="{{find_by_value}}"


[{{client}}]
curl {{base_url}}/v1/collections/{{encodeURIComponent(collection_name)}}/index/{{encodeURIComponent(find_by_index)}}/findBy/{{encodeURIComponent(find_by_value)}} -X DELETE
fetch('{{base_url}}/v1/collections/{{encodeURIComponent(collection_name)}}/index/{{encodeURIComponent(find_by_index)}}/findBy/{{encodeURIComponent(find_by_value)}}', {{ {"method":"DELETE"} }}) .then(response => response.json()) .then(data => console.log(data));
// No sample available at this moment You can contribute at https://github.com/fulldump/inceptiondb







Press the following button to drop the collection {{collection_name}}: