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.
let table = prismarineDB.table("table")
table.insertDocument({
key1: "test"
})
- Find all documents matching a query
let document = table.findDocuments({
key: "value"
})
- Find first document matching a query
let document = table.findFirst({
key: "value"
})
Note
This project is not in any way related to PrismarineJS. It just has a similar name