Skip to content

Files

Latest commit

 

History

History
47 lines (33 loc) · 1.06 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.06 KB

repository-open-graph-template(3)(1)

About

PrismarineDB is a minecraft bedrock database designed to feel similar to something like mongoose. Instead of being a key-value database like most MCBE databases, it uses documents like what MongoDB does.

Usage

Creating a table

let table = prismarineDB.table("table")

Inserting a document

table.insertDocument({
  key1: "test"
})

Finding a document

  1. Find all documents matching a query
let document = table.findDocuments({
  key: "value"
})
  1. Find first document matching a query
let document = table.findFirst({
  key: "value"
})

Scripts using PrismarineDB

Note

This project is not in any way related to PrismarineJS. It just has a similar name