A database based on journal to store JSON documents.
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.
InceptionDB is free software.
Here is the source: github.com/fulldump/inceptiondb
Find documentation examples here: github.com/fulldump/inceptiondb/tree/master/doc/examples and in the book.
{{ field }} | { document } |
---|---|
{{ row[field] }} | {{ row }} |
{{ row }} |
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
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
Reverse order |
{{ field }} | { document } |
---|---|
{{ row[field] }} | {{ row }} |
{{ item }}
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
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
{{find_by_index}}="{{find_by_value}}"
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
{{collection_name}}
: