Build a NoSQL database in Golang — 1
Jan 26, 2025
First, we can decide on the data model of the database we are building
We will go with a document based Database(and maybe a graph based schema to relate the various records?).
Then, there are two ways to approach this —
- Start by constructing the various operations
- Build out the querylang
Let us start by constructing the various operations.
The basic operatios we will need are
- write a JSON file
- read from a JSON file
- Modify a json file
- Modify the content
- Modify the number or type of attributes - Delete a JSON file