1.4.0 • Published 3 years ago

ddbw v1.4.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

What is Da-xn Database Workspace DDBW?

Da-xn Database Workspace or DDBW for short is a brand new database system designed for simplicity as well as power and speed making it a great alternative for already existing database systems. We also even provide 24/7 support in our Discord Server!

How do I install DDBW?

Simply run the following NPM command:

npm install ddbw

And you are all set to use DDBW in all of your NodeJS applications!

What now?

Copy the code below and it will be explained.

const ddbw = require("DDBW");

ddbw.init();
ddbw.newDatabase("myDatabase");

var connection = new ddbw.Connection("myDatabase");

connection.newCollection("myCollection");

connection.createDoc("myCollection", "myDocument1", {
    name: "Da-xn",
    height: 6,
    age: 100,
});
  • The first line is just adding all of the functions to the file so you can use the functions down below such as ddbw.init();

  • ddbw.init(); This function will make DDBW add all of the required folders and files to store your data.

  • ddbw.newDatabase(String dbName); This function will create a database which will store different collections of data.

  • new ddbw.Connection(String dbName); This class will make a connection to the database so you will be able to insert collections into that database as well as documents for them collections.

  • connection.newCollection(String collectionName); This function will create a new collection which will store documents. For example a collection could be users, blog posts, courses etc.

  • connectionn.createDoc(String collectionName, String documentName); This function will create a new document which will contain key value pairs. Such as for a user document it could contain a username and a password. You can put anything you desire in the document key value pairs.

So... Pretty simple so far?

If you ever get stuck or want to learn more about the updates coming to DDBW or just have a chat then please do join our Discord Server. For more function and class references please make sure to check out the DDBW documentation here!

Latest Updates

v1.4.0:

  • Added findDoc() function to find documents by searching documents for where the key and value matches
  • Fixed some small bugs
  • Made more of the functions asynchronous

You can also check out the discord server for when updates drop as we will post the new versions and features as soon as we release them to you.

1.4.0

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago